Ad blocking: Difference between revisions
No edit summary |
|||
Line 39: | Line 39: | ||
This method exploits the fact that most operating systems store a file with IP address, domain name pairs which is consulted by most browsers before using a DNS server to look up a domain name. By assigning the [[loopback address]] to each known [[ad server]], the user directs traffic intended to reach each [[ad server]] to the local machine. Running a suitable web server locally the ad content can be replaced with anything the user wishes. |
This method exploits the fact that most operating systems store a file with IP address, domain name pairs which is consulted by most browsers before using a DNS server to look up a domain name. By assigning the [[loopback address]] to each known [[ad server]], the user directs traffic intended to reach each [[ad server]] to the local machine. Running a suitable web server locally the ad content can be replaced with anything the user wishes. |
||
==DNS Cache== |
|||
This method operates by filtering and changing records of a DNS cache. On most operating systems the domain name resolution always goes via DNS cache. By changing records within the cache or preventing records from entering the cache, programs are allowed or prevented from accessing domain names. The external programs like |
|||
[[Portable DNS Cache and Firewall]] <ref>[http://www.verigio.com/products/portable-dns-cache/ http://www.verigio.com/products/portable-dns-cache/]</ref> monitor internal DNS cache and import DNS records from a file. As a part of the domain name resolution process, a DNS cache lookup is performed before contacting a DNS server. Thus its records take precedence over DNS server queries. Unlike the method of modifying a Hosts file, this method is more flexible as it uses more comprehensive data available from DNS cache records. |
|||
==DNS Filtering== |
==DNS Filtering== |
Revision as of 20:04, 26 May 2012
Ad filtering or ad blocking is removing or altering advertising content in a webpage. Advertising can exist in a variety of forms including pictures, animations, embedded audio and video, text, or pop-up windows. Very often it employs autoplay of audio and video. It is a known problem with most web browsers, including Firefox, that restoring sessions often plays multiple embedded ads at once.[1] All browsers offer some solution to the problem, either by targetting technologies (Flash/Shockwave, Window Media files, etc.) that are used to deliver ads, targetting URLs that are the source of ads, or targetting behaviour characteristic of ads (such as the use of HTML5 autoplay of both audio and video).
Filtering methods
An extremely common method of filtering is simply to block (or prevent autoplay of) Flash animation or image loading or Windows audio and video files. This can be done in most browsers easily. See browser integration below. This crude technological method is refined by numerous browser extensions. See Firefox, Safari, Internet Explorer, Opera, Chrome for details specific to each. In general one alters the options, preferences or application extensions to filter specific media types, but an additional add-on is required to differentiate between ads and non-ads using the same technology, or between wanted and unwanted ads or behaviors.
The more advanced filters allow fine-grained control of advertisements through features such as blacklists, whitelists, and regular expression filters. Certain security features also have the effect of disabling some ads. Some antivirus software can act as ad blocker, including some freeware such as Avast.[citation needed]
Ironically, some of this freeware itself runs ads, and instructions on how to block those are common on the web. For instance, Avast's ads to upgrade itself to the paid version which are easily disabled [2][3]
Filtering by intermediaries such as providers or national governments is increasingly common. See below especially re provider ad substitution and national root DNS.
Benefits of ad filtering
To users, the benefits of ad blocking include quicker loading and cleaner looking Web pages free from advertisements, lower resource waste (bandwidth, CPU, memory, etc.), and privacy benefits gained through the exclusion of the tracking and profiling systems of ad delivery platforms.
Users who pay for total transferred bandwidth ("capped" or pay-for-usage connections) including most mobile users worldwide, have a direct financial benefit from filtering an ad before it is loaded. Streaming audio and video, even if they are not presented to the user interface, can rapidly consume gigabytes of transfer especially on a faster 4G connection. In Canada, where users without a data plan often pay C$0.50/megabyte ($500/gigabyte) for at least the first 50-100MB exceeding their data allowance, the cost of tolerating ads can be intolerable. Even fixed connections are often subject to usage limits, especially the faster connections (100mbps and up) which can quickly saturate a network if filled by streaming media. The extent of unlimited bandwidth plans is often grossly over-estimated by US and European users and advertisers. This problem affects other countries, especially those with bandwidth limitations on their global Internet connections, or those that have poor regulatory or effective monopoly providers.
To advertisers, the benefits include not angering or annoying users into blocking, defaming or boycotting their products or websites. Few advertisers actually intend to anger end users. Very sophisticated filtering and anti-spam techniques can involve active defenses which can shut down an advertiser's domains or brokers, ban them from searches or target them for other countermeasures. Some countries have even considered banning the use of certain ports, e.g. South Korea's proposed ban on port 25 used by SMTP.[4] Future countermeasures would be likely to include bans on ads South Koreans are unlikely to want or even ad brokering services. Ad substituting is also a legal and common practice already, for instance in Canadian cable TV where regulations permit showing a Canadian channel with Canadian ads instead of a US channel with US ads, where both are broadcasting the show simultaneously - this practice has spread to the web with some cable Internet providers uniformly substituting foreign ads, for local ones for which they receive a share of the revenue. Avoiding national, provider or technological interference with their ads is a priority for advertisers and especially brokers of advertising, to whom it could be fatal.
Economic consequences for online business
One consequence of widespread ad blocking is decreased revenue to a website sustained by advertisements.[5] where this blocking can be detected.
A number of website operators, who use online advertisements to fund the hosting of their websites, argue that the use of ad-blocking software risks cutting off their revenue stream. While some websites have successfully implemented subscription and membership based systems for revenue, the majority of websites today rely on online advertising to function.
Advertiser offensive countermeasures and justifications
Some websites have taken counter-measures against ad-blocking software, such as attempting to detect the presence of ad blockers and informing users of their views, or outright preventing users from accessing the content unless they disable the ad-blocking software. There have been several arguments supporting[6] and opposing[7] the assertion that blocking ads is wrong.[8]
Regardless of the morality of the matter, image loading and audio/video loading has always been under the direct control of the browser since the early days of the web. No advertiser can argue reasonably that they expected unfettered access to user ears and eyes when they chose to advertise on the web and the technology will not disappear nor be restricted legally in any developed country. Accordingly ad filtering will likely remain an arms race situation resolved by technological rather than legal supremacy.
Browser integration
Almost all modern web browsers block unsolicited pop-up ads by default. Opera, Konqueror, Maxthon 2, and Internet Explorer 8[9] also include content filtering, which prevents external files such as images or JavaScript files from loading. Content filtering can be added to Mozilla Firefox and related browsers with Adblock Plus, and a number of sources provide regularly updated filter lists. For Internet Explorer there are several add-ons available like Simple Adblock, IE7Pro, Adblock Pro and Quero that also allows users to temporarily unblock blocked content. A rudimentary content blocking feature is integrated in Opera and does not require an add-on. For Google Chrome, which has had extensions available since v2.0, the AdSweep and FlashBlock extensions are available, as well as AdBlock Plus and AdBlockforChrome. Another method for filtering advertisements uses CSS rules to hide specific HTML and XHTML elements.
External programs
A number of external applications offer ad filtering as a primary or additional feature. A traditional solution is to customize an HTTP proxy (or web proxy) to filter content. These programs work by caching and filtering content before it is displayed in a user's browser. This provides an opportunity to remove not only ads but also content which may be offensive, inappropriate, or simply junk. Popular proxy software which blocks content effectively include AdGuard, Privoxy, Squid, Proximodo, Adextinguisher, Ad Muncher, Death 2 Ads, Guidescope and Proxomitron. The main advantage of the method is freedom from implementation limitations (browser, working techniques) and centralization of control (the proxy can be used by many users). The major drawback is that the proxy sees only raw content and thus it's difficult to handle JavaScript-generated content.
Hosts file
Further information: hosts file.
This method exploits the fact that most operating systems store a file with IP address, domain name pairs which is consulted by most browsers before using a DNS server to look up a domain name. By assigning the loopback address to each known ad server, the user directs traffic intended to reach each ad server to the local machine. Running a suitable web server locally the ad content can be replaced with anything the user wishes.
DNS Cache
This method operates by filtering and changing records of a DNS cache. On most operating systems the domain name resolution always goes via DNS cache. By changing records within the cache or preventing records from entering the cache, programs are allowed or prevented from accessing domain names. The external programs like Portable DNS Cache and Firewall [10] monitor internal DNS cache and import DNS records from a file. As a part of the domain name resolution process, a DNS cache lookup is performed before contacting a DNS server. Thus its records take precedence over DNS server queries. Unlike the method of modifying a Hosts file, this method is more flexible as it uses more comprehensive data available from DNS cache records.
DNS Filtering
Advertising can be blocked by using a DNS server which is configured to block access to domains or hostnames which are known to serve ads.
Morally, while some argue that domain name holders are owners of property (and have been found to have such rights in most developed countries), it has also been one of the web's most basic features that DNS can be localized and run on client, LAN, provider and national services. China, for instance, runs, its own root DNS and the EU has considered the same. Google has required their Google Public DNS be used for some applications on its Android devices. Accordingly, DNS addresses / domains used for advertising may be extremely vulnerable to a broad form of ad substitution whereby a domain that serves ads is entirely swapped out with one serving more local ads to some subset of users. This is especially likely in countries, notably Russia, India and China, where advertisers often refuse to pay for clicks or page views. DNS-level blocking of domains for non-commercial reasons is already common in China.[11]
Ad filtering by external parties and internet providers
Internet providers, especially mobile operators do frequently offer proxies designed to reduce network traffic. Even when not targeted at ad filtering specifically these will block many types of advertisements that are too large, bandwidth consuming or otherwise deemed unsuited for the specific internet connection or target device.
See also
- Ad server
- Adversarial information retrieval
- Hosts file filtering
- Proxy server#Content filter
- Proxomitron
- Adblock Plus
- AdBlock (Chrome)
Common advertising techniques
- Pop-up ads
- Plain text
- Ad banners
- Flash animations
- Keyword hyperlinks (for example Vibrant Media's IntelliTXT)
- Browser plugins/extensions (often labeled as adware)
- External applications (see adware, spyware)
References
- ^ http://support.mozilla.org/en-US/questions/860098#question-reply
- ^ http://techtrickz.com/how-to/how-to-block-ads-in-avast-antivirus-5-free-edition/
- ^ http://www.mostiwant.com/blog/blocking-the-annoying-advertisements-in-avast-free-antivirus/
- ^ http://www.zdnet.com/blog/security/south-korea-to-block-port-25-as-anti-spam-countermeasure/9789
- ^ http://arstechnica.com/business/news/2010/03/why-ad-blocking-is-devastating-to-the-sites-you-love.ars
- ^ "Ad Blocking is Immoral | The Google Cache: Search Engine Marketing, SEO & PPC". The Google Cache. 2 August 2007. Retrieved 4 November 2011.
- ^ "Adblock: Adapt, or die.Service Assurance Daily: Anything and everything that affects IT performance, from the mundane to the bizarre - Network Performance Blog". Networkperformancedaily.com. 5 September 2007. Retrieved 4 November 2011.
- ^ Kirk, Jeremy (23 August 2007). "Firefox ad-blocker extension causes angst | Applications". InfoWorld. Retrieved 4 November 2011.
- ^ Paul Thurrott. "IE8: Ad blocking with the InPrivate Filter". Retrieved 5-October-2009.
{{cite web}}
: Check date values in:|accessdate=
(help) - ^ http://www.verigio.com/products/portable-dns-cache/
- ^ http://www.circleid.com/posts/20100521_extent_of_dns_services_being_blocked_in_china