--- /dev/null
+/* 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;
+}
--- /dev/null
+// 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);