diff options
author | xyz <gky44px1999@gmail.com> | 2021-12-13 02:08:24 -0800 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2021-12-13 02:08:24 -0800 |
commit | a6549d3d0e26524cd1f3e388e3da6b4ff466cca4 (patch) | |
tree | 5c649a56abf134b684d8a5ccf4f2adefa5436257 /home/xyz/.mozilla | |
parent | f9ddfd7a94290e2271df55585d93b97190c5897a (diff) |
move cfgc files to their location by git rm then git add them
Diffstat (limited to 'home/xyz/.mozilla')
3 files changed, 56 insertions, 0 deletions
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/firefox-csshacks new file mode 160000 +Subproject fcec71b08aec8af35f72c71902c4b38f033c2f9 diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css new file mode 100644 index 00000000..c0465de8 --- /dev/null +++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css @@ -0,0 +1,12 @@ +@import url(firefox-csshacks/chrome/navbar_tabs_oneliner.css); +@import url(firefox-csshacks/chrome/urlbar_popup_full_width.css); + +/* on my laptop with linux, if only has more tool >> button and application menu hambugger button, +need 46vw for search bookmarks urls and title shown in one line */ +#navigator-toolbox { --uc-navigationbar-width: 46vw !important; } + +/* hide history back and forward-button */ +#back-button, #forward-button { display: none !important; } + +/* hide minimize, restore, and close button when in full screen mode */ +#minimize-button, #restore-button, #close-button { display: none !important; } diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js new file mode 100644 index 00000000..c6a957e9 --- /dev/null +++ b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js @@ -0,0 +1,44 @@ +// fixes +//user_pref("privacy.resistFingerprinting", false); +// douyu pay +//user_pref("network.http.referer.XOriginPolicy", 0); +// baidu +user_pref("security.ssl.require_safe_negotiation", false); +// pixiv some images not show +//user_pref("network.http.referer.XOriginPolicy", 0); + +// 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); |