Skip to content

Instantly share code, notes, and snippets.

@gaby-de-wilde
Last active September 26, 2015 04:47
Show Gist options
  • Save gaby-de-wilde/1041676 to your computer and use it in GitHub Desktop.
Save gaby-de-wilde/1041676 to your computer and use it in GitHub Desktop.
Bookmarklet: purge - disarms all instances of applet, embed, iframe, object, setTimeout and setInterval
javascript:for(o=0;o<100;o++){clearTimeout(o);clearInterval(o)};it=function(q){return(document.getElementsByTagName(q))};x=it('object');for(z in x){x[z].archive="";x[z].codebase="";x[z].data=""};x=it('iframe');for(z in x){x[z].src="";}x=it('embed');for(z in x){x[z].src="";};x=it('applet');for(z in x){x[z].code="";x[z].archive="";x[z].codebase="";};void(0);
@gaby-de-wilde
Copy link
Author

success stories: "I ran that code and my browser deleted itself"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment