nowfound

Life & fun · February 10, 2016

Detect Adblock

Most effective - and free - way to detect ad blockers

Detect Adblock launched on February 10, 2016 with 6 votes. The site was still online in September 2026, 10 years on.

What it does

Detect Adblock is the easiest & most effective way for detecting visitors to your website who are using an adblocker. And best of all, it

When a browser requests a website address it downloads the corresponding HTML file which includes internal & external references to Javascript files, CSS stylesheets and images. If the browser has an ad blocker installed, it will compare the names of referenced scripts & files against a "block list" and if there are any matches those files will be ignored. All block lists include a reference to "adscontroller.js" because it's a common name for JavaScript files that are associated with serving ads. Knowing this, save the following JavaScript code which creates a hidden div to a file called "adscontroller.js" and place it in the root directory of your website. Note: the obscure div id is to…from detectadblock.com

Does a similar job

all alternatives →
  • Detect Adblock2016 · detectadblock.com · ▲6

    Detect Adblock is the easiest & most effective way for detecting visitors to your website who are using an adblocker. And best of all, it

  • DetectBlock - Advanced adblock detection2025 · ▲12

    An adblock detector with 99% accuracy, and top security

  • UBlock2014 · chromewebstore.google.com · ▲79

    Fastest Ads Blocker

  • UBlock2015 · chromewebstore.google.com · ▲129

    Fastest Ads Blocker

  • Optimal BLOCK2016 · optimal.com · ▲91

    Block ads and tracking across all mobile browsers and apps

  • Let's encourage ad blocking2016 · blockads.fivefilters.org · ▲92

    We check for and encourage the use of an ad blocker.

More life & fun this month

the category →

Source: Product Hunt launch ↗

Launched alongside, February 2016

the whole month →