by conesus · 12y ago · 0 comments
Doesn't even matter if they've told me if they have Adblock installed. I just assume if some random functionality is broken on my single-page site, it's Adblock's fault.
I suppose I should look for a way to identify if a user is using Adblock, though I bet they've made that as difficult as possible. And if I identify a user using Adblock, I should let them know it's the cause of any bugginess.
It's a really shitty game they are playing, because content providers can't win, but they can make the internet much worse.
I'll have to remember to disable it on newsblur.
Some sites I visit detect that I am running Adblock and ask me nicely to disable it because they rely on advertising for revenue. I'll try to post which sites do that and maybe you can work from there.
Maybe there should be an Internet Ads Protocol RFC or some HTTP header or I don't know, something anyway...
Haven't looked at that code in a while. It probably needs some updating, but the core idea is simple: create something that looks like an ad and then check if it's still visible.
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)