-
Save config.js to Firefox installation folder (usually C:\Program Files (x86)\Mozilla Firefox), next to firefox.exe.
-
Save config-prefs.js into \defaults\pref inside Firefox installation folder (usually C:\Program Files (x86)\Mozilla Firefox\defaults\pref), next to channel-prefs.js.
-
Click Firefox menu button (☰) -> Help -> Troubleshooting information (or simply open the address "about:support"), then click Open folder. This is the folder of your Firefox profile. In there, create a new folder called chrome.
-
Inside chrome, create another new folder called utils, then download one of the files below and extract its content in utils folder.
Now, if you're only interested in extensions, you can skip to step 7.
-
Save the desired userChromeJS scripts into chrome. Read below the description of some of them.
-
If you want a button to manage your userChromeJS scripts, save rebuild_userChrome.uc.js into chrome.
-
Restart Firefox.
(click to expand)
Enter Selects
Preselects the first suggestion from address bar. For instance, if this page is the first suggestion when you type "xiaoxiaoflood", you don't need to press down arrow key before Enter. This is a workaround for the bad Firefox design choice of autofill domains only.This script replaces autofill, so browser.urlbar.autoFill
is disabled on install. If you are typing part of a domain from the start and the first suggestion is from that domain (for instance, git from github.com), Tab key will autocomplete the domain even if the first suggestion is not the root.
I suggest to set browser.urlbar.suggest.searches = false
or browser.urlbar.matchBuckets = general:5
(general:5 means 5 normal suggestions before search suggestions, adjust the value as you wish).
Extension Options Menu
A single toolbar button to manage all your extensions. It opens a menu listing each extension. Left-click to open Options from the hovered addon, right-click to enable/disable, Ctrl + right-click to uninstall. Hover anywhere on the menu to see more.Screenshot:
Master Password+
Locks Firefox with password. This will prompt the password on browser startup or anytime when you lock it with Ctrl+Alt+Shift+W.You need to set a master password in Firefox Options > Privacy & Security > [×] Use a master password.
multifoxContainer
When Firefox introduced containers, I created this script to get some features that I missed from Multifox, the legacy addon that implemented "containers" years before Firefox having this feature by default. Since then, Firefox has added some things this script had, so I removed them. But I still use it for two things:-
New tabs (Ctrl+T or New Tab button) inherits the container of current tab (except for Private Tabs).
-
The label in urlbar serves as menubutton to reopen current tab in other container. With left click, current tab is replaced. With middleclick, a new tab is opened without closing the other one.
PrivateTab
Fx 77 blocked the ability to open private tabs in non-private windows, previously possible with Private Tab addon. So I decided to write this script as a replacement. You can change some minor settings at the beginning of the code.Status Bar
Brings back the good old status bar (also known as Addon Bar) at the bottom, with status text plus any buttons you want.Screenshots:
StyloaiX
Basic UserStyle manager with the same power of userChrome.css and userContent.css (can restyle both Firefox windows and websites). It loads .css files from \chrome\UserStyles. It supports instant enable/disable per style or global. It also can reload updated styles and load new ones. More features may be added in the future. To reskin websites, Stylus is a better option, with more features including autoupdate for styles available on the web. But Stylus can't touch the Firefox interface, only websites.Note: just like Stylish, UserStyles are loaded by default as AUTHOR_SHEET. If you need AGENT_SHEET or USER_SHEET (for instance, userContent.css is USER_SHEET), save the file as ".as.css" or ".us.css".
Screenshot (yes, I'm using the old Stylish icon):
Bonus: I don't like the new password manager and the old one was removed in Fx 77. I'm still using it. If you want it too, save these files, so that you can access the old password manager using chrome://userchromejs/content/passwordmgr/passwordManager.xhtml (bookmark this URL).