Remove iframes(ads) on bux sites

By marcin3k Last update Feb 5, 2008 — Installed 13,248 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 5 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Linear88 User

Best script ever!

 
JoeSimmons Scriptwright

You should use document.evaluate, it's faster.

var i, v = document.evaluate('//iframe',document,null,6,null);
  for(i=v.snapshotLength-1; i>=1; i--) {
    v.snapshotItem(i).parentNode.removeChild(v.snapshotItem(i));
}

 
mikeadver User

can some one tell me how to use this script. thnx (on e-mail mikeadver@gmail.com)

 
JoeSimmons Scriptwright

Love it

 
M0rph3u5 User

great script :) saves bandwith :P

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel