Basically Adblocker is used to hide the ads in the website.
We can find adblocker existed / installed or not by using javascript.

Below is the code for detect adblocker in browser by using javascript.

window.onload = function() {
setTimeout(function() {
if (typeof(window.google_jobrunner) === "undefined") {
alert("adblocker is existed");
}else{
alert("no adblocker found.");
}
}, 3000);
};



You might also like:


How to use http-post request in node js
How to make an http request in node js
Get previous date from given date in javascript
Change datepicker display format
Get random strings from given string In javascript


Click Here to get more examples.