Redirect tracking protection is enabled via privacy.purge_trackers.enabled = true by default. However, according to this hotfix: https://searchfox.org/mozilla-central/source/toolkit/components/antitracking/PurgeTrackerService.jsm#298 it seems to only work if privacy.clearOnShutdown.history and privacy.clearOnShutdown.siteSettings are set to false. Both settings that are set to true in user.js though.
Are there any considerations in this regard? Does deleting the history and site settings make more sense to avoid tracking and redirect tracking should be prevented via an addon?
The user.js also sets
user_pref("privacy.sanitize.sanitizeOnShutdown", true); // 2802
user_pref("privacy.clearOnShutdown.cookies", true); // 2803
user_pref("privacy.cpd.cookies", true); // 2804
Cookies (redirect or not) are deleted if you restart or clear-manually.
In addition you can use an add-on like ClearURLs, Request Control or Skip Redirect to skip redirect-trackers. This has the advantage that the server isn't contacted so it has no "IP 1.2.3.4 has clicked a link on example.com to visit example2.com".
Alternative you could use TC with global isolation.
privacy.clearOnShutdown.siteSettings has NEVER ever been set to true
user.js today
https://github.com/arkenfox/user.js/blob/27dd6aa62d1d73e9cdb0b751a7d4d4acdb893b75/user.js#L1320
user.js Feb 17 2017
https://github.com/arkenfox/user.js/blob/e97a1ceb5beb707d3a05252bc74a5e36530b3d9e/user.js#L1305
privacy.purge_trackers.enabled
false in FF75+ 1599262true in stable release in FF83+ 1675596So the question is, what exactly is being purged ... what exactly are you not already protected against. Answer those and you then you can probably close this issue
The first answer is (emphasis mine)
The user.js is set up to sanitize all site data on close: i.e web data, not site exceptions or passwords
However, users can tweak shit. Some people want to keep some cookies (I do) and bulk sanitize cookies on close doesn't allow that
In A+B the user is fine
In C + D the user has bigger problems keeping all cookies by default, let alone redirect tracking ones.
I don't know the answer: I actually don't recommend cookie cleaner extensions because they often leave orphaned web data lying around. TC though doesn't. But I don't know if these extensions handle cleaning up a website cookie/data used as a redirect/bouncy-bouncy
Thanks for that extensive explanation! I wasn’t aware, that privacy.purge_trackers.enabled only or mainly deals with cookies.
Thanks for that extensive explanation! I wasn’t aware, that
privacy.purge_trackers.enabledonly or mainly deals with cookies.
purging quoted from the link above (emhasis mine)
Once every 24 hours ETP 2.0 will completely clear out any cookies _and site data_ stored by known trackers
When I said cookies = cookies only, that in relation to the sanitizing prefs, talking about tweaking the user.js
/*** [SECTION 2800]: SHUTDOWN
- "Offline Website Data" includes appCache (2730), localStorage (2710),
service worker cache (2740), and QuotaManager (IndexedDB (2720), asm-cache)
***/
/* 2803: set what items to clear on shutdown ***/
user_pref("privacy.clearOnShutdown.cookies", true);
user_pref("privacy.clearOnShutdown.offlineApps", true); // Offline Website Data
FYI: fixed in FF85 1675018
Hah ... ETP's "tracking content" is only enabled in PB mode windows by default (and PB mode stuff is memory only)
Note: the user.js makes sure to not start in pb mode, and it does not set ETP's tracking protection on in all windows - maybe we should
the user.js makes sure to not start in pb mode
How?
Doesn't need the browser.privatebrowsing.autostart be false to prevent PB mode?
yeah, sorry. We don't enforce it, it's commented out .. my bad
Most helpful comment
privacy.clearOnShutdown.siteSettingshas NEVER ever been set to trueuser.js today
https://github.com/arkenfox/user.js/blob/27dd6aa62d1d73e9cdb0b751a7d4d4acdb893b75/user.js#L1320
user.js Feb 17 2017
https://github.com/arkenfox/user.js/blob/e97a1ceb5beb707d3a05252bc74a5e36530b3d9e/user.js#L1305