sqlrob: (Default)
sqlrob ([personal profile] sqlrob) wrote2006-01-31 06:33 am

A tip for the AdBlock Plus users

This applies mainly to the Mac users, but it's probably applicable to Linux users as well with some changes.

Today I found out that Adblock Plus for Firefox was spamming Console (/Applications/Utilities/Console) with a pile of messages like
Adblock Plus: FakeController.QI to an unknown interface: {47b82b60-a36f-4167-8072-6f421151ed50}, which makes it really difficult to find any real messages.

The fix, fortunately, is easy. You need a text editor like Text Wrangler. From the command line, vim or emacs works just as well if you're familiar with them.

First, quit Firefox. In your home directory, open Application Support/Firefox/Profiles/<random bunch of letters and numbers>/extensions/{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}/components/nsAdblockPlus.js

Alternatively, you may be able to do a spotlight search for nsAdblockPlus.js.

In this file search for lines containing (no quotes) "unknown interface". Those lines should begin with dump. Prefix the dump with //. Save the file, and you should be set.

[identity profile] sqlrob.livejournal.com 2006-01-31 04:00 pm (UTC)(link)
The code is definitely part of Adblock Plus, I reported it there and it was closed as "already fixed in development version"

It's not doing anything dangerous, it's just putting lots of stuff in your console.log.

I'm updating the filterlist as well, and I'm not seeing any problems. I am also running as a non-administrator, so I can't overwrite any system files by mistake.