Skip to main content
2 of 3
added 10 characters in body
John Dvorak
  • 9.3k
  • 3
  • 30
  • 52

###Javascript, 281

javascript:$('body').html().split('<code>javascript:').forEach(function (a) {if (a.indexOf("location")*a.indexOf("write")*a.indexOf("noscript")==-1) try{exec(a.split("</code>")[0].replace(/&#(\d+)/g, function(match, dec) {return String.fromCharCode(dec);}))} catch (e) {}});void 0;

It gets every response to the question in the form of <code>javascript:(stuff)</code> that doesn't change the location, and runs all of them.

kuilin
  • 421
  • 3
  • 8