Changes

Jump to: navigation, search
Implementing Ad Reinsertion
When a page containing the above element is loaded into a browser in which an ad blocker is enabled, the Google ad tag will be blocked and no ad will appear. Since the id name assigned to the <div> tag is not contained in any ad blocker blacklists, the element will not be hidden by the ad blocker, thereby leaving it open for alternate content to be displayed.
Using the example ad block detection code outlined in the chapter entitled Basic [http://www.ebookfrenzy.com/AdBlocking/index.html Ad Blocker DetectionTechniques], code can be implemented to display a house advertisement promoting some other form of revenue generating product or service, or even a donation request. The following code, for example, shows a fragment of the ad blocker detection code from the Basic Ad Blocker Detection chapter, this time implemented to reinsert an ad in the mydiv element with an image promoting a T-Shirt hyperlinked directly to a page where a purchase can be made:
<pre>

Navigation menu