AntiAdBlock.Core

Anti-adblock script

The anti-adblock script that recovers your ad revenue

One script tag detects the visitors blocking your ads and asks them to allow them, so the impressions you were losing start earning again. Works on any site, installs in about a minute, and you can try it free.

One script tag Free up to 10,000 detections/mo No tracking cookies, GDPR-safe

What our anti-adblock script does

One tag, any site

A single async script in your <head> is the whole install. No plugin, no server code, no build step. WordPress, Blogger, Webflow, Shopify, Ghost, Next.js or plain HTML: if you can add a tag, you can run it.

Catches the blockers a free script misses

A copy-paste snippet from GitHub detects the old extensions and little else. Our script is a maintained, multi-signal detector that keeps catching Chrome Manifest V3, uBlock Origin Lite, Brave Shields, AdBlock Plus, AdGuard and more, with 99.7% precision and strong false-positive guards.

Recover, do not just detect

When a blocker is found, the script shows a calm, on-brand message asking the visitor to allow ads. A polite prompt wins a large share back, and the live dashboard shows your real recovery rate and the revenue it returns.

No tracking, GDPR-safe

No tracking cookies, no fingerprinting, no visitor identifiers: our statistics keep only daily aggregate counts. It loads async and never blocks your page from rendering.

How to add the anti-adblock script

  1. 01

    Sign up free

    Create your account, add your domain and verify it with a meta tag or a small file. Under a minute.

  2. 02

    Paste one script tag

    Copy the async tag your dashboard generates and paste it into your site's <head>, or drop it in through your tag manager.

  3. 03

    Measure and recover

    Detection starts on the next page view. Watch your ad-block rate, turn on the recovery message, and see how much revenue comes back.

More than one script, more than one way to use it

The tag is the same. What you do with the detection is up to you, and we build the setup with you when your site needs something specific.

Recovery script

The default. Detect the blocker and show a calm, on-brand message that asks the visitor to allow ads. Best for standard content pages.

Start free

Detection API

Pure detection, no overlay. The script reports the result to your own page, signed so it cannot be faked, and you decide what to do: your own message, a limit, a login, or different ads. Ideal for download pages, apps and custom flows.

See the Detection API

First-party delivery

Serve the script and its calls from your own domain, so blockers that filter by hostname cannot cut it off. Higher detection on the hardest audiences.

Ask about first-party

Custom solutions

An unusual stack, a paywall, a very large site or a special flow? We build the integration with you so it fits how your business actually works.

Talk to us

Add the script to any platform

The same tag works everywhere, including Blogger and WordPress. No platform lock-in.

WordPress
Blogger
Webflow
Ghost
Shopify
Wix
Next.js
Custom HTML

Running a media or content site? See the publisher guide

Comparing options first? Compare anti-adblock tools

Anti-adblock script FAQ

What is an anti-adblock script?

It is a small piece of JavaScript you add to your site. It detects, in the visitor's browser, whether an ad blocker is hiding your ads, and then reacts, usually by showing a message that asks the visitor to allow ads so they can keep browsing. It does not serve ads itself; it sits next to your existing ad setup and recovers the impressions blockers were costing you.

Is there a free anti-adblock script?

Yes. AntiAdBlock Core is free up to 10,000 detections per month, permanently, with no card required. You get the full detector and the recovery message on the free tier, which is enough to measure your real ad-block rate before paying anything. Free copy-paste scripts from GitHub exist too, but they detect a shrinking share of blockers and go stale silently as filter lists update.

Does the script work on Chrome and uBlock Origin Lite (Manifest V3)?

Yes. Manifest V3 blockers like uBlock Origin Lite block at the network layer and leave almost none of the signals a classic bait script looks for, so most old scripts miss them. Our script reads the signals that survive MV3 and keeps detecting uBlock Origin Lite, along with Brave Shields, across Chrome, Edge, Firefox and Safari.

Can I add it to Blogger or WordPress?

Yes. On Blogger you paste the tag into the theme HTML before </head>; on WordPress you use your theme's header, a headers plugin, or a tag manager. Anywhere you can add a script tag to the page head, the script runs, and it is domain-locked so it only works on the site you registered.

Why not just copy a free script from GitHub?

A public, copy-paste script has a fixed signature, so filter-list maintainers add a rule and it stops detecting anything, usually without a single visible error. Keeping a homemade detector accurate means tracking daily filter-list changes and every browser update yourself. Our script moves that maintenance to us: one line of code, kept current for you.

Will the script slow down my site?

No. It loads asynchronously, so it never blocks your page from rendering, and it runs after the content is on screen. It adds no measurable weight to your core content and ignores crawlers by default.

Try the anti-adblock script on your own traffic

Add one tag, see your real ad-block rate in minutes, and start recovering the revenue you are losing. Free to start.

Get the script free