user.js
Code:
user_pref("accessibility.typeaheadfind.flashBar", 0);
user_pref("browser.aboutConfig.showWarning", false);
user_pref("browser.ctrlTab.recentlyUsedOrder", false);
user_pref("browser.download.animateNotifications", false);
user_pref("browser.newtab.preload", false);
user_pref("browser.onboarding.enabled", false);
user_pref("browser.startup.homepage", "about:blank");
user_pref("browser.stopReloadAnimation.enabled", false);
user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.uidensity", 1);
user_pref("browser.urlbar.formatting.enabled", false);
user_pref("browser.urlbar.speculativeConnect.enabled", false);
user_pref("browser.urlbar.trimURLs", false);
user_pref("findbar.highlightAll", true);
user_pref("general.smoothScroll", false);
user_pref("general.warnOnAboutConfig", false);
user_pref("keyword.enabled", false);
user_pref("media.videocontrols.picture-in-picture.video-toggle.enabled", false);
user_pref("network.prefetch-next", false);
user_pref("security.insecure_field_warning.contextual.enabled", false);
user_pref("toolkit.cosmeticAnimations.enabled", false);
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
user_pref("toolkit.scrollbox.smoothScroll", false);
user_pref("ui.prefersReducedMotion", 1);
user_pref("xul.panel-animations.enabled", false);
Append these to enable dark mode.
Code:
user_pref("ui.systemUsesDarkTheme", 1);
user_pref("browser.in-content.dark-mode", true);
user_pref("widget.disable-dark-scrollbar", false);
user_pref("devtools.theme", "dark");
user_pref("extensions.activeThemeID", "");
userChrome.css
Code:
/* REMOVE MEGABAR START
* VERSION 1.0.4
* CODE AT: http://userchrome.wesleybranton.com/megabar
* RELEASE NOTES: http://userchrome.wesleybranton.com/notes/megabar */
@-moz-document url(chrome://browser/content/browser.xhtml) {
/* DISABLE EXPANDING START */
#urlbar[breakout][breakout-extend] {
top: calc((var(--urlbar-toolbar-height) - var(--urlbar-height)) / 2) !important;
left: 0 !important;
width: 100% !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 0 !important;
padding-inline: 0 !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-background {
animation-name: none !important;
box-shadow: 0 1px 4px rgba(0, 0, 0, .05) !important;
}
/* DISABLE EXPANDING END */
/* REMOVE URL RESULT PADDING START */
.urlbarView {
margin-inline: 0 !important;
width: 100% !important;
}
.urlbarView-row {
padding-block: 0 !important;
}
/* REMOVE URL RESULT PADDING END */
/* MOVE URL RESULT TYPE ICON TO LEFT START */
.urlbarView-type-icon {
min-width: 16px !important;
height: 16px !important;
margin-bottom: 0 !important;
margin-inline-start: 0 !important;
}
.urlbarView-favicon {
margin-inline-start: 20px !important;
}
/* MOVE URL RESULT TYPE ICON TO LEFT END */
/* DISPLAY GO BUTTON WHEN TYPING START */
#urlbar-input-container[pageproxystate="invalid"] #urlbar-go-button {
display: block !important;
}
/* DISPLAY GO BUTTON WHEN TYPING END */
/* ALWAYS SHOW PAGE ACTIONS START */
/* DISABLED BY DEFAULT - UNCOMMENT TO ENABLE */
/*#pageActionButton {
display: block !important;
}*/
/* ALWAYS SHOW PAGE ACTIONS END */
}
/* REMOVE MEGABAR END */
...then disable all "One-Click Search Engines" and turn off open tab, history and top sites suggestions for the address bar. You can get the old about:config at chrome://global/content/config.xhtml, by the way, until Mozilla kills that too.
Bookmarks