in reply to Parsing content found in onClick and window.open Javascript calls

Nice tips. :)

Treat it as plain text and use URI::Find?

Don't forget that one of the tricks they use is to make the JS hard to see so that filters/blockers won't catch them trying to put your browser into a circle-jerk. So you might, if you're being *thorough* have to do something crazy like (very unrefined)-

my $esc = qr/[\\'," ]/; m,w(?:$esc)*i(?:$esc)*n(?:$esc)*d(?:$esc)*o(?:$esc)*w(?:$esc)*\.(?:$es +c)*o(?:$esc)*p(?:$esc)*e(?:$esc)*n(?:$esc)*\. ET CETERA,;
  • Comment on Re: Parsing content found in onClick and window.open Javascript calls
  • Download Code