brave/brave-browser

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

Open

#10,493 opened on Jun 26, 2020

View on GitHub
 (64 comments) (72 reactions) (1 assignee)JavaScript (2,164 forks)batch import
OS/AndroidOS/Desktopcontributordesignenhancementfeature/global-settingsfeature/settingsgood first issueneeds-discussionpriority/P4

Repository metrics

Stars
 (16,194 stars)
PR merge metrics
 (Avg merge 4h 38m) (19 merged PRs in 30d)

Description

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

Contributor guide