«•»


Adblock Solution for Safari 4 (Windows and Mac)

Date February 25, 2009 : Permalink :

Safari Adblock While there isn’t a native Ad Blocker in Safari 4, I was able to clean up most websites by using Fanboy’s Element Hider stylesheet1 to collapse the advertisement elements.

Here are the steps to setting up the Advertisement Hider in Safari 4:

Step 1: Download Fanboy’s Element Hider CSS file and save it to the Safari profile (or any folder of your choosing).

Step 2: Launch Safari4, go to Preferences -> Advanced -> Style Sheet -> Other… and select the fanboy-adblocklist-elements.css file you just saved.

Note: I am aware of 3rd party tools like Proximity to block ads but I prefer using a browser-specific solution. If you have a better way of handling ads in Safari, please share your ideas in the comments.

  1. The Element Hider is part of an excellent, lightweight Adblock List maintained by Fanboy and available for Opera (my primary browser).  It is made up of two parts: (1) a urlfilter.ini replacement file that catches the ads before they are loaded and (2) an element hider .css file that colapses the ad space so that the webpage looks cleaner. []
  • Great tip, not hiding everything but it is a start :)
  • tom
    thanks! greetings from germany
  • Yinchie, Probably never hide everything, you can only do so much with css. However if Safari had an proper url blocker extension (supporting both Windows/OSX), then I'd openly support it.
  • Cameron
    SafariBlock is working great for me in Safari 4 beta. It adds a panel to your Safari preferences, supporting block lists as well as manually adding entries (either by right-clicking on an image or by typing it in).
    http://code.google.com/p/safariblock/
  • Cameron
    Oh, forgot to say though that it's Mac-only :-(
  • Whats the adblock format used in SafariBlock? does it support whitelists?
  • Kevin
    http://code.google.com/p/safariblock/

    SafariBlock is the best I've ever used.
  • Singh
    It's not as effective as adblock in firefox, but still it works for most of the blocking!! Thanx
  • http://glimmerblocker.org/ <--- better than safariadblock. doesn't require any sort of inputmanager or simbl hacks, and is totally independent from browser version (ie, wont break when you upgrade safari).
  • am I correct in guessing that scripts like this "hide" elements, but don't stop them from executing? So, Flash elements, for example, will still be taking up memory and CPU cycles, even if they don't display?
blog comments powered by Disqus