diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-05-31 18:09:04 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-05-31 18:09:04 -0700 |
commit | ff6261c2772612a7a5949737660614ee24b61587 (patch) | |
tree | 4fb5b3d5cfa1af5dd815254199e49c2d4b9f841c /home/xyz/.mozilla | |
parent | 64d9b8ceca239d89c444e114651cf6eab62df1b4 (diff) |
init
Diffstat (limited to 'home/xyz/.mozilla')
-rw-r--r-- | home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css | 13 | ||||
-rw-r--r-- | home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js | 84 |
2 files changed, 0 insertions, 97 deletions
diff --git a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css b/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css deleted file mode 100644 index 526f3078..00000000 --- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/chrome/userChrome.css +++ /dev/null @@ -1,13 +0,0 @@ -@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 at least 733px for search bookmarks urls and title shown in one line, or 39vw when full screen on my xyzinsp laptop. Not sure why % is not working. -I choose to use vw because after resize to a smaller window, the navigation bar will be too big if use px. -I choose a lower vw to give more room to tabs. */ -#navigator-toolbox { --uc-navigationbar-width: 30vw !important; } - -/* hide history back, forward-button, and ^ alltabs-button */ -#back-button, #forward-button, #alltabs-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 deleted file mode 100644 index 96c5ef0e..00000000 --- a/home/xyz/.mozilla/firefox/xxxxxxxx.fly/user-overrides.js +++ /dev/null @@ -1,84 +0,0 @@ -// https://github.com/arkenfox/user.js/issues/1621#issuecomment-1413230640 -// https://github.com/arkenfox/user.js/wiki/5.2-Troubleshooting -user_pref("_user.js.parrot", "custom overrides: starting"); - -// fixes -// a lot: image upload from local, image check not robot, disable surfingkey alt-s hotkey, twitch login and follow -//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); -// labster -//user_pref("webgl.disabled", false); - -// fixes and issues unrelated to arkenfox user.js and addons: -// disable ublock origin: -// baidu drive save to my drive not working -// baidu drive verify phone when delete file not working -// disable enhanced tracking protection: -// google drive can't download -// disable bypass paywalls clean: -// login quora.com -// disable ClearURLs: -// amazon sort - -// 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); -// 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); -// popup allow "keydown" event, for surfingkeys f hotkey open link in another tab, ex: searx (preference "Results on new tabs" set to on) -user_pref("dom.popup_allowed_events", "click dblclick mousedown pointerdown keydown"); -// middle-click enabling auto-scrolling -//user_pref("general.autoScroll", true); -// disable DNS over https, to prevent DNS leak when using VPN -user_pref("network.trr.mode", 5); -// 0: normal, 1: compact, 2: touch -user_pref("browser.uidensity", 1); -// change content process limit, default: 8? -//user_pref("dom.ipc.processCount", 4); -// block all video and audio autoplay -user_pref("media.autoplay.default", 5); -// hardware video acceleration -// https://wiki.archlinux.org/title/Firefox#Hardware_video_acceleration -user_pref("gfx.webrender.all", true); -user_pref("media.ffmpeg.vaapi.enabled", true); - -// 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); - -// a workaround to disable autofocus on address bar, because I may mistype my password into address bar when typing master password -// pinephone config does not need this, because I set bookmark sidebar as homepage and it does not autofocus on address bar -// https://www.freecodecamp.org/news/what-are-bookmarklets -user_pref("browser.startup.page", 1); -user_pref("browser.startup.homepage", "javascript:"); - -user_pref("_user.js.parrot", "custom overrides: finished"); |