Hacker News new | ask | show | jobs
by diafygi 2240 days ago
Is there a setting in Firefox that allows you to whitelist specific cookies and ignore all others?

That combined with Firefox Containers would make for a very powerful combination since you could have different containers that would be your logged-in interface to a specific site, without then having to allow other sites be able to set cookies.

5 comments

I have the

> Delete cookies and site data when Firefox is closed

setting checked in preferences. There is a Manage Permissions button next to it that allows some more per-website control.

Websites can place however many cookies they want. It won't help them track me past a day.

Firefox also has a "always use private browsing" option that I've been using for about ~6 months with great success—with a password manager the only annoying thing to do is get through sms "2fa" gated auth—mostly banks, health insurance, etc.
Always private browsing as a default is a very good idea. I set Safari for auto-privacy. The overhead of manually opening a non-private browser when that is what I want is really a very small hassle.

Setting up Safari this way and using FireFox only with containers for each major web platform works really well for me and I have been able to talk non tech friends into trying it.

It's been a while since I went the whitelist approach on cookies, but I think you can do this in the "manage permissions" section of the cookie area in settings.

Whitelist a site and set default behavior to block will still allow that whitelisted site... I think so at least, maybe you need wildcards or something...

This used to be a feature of Firefox. You could get a pop-up asking if you wanted to allow, allow for session, or disallow cookies from a domain the first time it tried to create a cookie. This was removed for some reason.
The Cookie Autodelete extension does this.
uMatrix lets you whitelist cookies on a domain and subdomain basis, either per-site or for the whole web.