Adblocker installed in chrome is blocking all the javascript files which has 'Ads' word in its name.Is there a ways to check if the user is using an adblocker for his browser and alert him to disable adblocker inorder to view the page
Asked
Active
Viewed 819 times
1
-
possible duplicate of [How to detect Adblock on my website?](http://stackoverflow.com/questions/4869154/how-to-detect-adblock-on-my-website) – reto Mar 18 '14 at 08:06
-
1no i checked that question before posting this – neel shah Mar 18 '14 at 08:07
1 Answers
0
This is not bullet proof - but upon document ready, you could check for a variable that is defined in the *ads*.js
file. If it is not defined, the file was not loaded, thus potentially blocked by an ad blocker.

UweB
- 4,080
- 2
- 16
- 28
-
1is there any method to do it with using a global variables because many javascript files contains the word ads – neel shah Mar 18 '14 at 08:10