Adblock Bookmarklet

Ad block removes "java, flash, background music, and third-party iframes." Thus it does a handy job of blocking the ads on a webpage. who says only firefox addon block ads ? Chrome too has a Adblock type addon now!

Source (blogote.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%7Bfunction%20R%28w%29%7Btry%7Bvar%20d%3Dw.document%2Cj%2Ci%2Ct%2CT%2CN%2Cb%2Cr%3D1%2CC%3B%0D%0Afor%28j%3D0%3Bt%3D%5B%22object%22%2C%22embed%22%2C%22applet%22%2C%22iframe%22%5D%5Bj%5D%3B++j%29%7BT%3Dd.getElementsByTagName%28t%29%3B%0D%0Afor%28i%3DT.length-1%3B%0D%0A%28i+1%29%26%26%28N%3DT%5Bi%5D%29%3B--i%29if%28j%21%3D3%7C%7C%21R%28%28C%3DN.contentWindow%29%3FC%3AN.contentDocument.defaultView%29%29%7Bb%3Dd.createElement%28%22div%22%29%3B%0D%0Ab.style.width%3DN.width%3B%0D%0Ab.style.height%3DN.height%3Bb.innerHTML%3D%22%3Cdel%3E%22+%28j%3D%3D3%3F%22third-party%20%22+t%3At%29+%22%3C/del%3E%22%3B%0D%0AN.parentNode.replaceChild%28b%2CN%29%3B%7D%7D%7Dcatch%28E%29%7Br%3D0%7Dreturn%20r%7DR%28self%29%3Bvar%20i%2Cx%3Bfor%28i%3D0%3Bx%3Dframes%5Bi%5D%3B++i%29R%28x%29%7D%29%28%29


Rate it:


Tags:

Comments

Comments so far. Add yours.

Tom

Tested in Firefox, works great!


arrayben

very good


cal

Works well in Chrome.


ann

worked perfectly in chrome so far