blob: f8e63567304dd7b3faf22cb09be5ae1e88a29270 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// http://kb.mozillazine.org/Network.cookie.lifetimePolicy
// https://github.com/arkenfox/user.js/releases/tag/102.1
user_pref("network.cookie.lifetimePolicy", 0);
user_pref("privacy.clearOnShutdown.cookies", false);
user_pref("extensions.pocket.enabled", false);
user_pref("extensions.screenshots.disabled", true);
// disable DNS over https, to prevent DNS leak when using VPN
user_pref("network.trr.mode", 5);
// change content process limit, default: 8?
user_pref("dom.ipc.processCount", 1);
// block all video and audio autoplay
user_pref("media.autoplay.default", 5);
// kill firefox process then start again may result in an extra tab asking for restore session or two tabs same url, these config maybe can disable that
// https://wiki.mozilla.org/Session_Restore
// https://support.mozilla.org/en-US/questions/1182594
user_pref("browser.sessionstore.resume_from_crash", false);
// not sure if this is needed:
//user_pref("browser.sessionstore.max_resumed_crashes", 0);
|