These files goes into your user profile folder, which can be found at about:profiles.
The user.js file goes into the root of the profile directory, and userChrome.css and userContent.css goes into a subfolder called chrome.
These files goes into your user profile folder, which can be found at about:profiles.
The user.js file goes into the root of the profile directory, and userChrome.css and userContent.css goes into a subfolder called chrome.
| /* | |
| Mozilla deprecated user customization! ☹ | |
| For speed, they said. While speed IS important, I really think they should | |
| prioritise customizability and plugin api before crippling the browser | |
| for a few millis in launch speed. Firefox have, for me, always been the | |
| customizable browser. I don't give a rats ass about privacy (more than whats | |
| reasonable). Modulisation, customisability, and stability is what I look for | |
| in any software. | |
| Anyway, to re-enable: | |
| */ | |
| user_pref('toolkit.legacyUserProfileCustomizations.stylesheets', true); | |
| /* | |
| Disable un-wanted but built-in extensions and features. | |
| */ | |
| user_pref('browser.pocket.enabled', false); | |
| user_pref('extensions.pocket.enabled', false); | |
| /* | |
| Disables backspace. | |
| Because occasionally it triggers while I'm writing a long Reddit comment. ☹ | |
| */ | |
| user_pref('browser.backspace_action', 2); | |
| /* | |
| Some ads and websites somewhy try to turn on VR without my permission. | |
| This launches SteamVR on the desktop. Lets turn it off, I don't use it. | |
| */ | |
| user_pref('dom.vr.openvr.enabled', false); | |
| user_pref('dom.vr.enabled', false); | |
| /* | |
| Forcing webrender is way more performant, | |
| will probably be enabled by default in the future | |
| */ | |
| // user_pref('gfx.webrender.all', true); | |
| // user_pref('gfx.webrender.enabled', true); | |
| // Sidebar position right. | |
| user_pref("sidebar.position_start", false); | |
| // Dont remember my passwords. | |
| user_pref("signon.rememberSignons", false); | |
| // Disable spellcheck. | |
| user_pref("layout.spellcheckDefault", 0); | |
| // Disable autoscroll and smoothscroll. | |
| user_pref("general.autoScroll", false); | |
| user_pref("general.smoothScroll", false); | |
| user_pref("browser.aboutConfig.showWarning", false); | |
| user_pref("browser.newtab.extensionControlled", true); |
| /* show bookmarks toolbar on new tab only */ | |
| /* #main-window:not([title^='Firefox Developer Edition']) #PersonalToolbar { | |
| visibility: collapse !important; | |
| } */ | |
| /* | |
| Hide close tab button on inactive tabs. | |
| Prevents accidental closings when using touch. | |
| */ | |
| .tabbrowser-tab:not([visuallyselected='true']) .tab-close-button { | |
| display: none !important; | |
| } | |
| /* Move "find on page" box to the top of the page. */ | |
| .browserContainer > findbar { | |
| -moz-box-ordinal-group: 0; | |
| position: fixed !important; | |
| } | |
| /* | |
| Hide back/forwards/refresh buttons when grayed out. | |
| */ | |
| .tabbrowser-arrowscrollbox > .scrollbutton-up[disabled='true'], | |
| .tabbrowser-arrowscrollbox > .scrollbutton-down[disabled='true'], | |
| :root:not([customizing]) .toolbarbutton-1[disabled='true'], | |
| /* #nav-bar-overflow-button[disabled='true'], */ | |
| #PanelUI-menu-button[disabled='true'] { | |
| display: none !important; | |
| } | |
| /* | |
| Why is there a max width on a "flexible space" anyway? Doesn't seem very flexible. | |
| */ | |
| /* toolbarpaletteitem[place='toolbar'][id^='wrapper-customizableui-special-spring'], | |
| toolbarspring { | |
| max-width: inherit; | |
| } */ | |
| /* | |
| Hide item from context menu | |
| */ | |
| #context-sendimage, | |
| #context-setDesktopBackground, | |
| #context-bookmarkpage, | |
| #context-savepage, | |
| #context-sep-sendpagetodevice, | |
| #context-sendpagetodevice, | |
| #context-selectall, | |
| #context-sep-viewbgimage, | |
| #context-viewsource, | |
| #context-viewinfo, | |
| #context-sep-viewsource, | |
| #context-sep-sendlinktodevice, | |
| #context-sendlinktodevice, | |
| #context-sep-open, | |
| #context-bookmarklink, | |
| #context-viewbgimage[disabled='true'], | |
| #context-viewpartialsource-selection { | |
| display: none !important; | |
| } | |
| /* | |
| Right-aligned toolbars: | |
| */ | |
| /* #PersonalToolbar #PlacesToolbarItems { | |
| -moz-box-pack: end !important; | |
| } */ | |
| /* | |
| Alternative way of doing right-aligned toolbars: | |
| */ | |
| /* #PersonalToolbar #PlacesToolbarItems { | |
| direction: rtl !important; | |
| } */ | |
| /* remove maximum/minimum width restriction of sidebar */ | |
| #sidebar { | |
| max-width: none !important; | |
| min-width: 0px !important; | |
| } | |
| /* | |
| Other context menu ids: | |
| context-back | |
| context-forward | |
| context-reload | |
| context-stop | |
| context-bookmarkpage | |
| context-savepage | |
| context-sep-sendpagetodevice | |
| context-sendpagetodevice | |
| context-sep-viewbgimage | |
| context-viewbgimage | |
| context-selectall | |
| context-sep-viewsource | |
| context-viewsource | |
| context-viewinfo | |
| inspect-separator | |
| context-inspect | |
| spell-no-suggestions | |
| spell-add-to-dictionary | |
| spell-undo-add-to-dictionary | |
| spell-suggestions-separator | |
| context-openlinkincurrent | |
| context-openlinkincontainertab | |
| context-openlinkintab | |
| context-openlinkinusercontext-menu | |
| context-openlink | |
| context-openlinkprivate | |
| context-sep-open | |
| context-bookmarklink | |
| context-savelink | |
| context-savelinktopocket | |
| context-copyemail | |
| context-copylink | |
| context-sep-copylink | |
| context-media-play | |
| context-media-pause | |
| context-media-mute | |
| context-media-unmute | |
| context-media-playbackrate | |
| context-media-loop | |
| context-media-showcontrols | |
| context-media-hidecontrols | |
| context-video-fullscreen | |
| context-leave-dom-fullscreen | |
| context-video-pictureinpicture | |
| context-media-sep-commands | |
| context-reloadimage | |
| context-viewimage | |
| context-viewvideo | |
| context-copyimage-contents | |
| context-copyimage | |
| context-copyvideourl | |
| context-copyaudiourl | |
| context-sep-copyimage | |
| context-saveimage | |
| context-sendimage | |
| context-setDesktopBackground | |
| context-viewimageinfo | |
| context-viewimagedesc | |
| context-savevideo | |
| context-saveaudio | |
| context-video-saveimage | |
| context-sendvideo | |
| context-sendaudio | |
| context-ctp-play | |
| context-ctp-hide | |
| context-sep-ctp | |
| context-pocket | |
| context-sep-sendpagetodevice | |
| context-sendpagetodevice | |
| context-sep-viewbgimage | |
| context-viewbgimage | |
| context-undo | |
| context-sep-undo | |
| context-cut | |
| context-copy | |
| context-paste | |
| context-delete | |
| context-sep-paste | |
| context-selectall | |
| context-sep-selectall | |
| context-keywordfield | |
| context-searchselect | |
| context-sep-sendlinktodevice | |
| context-sendlinktodevice | |
| frame-sep | |
| frame | |
| context-viewpartialsource-selection | |
| context-sep-viewsource | |
| context-viewsource | |
| context-viewinfo | |
| spell-separator | |
| spell-check-enabled | |
| spell-add-dictionaries-main | |
| spell-dictionaries | |
| context-sep-bidi | |
| context-bidi-text-direction-toggle | |
| context-bidi-page-direction-toggle | |
| fill-login-separator | |
| fill-login | |
| inspect-separator | |
| context-inspect | |
| context-inspect-a11y | |
| context-media-eme-separator | |
| context-media-eme-learnmore | |
| */ |
| /* | |
| Nothing here yet. | |
| */ |