brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.44k stars 2.26k forks source link

[Desktop] Allow users to add site exceptions for data that is cleared "on exit" #10493

Open Brave-Matt opened 4 years ago

Brave-Matt commented 4 years ago

Description

As it is now, any data type that is checked in the Clear browsing data --> [On exit] will have all data of that type removed upon closing the browser. While this is the intended function, we should implement a function similar to what Microsoft Edge does, where site exceptions can be added to a "Do not clear" list. Data on this list is ignored when the browser runs "clear on exit":

image

This would help users maintain login data for sites they regularly visit and not have to re-authenticate every time data is erased. Additionally, this helps with support, since clearing browsing data often resolves issues with bad cache data -- having the ability to suggest users do this, but without sacrificing specific data they know they want would be very useful and appreciated by users

Miscellaneous Information:

Original thread that bought this to my attention (again): https://community.brave.com/t/delete-all-cookies-on-exit-except-allowed-list/137872/5

daqnal commented 6 months ago

@onchov is correct. I thought I was paranoid scrolling through this thread and not being able to find the toggles. Looks like it was changed in this issue #35415 , hence this from the release notes:

Fixed out of sync cookie settings under brave://settings/cookies and brave://settings/shields.

This issue really needs to be revamped at a higher priority; this method for adding exceptions is very obscure, but the desire for it is not. Hopefully this is just an interim update and the team will prioritize it soon.

IkelAtomig commented 6 months ago

Damn. Thanks a lot. @onchov

VGJUNKY commented 4 months ago

This function works as others have said, you must untick "cookies and other site data" and "site and shield settings" in the clear browsing tab "on exit" brave://settings/clearBrowserData

then go to brave://settings/content/siteData and change the default behaviour to the second option "Delete data sites that have been saved to your device when you close all windows"

then add the sites you want to keep data for to the "Allowed to save data on your device"

Posting this only to make it simpler for people to figure out. No one else here has made it actually simple to follow with all the steps. I think this should be closed or changed to a ui improvement request.

CaptTom9 commented 3 months ago

Thank you, @VGJUNKY! This is much clearer.

Of course we're not always in this post to copy and paste the local URLs, above. To find the same settings in the UI, here is how to navigate through the Brave menus:

(1) Uncheck the "on exit" box:

(2) And the one I always have trouble finding, "Allow to save data on your device":

chris-1243 commented 4 days ago

This function works as others have said, you must untick "cookies and other site data" and "site and shield settings" in the clear browsing tab "on exit" brave://settings/clearBrowserData

then go to brave://settings/content/siteData and change the default behaviour to the second option "Delete data sites that have been saved to your device when you close all windows"

then add the sites you want to keep data for to the "Allowed to save data on your device"

Posting this only to make it simpler for people to figure out. No one else here has made it actually simple to follow with all the steps. I think this should be closed or changed to a ui improvement request.

Thanks a lot for the explanation !!! An UI improvement would be useful and appreciated. I come from Firefox and it is way easier to fine tune this parameter. You save me tons of search hours