Hacker News new | ask | show | jobs
by newscracker 1775 days ago
This would be even more better with a “Forget this site” button that could be added to the toolbar (if the user wishes to). Clicking on it would clear everything for the site and close the tab.

The nested menus to access it aren’t very convenient.

I do use CookieAutoDelete to handle this for closed tabs.

7 comments

You can mostly do this through the lock icon with the "Clear cookies and site data" button.
Never knew about this functionality, thanks for sharing!

It even appears to exist and work in Chrome.

Is “Clear cookies and site data” the same as “Forget about this site”? Firefox could use a simpler UI.
Never heard of Cookie AutoDelete, many thanks from me as well.

What I really want is for all cookies to be deleted when the browser exits, except for the sites assigned to the containers I've created.

I'll have to see if this is possible in Cookie AutoDelete -- looks like it might be. Does anyone have any suggestions?

> What I really want is for all cookies to be deleted when the browser exits, except for the sites assigned to the containers I've created.

Then Cookie AutoDelete (CAD) is exact what you'd want. Firefox has a setting option that deletes all cookies except exception after the browser is closed. But in my opinion, that function is too limited. CAD filters domains on container level, while Firefox's doesn't. CAD also offers regex matching for domains, which is really useful. My favorite feature is greylisting everything in Default Firefox's container (using * regex for greylist).

CAD is compatible and best used with Firefox's Multi-Account Container.

It will take a bit to learn how it works though.

What I really want is for all cookies to be deleted when the browser exits, except for the sites assigned to the containers I've created.

At least Firefox 90.x has a checkbox "Delete cookies and site data when Firefox is closed" in the privacy section, along with a button to "Manage exceptions..."

I would much rather this be when tab close rather than browser close.

I rarely close my browser except for updates, or when I'm spe cifcally taking advantage of delete on exit. However, delete on tab close would be dreamy.

I don't really want it to be an extension. I don't like the power given to extensions, so the less I use the better. Sorry decent extension devs, for me the bad guys have tarnished the trust to just not want to use any.

This is what I do, I have it clear cookies every 60 seconds, but it keeps my container cookies. Just set the site to 'always open in ..' the specific container, and all is good.

In settings for CAD, enable container support

https://github.com/Cookie-AutoDelete/Cookie-AutoDelete/wiki/...

Containers are such a great concepts that I wish was built upon slightly more in the browser so that we can achieve things like that.
Go into firefox preferences > privacy/security There's a checkbox a bit down the page that says: Delete cookies and site data when Firefox is closed
I tried CookieAutoDelete but it seems to be whitelist based only? How do I instead say block only these domains?
No, there are two types of rule in Cookie AutoDelete (CAD) that you have to read through their documentation to understand their function: Greylist and Whitelist. You have assign these domains to Greylist (whose filter setting has to be pre-configured first, namely you decide what to be kept/removed in greylist rule).

I use in combination with Firefox containers feature Enable Automatic Cleaning of CAD, which deletes all cookies (as well domain related contents) except those in whitelist. That has saved me a lot of time in manual greylisting.

Ooh I like this idea. Going to look into CookiesAutoDelete. Thank you!
I'd like a "remember this site" instead.
This! I want a button that deletes everything from the current tab. One click, not two clicks and a right click. Also needs a keyboard shortcut.
Naaah, one big button.