summaryrefslogtreecommitdiff
path: root/config/firefox
diff options
context:
space:
mode:
Diffstat (limited to 'config/firefox')
-rw-r--r--config/firefox/chrome/userChrome.css4
-rw-r--r--config/firefox/user.js11
2 files changed, 15 insertions, 0 deletions
diff --git a/config/firefox/chrome/userChrome.css b/config/firefox/chrome/userChrome.css
new file mode 100644
index 0000000..510b37d
--- /dev/null
+++ b/config/firefox/chrome/userChrome.css
@@ -0,0 +1,4 @@
+/* Hide tab bar. */
+#tabbrowser-tabs, #tabbrowser-tabs arrowscrollbox { min-height: 0 !important; }
+#tabbrowser-tabs tab { height: var(--tab-min-height); }
+#tabbrowser-tabs tab:first-of-type:last-of-type { display: none !important; }
diff --git a/config/firefox/user.js b/config/firefox/user.js
new file mode 100644
index 0000000..9045107
--- /dev/null
+++ b/config/firefox/user.js
@@ -0,0 +1,11 @@
+// Allow chrome/userChrome.css
+user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
+
+// Force all links to open in the same window.
+user_pref("browser.link.open_newwindow", 1);
+
+// Disable horrible tab switcher.
+user_pref("browser.ctrlTab.recentlyUsedOrder", false);
+
+// Disable horrible new tab page.
+user_pref("browser.newtabpage.enabled", false);