GlimmerBlocker Logo


HTTP based ad blocker for Mac OS X

No hacks, no instability
Upgrade Safari whenever you like, no need to wait for an upgraded hack

GlimmerBlocker is no longer maintained and should no longer be used as web sites have migrated from using plain http to using https (i.e. encrypted) which prohibits modification by a proxy unless you resort to install custom SSL certiticates on the client.

You should use a browser extension instead.

It was made as a hobby project during 2007-2008 by Peter Speck. It features both a custom http server and http client and a Mac OS X control panel.

GlimmerBlocker did not only block requests but also allowed for adding custom css and javascript to the pages. It also allowed for modification of the page html before the browser receives the html, which made some modifications much easier than DOM based modifications.

Getting the code

Latest snapshot of code as zip file.

Compiling and installing GlimmerBlocker from source requires the latest version of IntelliJ IDEA, Xcode and a decent knowledge of shell scripting. The build process is not simple.

Send patches to: []

How to build it, I think

Never been tested, so this should be taken as hints, not a cookbook. Mastering shell and perl scripts is mandatory.

  1. Stop the running proxy (aka deactivate).
  2. Create install dir: sudo mkdir -p /Library/PreferencePanes/GlimmerBlocker.prefPane
  3. Make sure it is owned by you: chmod -R johndoe /Library/PreferencePanes/GlimmerBlocker.prefPane
  4. Clean it out, but keep the dir: rm -rf /Library/PreferencePanes/GlimmerBlocker.prefPane/*
  5. Make the Xcode project. It will fail at the end due to missing Jars: PrefsPane/GlimmerBlockerPrefsPane.xcodeproj
  6. Open the IDEA project. Make it.
  7. Open Terminal, and cd into svntrunk/PrefsPane
  8. Execute ./
  9. Build the Xcode once more (not clean), it should now be a success.
  10. In Terminal: fix permissions on the auth helper:
    sudo chown root:admin /Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/MacOS/AuthHelper
    sudo chmod 6555 /Library/PreferencePanes/GlimmerBlocker.prefPane/Contents/MacOS/AuthHelper