From d3b1ccae7546c3178bb5994a3de21f96c2b497c9 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 4 Feb 2015 00:49:32 -0500 Subject: [PATCH] =?UTF-8?q?Updated=20Does=20=C2=B5Block=20blocks=20ads=20o?= =?UTF-8?q?r=20just=20hide=20them=3F=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Does-µBlock-blocks-ads-or-just-hide-them?.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Does-µBlock-blocks-ads-or-just-hide-them?.md b/Does-µBlock-blocks-ads-or-just-hide-them?.md index 84f4b64..adfac97 100644 --- a/Does-µBlock-blocks-ads-or-just-hide-them?.md +++ b/Does-µBlock-blocks-ads-or-just-hide-them?.md @@ -16,16 +16,22 @@ There are two kinds of [ABP-compatible filters](https://adblockplus.org/en/filte The purpose of network filter is to prevent a network request to be made to a remote server, so as to prevent downloading a remote resource. µBlock will prevent the network request from even being made. This saves bandwidth, decrease privacy exposure -- as the remote server won't be able to log anything if you do not contact it. -**Answer:** resources blocked: network requests are cancelled before they leave the browser. +**Short answer:** resources blocked: network requests are cancelled before they leave the browser. #### Cosmetic filters These filters serve to remove DOM elements from a web page. They have no value privacy-wise, it is essentially to make web page look better by removing unwanted content, which usually cannot be blocked using network filters. Just like ABP, µBlock will hide DOM elements on a web page which match cosmetic filters. µBlock uses a [different method](https://github.com/gorhill/uBlock/wiki/Cosmetic-filtering-in-%C2%B5Block:-version-0.4.0.0-update) than other big-name blockers to hide the DOM elements though. -**Answer:** resources hidden. +Different classes of cosmetic filters are applied differently: + +- Specific cosmetic filters: injected before page's root DOM is loaded +- Generic cosmetic filters: injected after page's root DOM is loaded +- Cached generic cosmetic filters: injected before page's root DOM is loaded + +**Short answer:** resources hidden -- in various ways depending on the class of cosmetic filters. #### Hosts file µBlock also support the parsing and enforcing of hosts files -- something which ABP does not. All entries in a hosts file are parsed as network filters, i.e. no resource will be fetch from a remote server which appear in a hosts file, no connection will even be attempted. -**Answer:** resources blocked: network requests are cancelled before they leave the browser. +**Short answer:** resources blocked: network requests are cancelled before they leave the browser.