limited elements in screenshot of a webpage

hi, the screenshot is really convenient in store articles.

but take a look of the original files, all other unrelated files like website logo or even ads were included, this files dramatically increased the file size, is there a method to remove them?

or,
add a feature like this: we select useful words or figures and then click take the screenshot of current page, generate out only the selected part were extracted and stored.
  • thank you very much Tjowens, that helps
  • hi all,
    I wrote a perl script to do the job, it is easy and quick, I'd like to share it with others.
    under the folder of .../zotero/storage, create a file named clean.pl, paste the following script in to the clean.pl and save it. Then type "perl clean.pl", you will get all you world clean.

    Do not worry about the figures in the webpage, most of them are *.fcgi format which is not include in to be delete list.
    You can simply delete some other format by add element in @format.
    The script only tested in Linux, it should be work in Mac or Windows with the help of active perl.
    =============================================================
    #! /usr/bin/perl -w
    #>>>>>>>>>>>>>>>>>>>>>>>>>>INTRODUCTION<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    #===========The clean.pl was used to rm unnecessary files for zotero storagy
    #===========Usage: perl clean.pl
    #>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>END<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
    use warnings;
    use strict;
    my @folders=glob("*");
    my $folder;
    my @format=("*.css","*.js","*.gif","*.cur","*.png","*.jpg","15679","16134","16133","17684","18181","db_logo_pubmed");
    foreach (@folders){
    $folder=$_;
    foreach (@format){
    system "rm ./$folder/$_";
    }
    }
    ===============================================================
Sign In or Register to comment.