commit b2448c5e6ccf04db06e565e75735e9d761367be5
parent fe389dabe8d181a2a7f33368df66cf3e910d5874
Author: awy <awy@awy.one>
Date: Thu, 1 May 2025 16:43:25 +0300
update
Diffstat:
2 files changed, 108 insertions(+), 7 deletions(-)
diff --git a/user-overrides.js b/user-overrides.js
@@ -20,8 +20,8 @@ user_pref("browser.tabs.tabmanager.enabled", false);
user_pref("identity.fxaccounts.enabled", false);
user_pref("browser.preferences.moreFromMozilla", false);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
-//user_pref("browser.compactmode.show", true);
-//user_pref("browser.uidensity", 1);
+user_pref("browser.compactmode.show", true);
+user_pref("browser.uidensity", 1);
user_pref("browser.urlbar.suggest.bookmark", false);
user_pref("browser.urlbar.suggest.history", false);
user_pref("browser.urlbar.suggest.engines", false);
diff --git a/userChrome.css b/userChrome.css
@@ -13,17 +13,19 @@
}
}
-#reload-button { display: none !important; }
-#back-button { display: none !important; }
-#forward-button { display: none !important; }
+/* Remove back, forward, and refresh buttons */
+#back-button,
+#forward-button,
+#reload-button {
+ display: none !important;
+}
+
#sidebar-button { display: none !important; }
#firefox-view-button { display: none !important; }
#new-tab-button { display: none !important; }
#alltabs-button { display: none !important; }
-#stop-button { display: none !important; }
#identity-permission-box { display: none !important; }
#picture-in-picture-button { display: none !important; }
-#tracking-protection-icon-container { display: none !important; }
#star-button-box { display: none !important; }
#pageAction-urlbar-_testpilot-containers { display: none !important; }
#navigator-toolbox > #PersonalToolbar { display: none !important; }
@@ -34,3 +36,102 @@
}
#reader-mode-button { display: none !important; }
#translations-button { display: none !important; }
+
+#statuspanel[type="overLink"] {opacity: 0 !important;}
+#statuspanel {opacity: 0 !important;}
+#statuspanel {display:none!important}
+#statuspanel-label { display: none !important; }
+
+#unified-extensions-button:hover #unified-extensions-view,
+#unified-extensions-view:hover {
+ visibility: visible !important;
+ opacity: 1 !important;
+}
+
+/* Hide URL suggestions and other elements */
+#urlbar-results,
+#urlbar-go-button,
+#page-action-buttons,
+#reader-mode-button-container {
+ display: none !important;
+}
+
+/* Hide "This time search with" suggestion */
+#urlbar-one-offs-header-label {
+ display: none !important;
+}
+
+/* Hide search engine symbols */
+#urlbar-engine-one-off-item,
+#urlbar-one-off-search-buttons {
+ display: none !important;
+}
+
+/* Disable one-off search */
+#urlbar[oneoffsearchfieldshidden] {
+ pointer-events: none !important;
+}
+
+/* Hide sidebar */
+#sidebar-box {
+ visibility: collapse !important;
+}
+
+/* Hide bottom status/ui bar */
+#status-bar {
+ visibility: collapse !important;
+}
+
+scrollbar {
+ -moz-appearance: none !important;
+ display: none !important;
+ width: 0px !important;
+ background-color: transparent !important;
+}
+
+scrollcorner {
+ -moz-appearance: none !important;
+ display: none !important;
+}
+
+*[id*="sep"], *[class*="sep"] {
+ display: none !important;
+}
+
+
+/* Remove tab close button */
+.tab-close-button {
+ display: none !important;
+}
+
+/* Remove new tab button */
+#tabs-newtab-button {
+ display: none !important;
+}
+
+.titlebar-buttonbox-container {
+ display: none !important;
+}
+
+#stop-button {
+ display: none !important;
+}
+
+#customizableui-special-spring1,
+#customizableui-special-spring2 {
+ display: none !important;
+}
+
+#vertical-spacer {
+ display: none !important;
+}
+
+.search-one-offs {
+ display: none !important;
+ height: 0 !important;
+ overflow: hidden !important;
+}
+
+#urlbar-background,#urlbar {
+ border-radius: 0px !important;
+}