From 93694afec371ce46676c9776b7e527e83a42afba Mon Sep 17 00:00:00 2001 From: druckdev <63563978+druckdev@users.noreply.github.com> Date: Sun, 15 Nov 2020 01:27:18 +0100 Subject: [PATCH] firefox: Add userChrome.css to hide some elements --- .config/firefox/chrome/userChrome.css | 16 ++++++++++++++++ .config/firefox/user.js | 1 + 2 files changed, 17 insertions(+) create mode 100644 .config/firefox/chrome/userChrome.css diff --git a/.config/firefox/chrome/userChrome.css b/.config/firefox/chrome/userChrome.css new file mode 100644 index 0000000..9156ccd --- /dev/null +++ b/.config/firefox/chrome/userChrome.css @@ -0,0 +1,16 @@ +/* Tab bar */ + +/* Hide tab scroll buttons */ +toolbarbutton[id^="scrollbutton"] { + display: none !important; +} + +/* Hide new-tab button */ +toolbarbutton[id="new-tab-button"] { + display: none !important; +} + +/* Hide tab close button */ +.tab-close-button { + display: none !important; +} diff --git a/.config/firefox/user.js b/.config/firefox/user.js index d6ed617..c154ccd 100644 --- a/.config/firefox/user.js +++ b/.config/firefox/user.js @@ -22,4 +22,5 @@ user_pref("privacy.donottrackheader.enabled", true); user_pref("privacy.trackingprotection.enabled", true); user_pref("privacy.trackingprotection.socialtracking.enabled", true); user_pref("signon.rememberSignons", false); +user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); user_pref("ui.systemUsesDarkTheme", 1);