How to Stop Ad Blocker Detection on Websites

, Posted in Blog,
AdLock can bypass all adblocker detection scripts. Give it a shot!
Windows laptop with adlock
Try AdLock for free on your Windows device
If you face an anti-adblocker wall while using AdLock, inform us

When websites detect you’re using an ad-blocker, they execute anti-adblocking scripts. Those scripts freeze a page and display you a pop-up demanding to whitelist a website, ruin the way a page is displayed, and make it impossible to finish reading a post until you disable your ad-blocker. AdLock blocks URLs from which such scripts are downloaded deletes a warning anti-adblocker pop-up, and restores a web page to its original form.

But if a website uses an unknown anti-adblocking script, AdLock may fail to bypass it. In this case, you can do the following:

  1. Send us ( a link to a problematic webpage, and we will add a new rule to the AdLock’s settings;
  2. Bypass restriction on your own using the guide below.

How to Bypass Ad-blocker Detection?

Turn off JavaScript

It’s the shortest and the easiest way, but disabling JavaScript can break a website.

Google Chrome guide
To disable JavaScript on a website find and click a tiny grey lock next to a website’s URL in a browser’s search bar => choose Site Settings => JavaScript => Block

Opera browser guide
Same instructions as for Google Chrome except that lock is green.

Mozilla Firefox guide
In Mozilla you can’t configure JavaScript settings for a single site, changes will be applied to all web pages. We suggest you turn on JavaScript once you finished working with a problematic website.

To block JavaScript in a browser’s search bar enter about:config and click “I accept the risk!” button.

Through a searching bar find element javascript.enabled, right-click it, and choose “Toggle”. If it changed status to “modified” and value to “false”, you did everything right.

Microsoft Edge guide
This is a tricky one. You can’t change JavaScript settings in the browser. You can disable JavaScript only using the Local Group Policy Editor console:

  1. Press buttons “Win”+”R” and enter “gpedit.msc”;
  2. Expand the User Configuration folder;
  3. Expand the Administrative Templates folder;
  4. Expand the Windows Components folder;
  5. Expand the Microsoft Edge folder;
  6. Double-click Allows you to run scripts, like Javascript;
  7. Choose Disabled, and click OK to confirm.


Similar to Tampermonkey, the add-on called Greasemonkey helps to customize the web pages, run scripts, and remove elements using JavaScript. The only difference is that Greasemonkey was designed specifically for Mozilla Firefox. You can download the add-on from the official Firefox browser store for free and install it in a few seconds. 

Then, you would need an Anti-Adblock Killer script that can be downloaded from GitHub. Once installed, it prevents the websites from asking you to turn off your adblocker.

Finally, on the same GitHub page, you can hit Subscribe to add the list of filters to your ad blocking software automatically. In case this didn’t work, try to add the filters manually using this link.

Once Greasemonkey is enabled in your Firefox, the AAK script is installed and the list of its filters is added to your ad blocker, all the anti-adblocker walls should be gone from the web pages that you visit.

Edit the Script Using DevTools

This method won’t help you to freely surf the web without adblocker detection. But it is great if you only want to see one page in Chrome, and can be particularly useful when disabling JavaScript didn’t help to achieve this. 

Start by opening the desired page in your Google Chrome. Right-click anywhere on the page and select “Inspect”. 

Now as the new DevTools menu opened, scroll through the list of elements and hover your cursor over each HTML <div line. This would highlight the respective element on the page, whereas a banner, text block, image, or a message “Please, disable your ad blocker”. 

Once you manage to find the line corresponding to the anti-ad blocking window, right-click again and select “Hide element” or “Delete element” from the drop-down list. 

Go back to the page and check how it looks without an element that you just removed. The effect lasts until you exit or refresh this page, then the procedure has to be repeated.

Bypass Adblock Detection with CSS Manipulation

Inspect page element

When a website displays you an anti-adblocker warning which you can’t close, you can delete it from the page’s elements. This a short term solution that is on hand when you need content from a particular page.

Right-click the warning box and choose “Inspect” in the context menu. In the console find div class element responsible for showing you an anti-adblocking pop-up.

When you find a correct div class element, a pop-up box will be blue-lighted.

Right-click this div class and choose “Hide Element”. The warning box will disappear.

The changes won’t be permanent. Once you reload the page, it goes back to its original form.

Disable Anti-Adblock Wall via Userscript

Use Tampermonkey

Tampermonkey is a web browser add-on designed to manage and edit scripts. With its help, you can run scripts to fight-off anti-adblocking detection. Search for the add-on in your browser’s web store or download it from the original website then install it.

Next step would be downloading and installing the script itself. You can find it on OpenUserJS under “Anti-Adblock Killer script”. Once you click “Install” you will be redirected to Tampermonkey’s page. Simply click “Install” to give your consent to install the script.

The extension bar in your browser will indicate when the installation is over. Open the Tampermonkey menu, then select the “Dashboard” option.

Now, we want to import the filters list from the Reeks’s GitHub project section. Scroll through the page and find the “Subscribe” button, then click it to add the filters automatically.

When prompted to confirm adding the filters to your default adblocker, click OK. In case the automatic import didn’t work, on the same Reeks’s page, you can find a link to add manually.

Whitelist a problematic website

If you are a regular user of the particular website, you trust it, and it’s never disrespected you with redirects, full-page or auto-playing ads we suggest you whitelist it. It can feel like a defeat, but in the end, everybody wins. You continue browsing interesting content, and a website continues feeding its developers.
block ads youtube adlock

To whitelist a website, open the Settings tab in the application, click Add domain name, and type a URL in this format:

There are a couple more ways of disabling anti-adblocker scripts and we’d like to mention them as well.

Bypass Adblock Detection Using Incognito Mode

Incognito or private mode can be quite helpful when surfing the web. Luckily, most, if not all modern web browsers support this feature. Browsing incognito leaves no trace online whatsoever simply because after your visit no cookies are collected and no history is stored. Even with an adblocker turned on, private browsing prevents anti-adblocker walls from appearing on most websites. You just have to change the setting in your adblocking software letting it operate in Incognito mode as well:

  1. Click the menu button in Chrome (“⋮” in the top right);
  2. Navigate to More Tools > Extensions;
  3. In the new tab find the extension you want to enable while incognito;
  4. Click the “Allow in Incognito” button.

Read the Cached Version of the Page

Note that incognito/private mode with an adblocker may fail on some websites. There’s one more workaround accessing the webpage’s cached version. To view the cached page, search for it on Google, find the needed result in the list, and click the down arrow. Click “Cached” in the dropdown.

By doing so, you’ll get a screenshot of the page that isn’t dynamic but stays in the version from some given time. As you may have guessed, this method gives you a possibility to view the requested web page without scripts, trackers, and ads. The only downfall of this approach is that the cached version of the page may be irrelevant and the content outdated.

Brush off Scripts via Reading Mode

Reading mode is a convenient feature allowing you to get rid of JavaScript tools on the webpages focusing on content. This feature was first presented in Apple’s Safari, so if you’re a macOS/iOS/iPadOS user, you’ve got it on board. But if you’re a Google Chrome user, then you should get a Just Read extension. For Opera users, there’s a similar solution Reader View extension. Go ahead and check them out.


Well, you’ll never know until you try. All these methods except whitelisting may falter. If something didn’t work for you, let us know. Our developers will write a new anti-adblocking script to any page you send us. Enjoy free Internet!

AdLock can bypass all adblocker detection scripts. Give it a shot!
Windows laptop with adlock
Try AdLock for free on your Windows device
If you face an anti-adblocker wall while using AdLock, inform us