Changes

Displaying Ad Blocker Removal Requests - A Tutorial

68 bytes removed, 20:00, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0">" to "<table border="0" cellspacing="0" width="100%">"
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[JavaScript Obfuscation and Ad Blocking Detection|Previous]]<td align="center">[[Ad Blocking Survival|Table of Contents]]<td width="20%" align="right">[[Controlling Ad Blocker Removal Request Frequency|Next]]</td>
The use of ad blocking has increased over the last few years because many people are tired of visiting websites that are overloaded with intrusive ads. Surveys suggest, however, that many people using ad blockers do not object to advertising appearing on websites as long as those ads do not adversely affect the web browsing experience. The problem for web publishers is that ad blocking technology does not distinguish between websites that use advertising responsibly and those that do not.
In the chapter entitled [http://www.ebookfrenzy.com/AdBlocking/index.html [Denying Website Access to Ad Blocking Visitors]], we will look at ways to prevent visitors to your site accessing page content until ad blocking is turned off. A more subtle, and often overlooked strategy for dealing with ad blocking, however, is simply to appeal to the better nature of your website visitors by politely asking them to disable ad blocking. In this chapter we will explore some of the ways to go about implementing such a strategy.
<htmlet>ab_survival</htmlet>
== Asking Politely ==
Though a variety of techniques are available for displaying a notification bar within a web page, this chapter will make use of the NavBar component from the Bootstrap JavaScript framework. This component provides a range of configuration options including positioning the bar at the top or bottom of the page, and the ability to fix the bar so that it remains visible during page scrolling.
This chapter assumes the implementation of some form of ad blocker detection such as those outlined in the chapter entitled [http://www.ebookfrenzy.com/AdBlocking/index.html [Ad Blocker Detection Techniques]]. The use of the Bootstrap framework requires that some items be imported into the web pages on which the notification is to appear, for example:
<pre>
<hr>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[JavaScript Obfuscation and Ad Blocking Detection|Previous]]<td align="center">[[Ad Blocking Survival|Table of Contents]]<td width="20%" align="right">[[Controlling Ad Blocker Removal Request Frequency|Next]]</td>