Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

EDIT: I think it just needed the name of the dummy ad updated. Try it now: http://esd.io/blog/detecting-adblock-javascript.html

I specifically wanted a self-contained solution, but assuming your site has ads in the first place, a better approach would be to see if your actual ads are loading on the page or not. http://www.Fark.com/ does this (load the page with adblock and then wait a few seconds)



Still fails.


Huh, works with AdBlock Edge. I'll take a look tonight. Are you subscribed to the standard EasyList filter?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: