ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
20.28k stars 820 forks source link

Modify clear-data-on-exit flag #1923

Open josephnz opened 2 years ago

josephnz commented 2 years ago

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
PF4Public commented 2 years ago

Have you tried Cookie AutoDelete? Duplicate of #1745?

josephnz commented 2 years ago

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: @.***>

PF4Public commented 2 years ago

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

Probably a candidate for their bugtracker instead?

josephnz commented 2 years ago

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: @.***>

ghost commented 5 months ago

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

PF4Public commented 4 months ago

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.