Page 1 of 1

What does this code filter out?

Posted: Fri Feb 12, 2010 10:13 pm
by luntrus
Can random strings survive a round trip? How could this bug-code be used with NoScript?

Code: Select all

javascript:for(var link, i = 0; link = document.links[i]; ++i) { if
(link.href.match(/show_bug/) && (link.textContent.match(/round-trip/i) ||
link.textContent.match(/incorrect\sdecomp/i))) { var d = link.parentNode;
d.parentNode.removeChild(d); --i; } } void 0
luntrus

Re: What does this code filter out?

Posted: Fri Feb 12, 2010 10:32 pm
by Giorgio Maone
This seems to be a bookmarklet removing all the links to bug reports about "round-trip" or "incorrect decomp[ilation?]" from the page.
Nothing to be worried about.