wiki:Filters

Version 6 (modified by speck, 12 years ago) (diff)

--

About filters

A couple of standard filters are automatically added when you install GlimmerBlocker for the first time. So out of the box GlimmerBlocker provides most users with sufficient suppression of flashy ads. See the bottom of this page for description of the standard filters.

There are 2 policies governing the standard filters in GlimmerBlocker:

  1. I don't mind ads as a concept. I just hate animated and flashing ads which remove my focus from the content on the site. So Google text ads are not blocked.
  2. I would rather block too little than block too much: I prefer to have some ads to get past the filters rather than making some web-sites non-working by blocking too much.

Many of the Adblock Plus filters use the opposite policy of #2: they use overly broad blocking which makes a lot of sites non-working. The filters try to repair the damage using a lot of white-lists, but this repair only works for sites known to the filter author.

I would like the standard filters in GlimmerBlocker to be such that you can install GlimmerBlocker on your moms computer without having her call all the time because her favourite sites stopped working.

I'm happy to receive submissions of rules for inclusion in the standard filters provided the rules adhere to the above rules.

Please add a comment to the rule stating which site that made you create the rule, i.e. the site that have ads blocked by the rule. Having documented the reason for adding the rule 1) helps in the future to verify the rule is still needed as some ad agency networks go in and out of business rather quickly, and 2) some rules might influence sites you don't use yourself and knowing the original site makes it easier to improve the rule instead of just resorting to delete it without further ado.

Enhancing sites

Please note that GlimmerBlocker supports two kinds of filters: not only allows it blocking ads but it too supports improving sites. The "iTunes Store" filter below is such an example: it doesn't block iTunes or any other ads, it just enhances the user experience for users who prefer to keep iTunes in the background when clicking on a store link.

The YouTube rules:

  1. add a download link so you can easily download the video to your computer. It uses the name of the video as the filename.
  2. automatically switch to high quality (because that's just so much nicer). If you have a slow internet connection, you might want to disable this rule.

Examples found in the Danish filter list:

  1. one site uses the same page title for all pages thereby rendering the "History" menu unusable. GlimmerBlocker changes the title to a proper page name.
  2. another site uses horrible line breaking (inside words, without any dash). The rule makes the site use normal line breaking.
  3. many of the Danish news sites are horrible on an iPhone/iPod (non optimized layout and very slow). Only a single site provides a nice iPhone experience. The filter changes the layout of some of the sites to better suit an iPhone. Using these filters require setting a Mac running GlimmerBlocker as the http proxy in the iPhone wifi setup.
 
 

Submitted Filters

Title: iTunes Store
Author: Steve Streza
Description: Makes opening links to the iTunes Store less of a hassle by avoiding iTunes Store links to cause iTunes to gain focus and interrupt whatever it is doing. This filter lets the iTunes Store link open in a normal browser page. It then adds a link to open the actual iTunes Store.
URL: http://idisk.mac.com/stevestreza/Public/itunes-store.xml

If you have published a filter which you think is interesting for other users, please send a description of the filter.

 

How to subscribe to a filter

Unlock the settings by clicking on the lock:

Then select "Subscribe to filter..."

and enter the URL:

Beware that most filters require you to trust the author and enable the filter to modify content.

 
 

Filters included in GlimmerBlocker

Title: Worldwide ad-providers
Description: This filter blocks common ad provider networks.
URL: http://glimmerblocker.org/site/filters/default/WorldWideAdProviders.xml
Title: Danish sites
Description: This filter enhances a few danish sites. This is included mostly as an example of more advanced functionality as the 'Worldwide ad-providers' is mostly just simple blocking of sites. This filter shows how to add css and javascript to a page, and shows how to use javascript to transform the html before Safari receives it. The latter is used for creating iPhone/iPod versions of Danish news sites.
URL: http://glimmerblocker.org/site/filters/danish-sites.xml

Attachments (3)

Download all attachments as: .zip