Posted by Robin Monks Fri 29th Sep 2006 16:37 - Syntax is JavaScript - 168 views
Download | New Post | Modify | Show line numbers
Description:
Script to submit spamcop submission (on the are you sure page) and to click the
spamcop "Unreported Spam: Report Now" link.

You can go though your entire spamcop unreported spam by clicking this
bookmarklet.

See also:
http://blog.coomanskristof.be/2006/07/06/spamcop-reporting-bookmarklet/

javascript:(function(){var forms=document.getElementsByName('sendreport');if(forms.length==1){forms[0].submit();}else{var x,n,nD,z,i; function htmlEscape(s){s=s.replace(/&/g,'&');s=s.replace(/>/g,'>');s=s.replace(/,'<');return s;} function attrQuoteEscape(s){s=s.replace(/&/g,'&'); s=s.replace(/"/g, '"');return s;} x='sc?id='; n=0; if(x!=null) { x=x.toLowerCase(); z = document.links; for (i = 0; i < z.length; ++i) { if ((z[i].innerHTML && z[i].innerHTML.toLowerCase().indexOf(x) != -1) || z[i].href.toLowerCase().indexOf(x) != -1 ) { location.href=attrQuoteEscape(z[i].href) } } }}})();

PermaLink to this entry https://pastebin.co.uk/2610
Posted by Robin Monks Fri 29th Sep 2006 16:37 - Syntax is JavaScript - 168 views
Download | New Post | Modify | Show line numbers