Skip to content

Cookie whitelist not persisting after restart - workaround found #525

@okotowarishimasu

Description

@okotowarishimasu

Environment:

  • ungoogled-chromium version: 143.0.7499.40 (Official Build, ungoogled-chromium) (64bit)
  • OS: Windows 11

Description:
When adding domain exceptions to the cookie whitelist via chrome://settings/content/siteData, the exceptions are not preserved after restarting the browser. The whitelist resets to empty.

Steps to reproduce:

  1. Set cookie settings to "Delete data sites have saved to your device when you close all windows"
  2. Add domain exceptions to the whitelist
  3. Restart ungoogled-chromium
  4. Check the whitelist - it will be empty

Workaround:
I found a way to make the whitelist persistent:

  1. First, set the option to "Allow sites to save data on your device"
  2. Add your domain exceptions to the whitelist
  3. Restart ungoogled-chromium
  4. Change the setting back to "Delete data sites have saved to your device when you close all windows"

After following these steps, the whitelist remains intact across restarts.

Additional context:
The root cause is unclear, but I suspect the Preferences file needs to be written at least once with the whitelist structure properly initialized before the "clear on exit" setting can preserve it.

Note:
I'm using the Japanese version of ungoogled-chromium, so the exact English wording of the menu items might differ slightly from what I've written here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions