Website PHP Tutorial
Template Website
Business Info
Blogger Templates
Free CSS Template
Online Tools
Do You Want to use our services or want to establish cooperation please contact us on whatsapp +6285244351343

Artikel Terbaru , 2020-02-29

Detected adblock and bypass for website

PenulisIndra Rani

Detected adblock and bypass for website

Detected adblock and bypass for website

Published : 2020-02-29 by Indra Rani | Website PHP Tutorial

Detected adblock and bypass for website

Sitemap Detected adblock and bypass for website

Hello . This time I will share some tips for friends who feel uncomfortable with the adblock plugin in the browser. Of course ? Your ad will definitely not appear if a user uses adblock. 

But can it? detect the adblock system, of course. because adblock is just an additional plugin in the browser that is useful for blocking all IPs in its database.

Step by step detected adblock and bypass for website

So the Adblock system will detect the URL that you are calling in your browser. You can see an example image below how adblock blocks ads on my website.


There is an error message that says Error and is blocked by the client (you). well here first I explain that adblock serves to block the URL of your ad site. 

So how do you detect whether he / your visitors use adblock or not. so we can simply call our ad URL using javascript that runs in the background of the browser. if the javascript that is being called is not a problem, then it is certain he doesn't use adblock.

But if the url being called displays an error message, then there is a possibility it uses adblock.

Download Code Detected Adblock on the browser

the following javascript code that I use. But before that, I want to tell if I use adsense ads, of course every website is different from its ads. so you only need to know the url javascript of your ad.

$(document).ready(function() { function detect() {
$.getScript( "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" )


function( script, textStatus ) {

console.log('Google Ads Is Active');



function( jqxhr, settings, exception ) {



}); } detect();


Then you can see the structure of my code if there is a response from the code "Failed / failed to load", then that is my yardstick that it is blocking my adsense ads. well maybe he uses adblock or other plugins 

Then you can give a command if the response from the code fails. as I do, I will hide my content and display the message that "Please Turn Off Your Adblock"

6 Latest articles

Update your latest information by increasing reading. Knowledge is not everything but everything requires knowledge