Changes

Ad Blocker Detection Techniques

2 bytes added, 17:46, 3 May 2016
Testing the Detector
If you are using another content management system such as Joomla! or Drupal, refer to the documentation for steps on embedding JavaScript code into the web pages of your site.
Once the detector code has been added, open a browser in which an ad blocker extension is installed and display the JavaScript console using the steps outlined in the chapter entitled [[An Overview of Ad Blocking Technology|http://www.ebookfrenzy.com/AdBlocking/index.html]].
With the console displayed, load a web page containing the detector code while the ad blocker extension is disabled and verify that the “No Ad Blocker” message appears (keeping in mind that there will be a 2000 millisecond delay before the message appears). Enable the ad blocker, reload the page and check the console for the appearance of the “Ad Blocker Detected” message.