summaryrefslogtreecommitdiff
path: root/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js
blob: 56ffbcf91688c397d9be23bb0e400a8c90fcfd39 (plain)
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
// fixes
// a lot: image upload from local...
user_pref("privacy.resistFingerprinting", false);
// douyu pay, bilibili stream watch and user space, pixiv some images not show
user_pref("network.http.referer.XOriginPolicy", 0);
// baidu
user_pref("security.ssl.require_safe_negotiation", false);

// http://kb.mozillazine.org/Network.cookie.lifetimePolicy
user_pref("network.cookie.lifetimePolicy", 0);
// enable search engine in location bar
user_pref("keyword.enabled", true); 
// enable https-only mode in private windows only
user_pref("dom.security.https_only_mode", false);
user_pref("dom.security.https_only_mode_pbm", true);
// enable search suggestions
//user_pref("browser.search.suggest.enabled", true);
//user_pref("browser.urlbar.suggest.searches", true);
user_pref("extensions.pocket.enabled", false);
user_pref("extensions.screenshots.disabled", true);
// allow popup
user_pref("dom.disable_open_during_load", false);

// old about:config and settings, for perfsCleaner.sh
// use extensions on more sites
user_pref("extensions.webextensions.restrictedDomains", "");
// to use userChrome.css
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
// let tree style tab background dark with arc-dark linux theme
// i'm not using TST now, but it still might be useful for other extensions
// however, starting from around firefox 95, this makes some site show dark background with light theme fonts? so not using it now
//user_pref("widget.content.allow-gtk-dark-theme", true);
// when refresh searx page, no window will pop up and ask for resend
// https://www.reddit.com/r/firefox/comments/nnluzz/disable_to_display_this_page_firefox_must_send/gzyoia4?utm_source=share&utm_medium=web2x&context=3
user_pref("dom.confirm_repost.testing.always_accept", true);
// no warn on close multiple tabs
user_pref("browser.tabs.warnOnClose", false);
// address bar do not suggest open tabs
user_pref("browser.urlbar.suggest.openpage", false);
// address bar do not suggest shortcuts:
// websites that appear when there's no entry in url bar
// have sites like facebook that I almost never use and not in my bookmark
user_pref("browser.urlbar.suggest.topsites", false);