Firefox - Tips and Tricks
This pages collects my tips and tricks for the changes I usually do to customise my Firefox.
- Custom search engines
- Container Tabs
- Desktop Notifications
- Hardware media keys
- Open bookmarks in new tab by default
- Overscroll gesture for navigation
- Saving link by ALT+Click
- Spelling and Grammar check
- Windows taskbar icons for profiles
Custom search engines
Firefox allows you to easily add and manage custom search engines. This can be useful if you frequently use a specific search engine that is not included by default. You can add custom search engines in the Search Settings page.
- Open Mozilla Firefox and navigate to the address
about:preferences#search. - Scroll down to the Search Shortcuts section.
- You can add a custom search engine by clicking on Add and entering the search engine’s name, keyword, and URL with
%sas a placeholder for the search query. - Click Add to save the custom search engine.
If the Add button is not available, you can enable it by setting the following key in the Advanced Configuration page:
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following key to
Trueto enable the Add button:browser.urlbar.update2.engineAliasRefresh
- Close tab
Container Tabs
Firefox supports container tabs, which allow you to separate your browsing activities into different contexts. This can be useful for managing work and personal browsing, for example. You can enable and configure container tabs in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following keys to
Trueto enable container tabs:privacy.userContext.enabledprivacy.userContext.ui.enabled
- Close tab
Desktop Notifications
See this post on how to enable the desktop notification in Firefox.
Hardware media keys
For some devices I want the media keys should control the media application and not the webbrowser. FireFox can be configured to ignore the media keys input from the keyboard in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following key to
Falseto disable hardware media keys:media.hardwaremediakeys.enabled
- Close tab
- A restart of the browser may be needed.
Open bookmarks in new tab by default
By default, when clicking a bookmark in Firefox, it opens in the current tab. If you prefer to have bookmarks open in a new tab by default, you can change this behavior in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following key to
Trueto enable opening bookmarks in a new tab:browser.tabs.loadBookmarksInTabs
- Close tab
Overscroll gesture for navigation
When using my laptop I use the touchpad to scroll around the webpage. I most cases this means scrolling up and down, sometimes this also means scrolling side to side.
Firefox includes this overscrolling gesture that if you are at the very left of the webpage and scroll further left, the browser will instead navigate to previous page, and respectively to right page if you try to scroll right instead.
This can be disabled in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following keys to
Falseto disable the overscroll gesture:browser.gesture.swipe.leftbrowser.gesture.swipe.right
- Close tab
Saving link by ALT+Click
Sometimes it is practical so save links to files without having them opened with any other programs or the webbrowser. FireFox supports saving a link by ALT+clicking the link. This setting can be enabled in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following key to
Trueto enable saving links by ALT+clicking:browser.altClickSave
- Close tab
Spelling and Grammar check
Firefox includes a spelling and grammar check feature. Sometimes a bug occurs that this feature must be re-enabled in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:config. - Accept the warning if required.
- Set the following keys to
1or2:layout.spellcheckDefault
- If need be, install the following dictionary extension from the Firefox Add-ons page:
Windows taskbar icons for profiles
Normally, multiple Firefox profiles share the same taskbar icon in Windows. To enable a Firefox profile to have its own taskbar icon in Windows, you need make changes in the Advanced Configuration page.
- Open Mozilla Firefox and navigate to the address
about:profile. - Launch the profile you want to have its own taskbar icon.
- In this profile, navigate to the address
about:config. - Accept the warning if required.
- Set the following key to
Trueto enable a separate taskbar icon for this profile:taskbar.grouping.useprofile
- Restart Firefox profile to apply the changes.