Experiment: Adblock detector

If a test is orange, the resource it tried to load got blocked by something


You probably have adblock enabled!

You aren't blocking ads! (Or your adblocker isn't effective.)

How does this work? I simply try to load a few resources with suspicious names. Most adblockers will be fooled by at least one of these. Each script only contains two lines of code that log to the console and tick off that they were loaded. You probably won't get much out of this unless you actually have an adblocker installed.

Fun fact, I need to call this experiment's Javascript file "data.js" because "adblock-detector.js" gets blocked. That took longer to figure out than I'd like to admit.

I have no plans to use this in my websites. I'd rather not deny people content simply because they have an adblocker.