web3rover / Adblock-Detector

Detects if Adblock is blocking ads or not.
4 stars 0 forks source link

Should the iframe source be changed? #1

Closed mizterp closed 10 years ago

mizterp commented 10 years ago

Your script seems to be working very well thanks!

Just wanted to mention that changing the following: iframe.src = "http://qnimate.com/ads.html";

...to this: iframe.src = "//pagead2.googlesyndication.com/pagead/show_ads.js";

seems to work just fine too :)

web3rover commented 10 years ago

Adblock looks for keywords in the url. Therfore it should work this way also,

mizterp commented 10 years ago

Finally went with https://github.com/sitexw/FuckAdBlock Thanks!