Permit Cookies: a Firefox extension that makes cookie whitelisting easyMon, Oct 23, 2006 in Web
I’ve been writing a lot lately about Perl, MySQL and so forth, and neglecting another topic that interests me: the Web. I’m going to finish and publish some of the drafts I have on the Web before I continue with another massive database marathon. This one is about someone who read my mind and built exactly the Firefox extension I was about to build myself: an easy way to block all cookies and allow them on a case-by-case basis without nagging.
By default, cookie whitelisting in Firefox isn’t easy
As you may know, I take a “say no by default” approach to blocking cookies on the Web. I disable all cookies by default, and only enable them on sites I want to have them (a “whitelist”).
This cookie whitelist is a bit of a pain, though. Every time I browse to a site and want to allow cookies, I have to open the cookie preferences and add the site to the whitelist. That ends up being eight clicks, and I have to type the domain too.
I could tell Firefox to ask me about every cookie, but that’s worse than no privacy at all. I don’t even know why there is such an option. It makes browsing so unpleasant, I’d rather just let everyone set cookies and be done with it. So that’s not a solution.
What I need is a non-disruptive way to 1) see when cookies aren’t allowed, and 2) allow them with just a click or two. I looked around the Mozilla extension site and didn’t find what I wanted. I wanted a bare-bones extension, and everything I saw was a complicated mess. That was quite a while ago.
I thought I’d have to write my own extension, but never got around to it. In the meantime, either someone wrote exactly what I wanted, or I got better at finding things. The Permit Cookies extension by Daniel Lindkvist is about as perfect as it gets.
How Permit Cookies works
It puts a small icon in the status bar:
When I want to allow cookies for a site, a single click on the icon pops up a dialog with the top-level domain of the site I’m browsing already filled in:
The little “C” in the status bar turns green to indicate cookies are now allowed. Another click on that same icon later will let me change my setting for that site, to delete the setting and disallow cookies once more.
Thanks, Daniel! You made Firefox a lot easier for me to use!