-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathuser-overrides.js
74 lines (55 loc) · 3.02 KB
/
user-overrides.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Arkenfox Override Settings file
// What does this do?
// https://github.com/arkenfox/user.js/wiki/3.1-Overrides
// The override changes the stated settings, to fit your needs
// Please modify it how you like, but don't modify the user.js itself
// Cosmetic: prevent Amazon, Google etc. from being pinned to the Newtabpage should you use it
// remove pinned website ads
user_pref("browser.newtabpage.pinned", "");
// remove Google & co. from "top sites"
user_pref("browser.newtabpage.activity-stream.improvesearch.topSiteSearchShortcuts.havePinned", "");
// delete history after one week
user_pref("browser.history_expire_days", 7);
// restore pinned tabs
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand",true);
// Librewolf only, possible through GUI
//user_pref("identity.fxaccounts.enabled", true);
// Allow search shortcuts (seems to be disabled?)
user_pref("keyword.enabled", true);
// Disable Letterboxing (remove the screenborders, this makes you fingerprintable)
user_pref("privacy.resistFingerprinting.letterboxing", false);
// Allow Mozilla Addons Manager for regular behavior
user_pref("privacy.resistFingerprinting.block_mozAddonManager", false);
// Allow Firefoxes new Version notifications
// user_pref("browser.startup.homepage_override.mstone", "REPLACEWITHVERSIONNUMBER"); // this is removed in arkenfox, and needs to be removed entirely, otherwise you dont get version upgrade infos in the browser.
//user_pref("browser.startup.homepage", "about:home");
user_pref("browser.startup.page", 3);
// History & Session
// delete history after one week
user_pref("browser.history_expire_days", 7);
// restore pinned tabs
user_pref("browser.sessionstore.restore_pinned_tabs_on_demand",true);
//user_pref("privacy.sanitize.sanitizeOnShutdown", false); //prevents clearing Cookies on Shutdown
// user_pref("privacy.clearOnShutdown.cache", false); //clears a lot of trackers like ETags
user_pref("privacy.clearOnShutdown.history", false); // usability
user_pref("privacy.clearOnShutdown.sessions", false);
// System colors
user_pref("browser.display.use_system_colors", true);
user_pref("webgl.disabled", false); // use noscript! "WebGL fingerprint defender" may also help
// speed
user_pref("network.http.max-persistent-connections-per-server", 30);
user_pref("browser.cache.disk.enable", false);
// Language CHANGE TO YOUR NATIVE ONE
// this is just here for usability.
user_pref("intl.accept_languages", "de-DE, de");
user_pref("javascript.use_us_english_locale", false); // [HIDDEN PREF]
// Captive Portal & Connectivity Check
// user_pref("captivedetect.canonicalURL", "");
// user_pref("network.captive-portal-service.enabled", false); // [FF52+]
// user_pref("network.connectivity-service.enabled", false);
// enable the native system Portal (Flatpak)
user_pref("widget.use-xdg-desktop-portal.file-picker", 1);
//user_pref("widget.use-xdg-desktop-portal.location", 1);
//user_pref("widget.use-xdg-desktop-portal.mime-handler", 1);
//user_pref("widget.use-xdg-desktop-portal.open-uri", 1);
//user_pref("widget.use-xdg-desktop-portal.settings", 1);