From: sev Date: Wed, 13 Dec 2023 22:45:29 +0000 (-0600) Subject: add librewolf X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/c0eb0bfb4a783c14228d08a643d6c269ae021792?ds=sidebyside;hp=e122ce754424f4a330d9d7fbeee43cd6dec0892e add librewolf --- diff --git a/librewolf/chrome/userChrome.css b/librewolf/chrome/userChrome.css new file mode 100644 index 0000000..89bae4b --- /dev/null +++ b/librewolf/chrome/userChrome.css @@ -0,0 +1,19 @@ +/* hide tabs */ +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]):not([customizing]) #tabbrowser-tabs, +#main-window[tabsintitlebar="true"]:not([extradragspace="true"]):not([customizing]) #alltabs-button, +/* hide tst header */ +#main-window:not([customizing]) #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] > #sidebar-header { + visibility: collapse !important; +} + +/* Hide sidebar with one tab */ +#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] { + transition: all 0.2s ease; +} +#main-window:not([customizing]) + #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:not(:has([data-current-uri="about:newtab"])):not(:hover) { + z-index: 2 !important; + overflow: hidden; + min-width: 2px !important; + max-width: 2px !important; +} diff --git a/librewolf/librewolf.overrides.cfg b/librewolf/librewolf.overrides.cfg new file mode 100644 index 0000000..08fac47 --- /dev/null +++ b/librewolf/librewolf.overrides.cfg @@ -0,0 +1,30 @@ +// enable sync +pref("identity.fxaccounts.enabled", true); + +// enable session saving +pref("privacy.clearOnShutdown.history", false); +pref("privacy.clearOnShutdown.downloads", false); +pref("privacy.clearOnShutdown.cookies", false); +pref("browser.startup.page", 3); + +// remember more undos +pref("browser.sessionstore.max_tabs_undo", 50); +pref("browser.sessionstore.max_windows_undo", 3); + +pref("browser.tabs.closeWindowWithLastTab", false); + +pref("browser.altClickSave", true); +pref("zoom.minPercent", 10); + +// prefer FPP over RFP an allow color-scheme and timezone +// NOTE: this does not work toward preventing unique fingerprint, but FPP is +// still better than nothing and might fool simple trackers. advanced +// ones are probably not beatable regardless so it's not a big deal. +pref("privacy.resistFingerprinting", false); +pref("privacy.resistFingerprinting.pbmode", false); +pref("privacy.fingerprintingProtection", true); +pref("privacy.fingerprintingProtection.pbmode", true); +pref("privacy.fingerprintingProtection.overrides", "+AllTargets,-CSSPrefersColorScheme,-JSDateTimeUTC"); + +// enable chrome +pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);