summaryrefslogtreecommitdiff
path: root/firefox
diff options
context:
space:
mode:
authorThomas Ulmer <thomasmulmer02@gmail.com>2025-03-12 10:18:42 -0700
committerThomas Ulmer <thomasmulmer02@gmail.com>2025-03-12 10:18:42 -0700
commit8300912bb63fc3918385f9e6d2a9777f62f164a2 (patch)
tree032c134345ac4f8ac58125453bcaeab2538f0c44 /firefox
parent2576f016153baa11c6e62deeb329dd72f0aa89c8 (diff)
firefox files and new emacs stuff
Diffstat (limited to 'firefox')
-rw-r--r--firefox/chrome/userChrome.css4
-rw-r--r--firefox/user.js11
2 files changed, 15 insertions, 0 deletions
diff --git a/firefox/chrome/userChrome.css b/firefox/chrome/userChrome.css
new file mode 100644
index 0000000..510b37d
--- /dev/null
+++ b/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/firefox/user.js b/firefox/user.js
new file mode 100644
index 0000000..9045107
--- /dev/null
+++ b/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);