Cookie Management on FireDragon

Hi everyone,
new Garuda user here, got it installed on my second sdd for test, and I enjoy it so much I’m planning to definitely switch for it instead of the UbuntuStudio I was using since years.

That said, I have a simple question : isn’t it possible to simply block cookies on FireDragon like on Firefox ? I know I can set it to delete them when leaving, but I appreciate the option to only accept the ones I want.

So if you know how to do that, thanks to give me your method, didn’t find the option in the parameters section.

Thanks for reading !

Welcome to the Forum!

Firedragon works the same as Firefox, meaning you can set your settings virtually the same way as on Firefox.

What settings you got on Firefox that does not make it accept any cookies?

You can compare with your Firedragon in about:config

There are some other settings we set as you can see in /usr/lib/firedragon/firedragon.cfg

firedragon.cfg

/** [SECTION] ISOLATION

  • Defaults to strict mode, which includes:
    1. dFPI for both normal and private windows
    1. Strict blocking lists for trackers
    1. Shims to avoid breakage caused by blocking lists
    1. Stricter policies for xorigin referrers
    1. dFPI specific cookie cleaning mechanism
    1. Query stripping
  • The desired category must be set with pref() otherwise it will not stick.
  • The UI that allows to change mode manually is hidden.
    */
    pref(“browser.contentblocking.category”, “strict”);
    defaultPref(“network.cookie.cookieBehavior”, 5); // Enforce dFPI → FIREDRAGON CONFIG
    // Enable APS
    defaultPref(“privacy.partition.always_partition_third_party_non_cookie_storage”, true);
    defaultPref(“privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage”, false);
    defaultPref(“privacy.partition.serviceWorkers”, true); // Isolate service workers

/** [SECTION] SANITIZING /
defaultPref(“network.cookie.lifetimePolicy”, 0); // Keep cookies
/
*

  • This way of sanitizing cookies would override the exceptions set by the users and just delete everything.
  • We disable it but cookies and site data are still cleared per session unless exceptions are set.
    */
    defaultPref(“privacy.clearOnShutdown.cache”, false);
    defaultPref(“privacy.clearOnShutdown.cookies”, false);
    defaultPref(“privacy.clearOnShutdown.downloads”, false);
    defaultPref(“privacy.clearOnShutdown.history”, false);
    defaultPref(“privacy.clearOnShutdown.offlineApps”, false);
    defaultPref(“privacy.clearOnShutdown.sessions”, false);
    defaultPref(“privacy.sanitize.sanitizeOnShutdown”, false); // Set this to true to clear data and cookies on shutdown → FIREDRAGON CONFIG
    defaultPref(“privacy.sanitize.timeSpan”, 0);
2 Likes

Thanks for input. Here’s a pic from Firefox showing a tab I don’t have in FireDragon :

Instead I have a sentence saying I’m using Resist Fingerprinting (RFP) and the link giving some explanations is broken (Error 404).

Yes, FireDragon (like LibreWolf) forces Stric-Mode by default and thus the selection is hidden.

But adding the following to firedragon.overrides.cfg should have the same effect:

pref("browser.contentblocking.category", "custom");
pref("network.cookie.cookieBehavior", 2);
pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.emailtracking.enabled", true);
pref("privacy.trackingprotection.socialtracking.enabled", true);
3 Likes

It works fine, thanks !

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.