]> git.sev.monster Git - dotfiles.git/commitdiff
add librewolf
authorsev <git@sev.monster>
Wed, 13 Dec 2023 22:45:29 +0000 (16:45 -0600)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:41 +0000 (16:27 -0500)
librewolf/chrome/userChrome.css [new file with mode: 0644]
librewolf/librewolf.overrides.cfg [new file with mode: 0644]

diff --git a/librewolf/chrome/userChrome.css b/librewolf/chrome/userChrome.css
new file mode 100644 (file)
index 0000000..89bae4b
--- /dev/null
@@ -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 (file)
index 0000000..08fac47
--- /dev/null
@@ -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);
This page took 0.034327 seconds and 4 git commands to generate.