ungoogled-chromium icon indicating copy to clipboard operation
ungoogled-chromium copied to clipboard

Modify clear-data-on-exit flag

Open josephnz opened this issue 2 years ago • 6 comments

can chrome://flags/#clear-data-on-exit be modified to either select what data is removed (this is possible with Brave browser) or at-least exclude

  1. cookies
  2. site configuration data

In its current form all data including history, cookies etc are removed on browser close which makes it impossible to 'whitelist' website that are allowed to save cookies, such as website that I want to store login information for. If this feature is tweaked to match features available on brave browser, one can selectively delete all site data. A screenshot of the brave setting page is attached Screen Shot 2022-04-21 at 16 13 36

josephnz avatar Apr 21 '22 04:04 josephnz

Have you tried Cookie AutoDelete? Duplicate of #1745?

PF4Public avatar Apr 21 '22 09:04 PF4Public

Cookie AutoDelete does not always cleanup  all the non whitelisted cookies. It leaves some behind. On 21 Apr 2022 21:50, PF4Public @.***> wrote: Have you tried Cookie AutoDelete? Duplicate of #1745?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

josephnz avatar Apr 21 '22 18:04 josephnz

does not always cleanup  all the non whitelisted cookies. It leaves some behind

Probably a candidate for their bugtracker instead?

PF4Public avatar Apr 21 '22 19:04 PF4Public

Thanks for the suggestion. But I'm more interested in a browser native solution as shown in the screenshot. Firefox also has a similar built-in feature.BTW, someone has already raised a bug with the CAD team. I don't have the link handy.On 22 Apr 2022 07:53, PF4Public @.***> wrote:

does not always cleanup  all the non whitelisted cookies. It leaves some behind

Probably a candidate for their bugtracker instead?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

josephnz avatar Apr 21 '22 20:04 josephnz

Chromium takes far too long to compile for me to write this patch myself but I would love for this feature to be included in ungoogled chromium. If anyone else is willing to work on it, the following is a pull request for brave adding 'clear on exit' to the clear history context menu.

https://github.com/brave/brave-core/pull/1213/files

just37 avatar Apr 20 '24 20:04 just37

the following is a pull request for brave adding 'clear on exit' to the clear history context menu.

https://github.com/brave/brave-core/pull/1213/files

The code is licensed under MPL — a thing to consider.

PF4Public avatar May 05 '24 19:05 PF4Public