User Tools

Site Tools


firefox

If you want to send us your comments, please do so. Thanks
More on comments


Firefox

Alternatives

Floorp is from Japan and comes with excellent privacy, flexibility and unlimited customization
LibreWolf is a custom version of Firefox, focused on privacy, security and freedom
Waterfox is ethical and open

Report broken site

In the address bar under the Shield icon can be the “Report Broken Site” option.
When it is present and when not is not clear at this point in time.

CLI

Run

firefox --help

to list all command line options

firefox --headless # To be investigated

Update Firefox

As root

Updating as root does not work anymore since Firefox 58

Normal users

As root do once, if not already done at installation time

usermod --groups users --append user

If there are multiple users who have to be able to update repeat this for each user
Add to /etc/cron.daily this script (if you do not use Thunderbird you can delete the Thunderbird part)

# Check firefox for being user updatable and if not set the correct permissions
filecount=$(find /opt/firefox ! -group user | wc -l)
if [[ $filecount -ne 0 ]]; then
  echo filecount is: $filecount
  chmod -R g+w /opt/firefox
  chown -R root:user /opt/firefox
  echo Cron updated firefox permissions on `date`
fi
 
# Check thunderbird for being user updatable and if not set the correct permissions
filecount=$(find /opt/thunderbird ! -group user | wc -l)
if [[ $filecount -ne 0 ]]; then
  echo filecount is: $filecount
  chmod -R g+w /opt/thunderbird
  chown -R root:user /opt/thunderbird
  echo Cron updated thunderbird permissions on `date`
fi

After saving it to mozilla.sh do

chmod 740 mozilla.sh

Now a normal user can update firefox with via Help | About

If this does not work then update manually. See below

Script

This is obsolete since the “Normal users” way above works and is far more convinient

Or use this script ( /home/user/firefox.sh )
If you use profiles add -p after /opt/firefox/firefox

#! /bin/bash
FIREFOXVERSION=`/opt/firefox/firefox -v`
/opt/firefox/firefox
NEWFIREFOXVERSION=`/opt/firefox/firefox -v`
if [[ $FIREFOXVERSION != $NEWFIREFOXVERSION ]]; then
	sudo /bin/chown -R root:users /opt/firefox/*
	sudo /bin/chmod -R g+w /opt/firefox/*
fi

Do

chmod 740 /home/user/firefox.sh

As root do if there are multiple users

chown user:users /home/user/firefox.sh

Place /home/user/firefox.sh in the Firefox launcher in the field Command: This field has a browsebuton to help you with this
Now a normal user can update firefox with via Help | About

Manually

When Firefox is installed in /opt it can be updated manually

  • Close Firefox
  • Login as root in a terminal window
    • Move the firefox-[versionnumber].tar.bz2 to /opt
    • Extract it with tar xf firefox-[versionnumber].tar.bz2
  • Log root out (or not)
  • Start Firefox with the quicklaunch button
  • Check the version via Help | About

Profiles

Close Firefox first
Start the Firefox profilemanager from the command line:

firefox -p

Start Firefox with a certain profile:

/opt/firefox/firefox -P "profilename" -no-remote

Customize Firefox

Firefox is based on a HTML style sheet. To remove the tabs remove the margin from the top which squezes them out of view. Search for “ Firefox customize style sheet” to find more information

GET versus POST. The POST method is better for your privacy

Scrollbar

Always show the scrollbar. In about:config set:
toolkit.legacyUserProfileCustomizations.stylesheets to true

Use css to Customize the scrollbar1). There is also an addon but it can not set the width wider

Key bindings

Keyboard shortcuts - Perform common Firefox tasks quickly
Mozilla's index
Both are searchable

KeyFunctionRemark
Shift + F5Open Profiler
Shift + F6Toggle selection of the address bar
Shift + F7Open Style Editor
Shift + F9Storage Inspector
Ctrl+BackspaceClear date, time, and datetime-local input fields
Ctrl+DeleteClear date, time, and datetime-local input fields
Crtl + fOpen the search bar
Ctrl + iOpen intormation popup about the URL
Ctrl + kSelect the searchbox
ctrl + lSelect the addressbar
Ctrl + Shift + CToggle “Pick an element from the page” (opens the Toolbox and/or focus the Inspector ab)
Ctrl + Shift + EOpen Network Monitor 2
Ctrl + Shift + I or F12Toggle the Toolbox (with the most recent tool activated)
Ctrl + Shift + JOpen Browser Console
Ctrl + Shift + KOpen Web Console 1
Ctrl + Shift + MToggle Responsive Design Mode
Ctrl + Shift + ZOpen Debugger 3
Ctrl + Alt + Shift + IOpen Browser Toolbox
/Quick search (if enabled in settings)
/ EscClose the search bar opened with Crtl + f

Address bar

Can do calculations

KeyFunctionRemark
>Search in Actions
*Search in Bookmarks
^Search in History
%Search in TabsType: %searchstring
CTRL kSelect an other search engine / optionScroll with up / down keys
Search with
!aAmazon
!bBing
!cCnet
!d--
!eeBay
!fFlickr
!gGoolge
!h--
!wWikipedia

Homepage

Multiple pages as homepage: Separate them with a “|” in the settings

Tabs

(un)loading

  • Prevent untouched pinned tabs from loading. In about:config set browser.sessionstore.restore_pinned_tabs_on_demand to true
  • Unload tabs manually goto about:unloads

Open Tabs Next to Current

You can use Ctrl-T or Ctrl-Y to open a new tab at the default location
In about:config set browser.tabs.insertAfterCurrent setting to true

Toggle

To be able to toggle between the current tab and the previous tab do

  • In the address bar: about:config
  • In about:config enter in the search box: browser.ctrlTab.sortByRecentlyUsed
  • Set to true (toggle with the <> icon on the right side)

Tab functions

Tab functionDescriptionRemark
%Type it in the address bar. Then enter your search text. Now only the open tabs (not bookmarks and history) are searchedMaybe a space is needed after the % sign
DuplicateCreate a copy of the tab next to the tab being duplicated
Freeze Function not clear to us
MutePrevents the tab from playing sound
LockPrevents links to navigate to another page or URL in the tab. Opens a new tab insteadDid not work for us
ReloadReload the tab so updates on the page get visible F5 does the same. Because of the browser cache this might not work. To be save use a browser add-on that can clear the browser cache
RenameGive the tab an other nameDid not work for us
PinOnly the icon of the tab on the left side of the tab bar
ProtectPrevents the tab from closingDid not work for us
Down arrow at the end of the tab barThis is a drop-down menu which shows list of all the open tabs in the browserIt becomes visible when more than 24 (pinned + unpinned) tabs are open
Plus sign at the end of the tab barWhen clicked a new tab is opened

Master Password

Clear

Do

  • Preferences | Privacy & Security | Click on the “Change Master Password…” button
  • Enter the old password
  • Click on “OK”

Now there is no password set for the saved logins and passwords database in Firefox

Reset

To reset the master password do

chrome://pippki/content/resetpassword.xul

Source Reset your master password if you forgot it

Backup

Copy logins.json and key4.db to a save place
These files can also be used to load a new instance of Firefox (on an other computer) with this password vault

On systems with an SSD

To save the SSD do, in about:config:

  • Turn the cache off: Set browser.cache.disk.capacity to zero
  • Set browser.cache.disk.enable to false

Todo: Investigate other cache settings

Auto refresh

In about:config:

The “refresh” proposal from Firefox after Firefox has not been used for some time (60 days) is super misleading. It wipes out many settings and data like bookmarks and history. To turn it of set browser.meta_refresh_when_inactive.disabled to true

Block automatic page refreshing, instead displaying a message allowing them to manually refresh the page. Set accessibility.blockautorefresh to true

Translation

Firefox translate page and one more
Settings in about:config. Search for “translation”:

  • Turned on / off via “browser.translations.enable” and click on the toggle icon on the right
  • browser.translations.alwaysTranslateLanguages is handled via the contex menu
  • browser.translations.neverTranslateLanguages is handled via the contex menu
  • browser.translation.ui.show set to 'true'
  • browser.translation.detectLanguage set to 'true'

Issues

Enabling translations in about:config does not enable translation, not even after a Firefox restart
In about:preferences General tab under 'Translations' there is an error message: 'Failed to get the list of available languages for translation. Refresh the page to try again.' That has been done. The issue persists.
Solution: Check the firewall / Pi-hole DNS server for blockages. After disabling blockages and installing languages translation worked without having to restart Firefox. Open tabs have to be reloaded before the translate icon shows up on the right in the addressbar

High CPU load

If Firefox has a sustained high CPU load check about:performance. The high CPU load might be caused by an Add-on. Click on more next to the Add-on on top of the list and check CPU usage:. Try to disable some functionality of the Add-on. If that not possible try if disabling the Add-on with the high CPU load solves the issue

Certificates

When you are installing a certificate on Firefox and get

Please enter your master password

enter the Firefox master password of the password vault

Notifications

Turn them off by clicking on the Settings button in Privacy & Security | Permissions | Notifications and then mark “Block new requests asking to allow notifications”

Picture in Picture

Turn the toggle off

  • Find a video where you can see the Picture-in-Picture toggle.
  • Right click on the toggle.
  • Click: “Hide Picture-in-Picture toggle”

More on Picture-in-Picture

Filenames

File nameExplanation
webappsstore.sqlite-walwal: Write-Ahead Logging. Will be removed when Firefox is closes

Files

FileRemark
omni.jaIs in Firefox's program folder and replaced every update

Extensions

NameFunctionRemark
AdGuard AdBlockerBlocks all types of ads on all web pages, even on Facebook, YouTube, and others.
Easy Youtube Video Downloader ExpressDownload Youtube video'sIn a terminal yt-dlp can also be used
Rumble download mediaDownload Rumble video'sIn a terminal yt-dlp can also be used

WebGL

Check which WebGL versions are supported In Settings > Performance > Off: Use recommended performance settings > On: Use hardware acceleration when available

Test siteDescription
Babylon.js DemosShowcasing Babylon.js features
Babylon.jsPlayground for the Babylon.js framework
ShaderToyCreate and share GLSL shaders
Spheres with WebGL 2Demonstrate sphere rendering with WebGL 2
Three.js WebGL 2 ExamplesInteractive 3D
Three.js Library examplesInteractive 3D three.js library examples
Get WebGLIf WebGL 1.0 and up is supported a spinning cube is shown
WebGL 2.0 Graphics TutorialComprehensive tutorials on OpenGL ES and WebGL 2.0 graphics programming.
WebGL 2 SamplesProvides various lessons demonstrating WebGL 2 functionalities.

Errors

Firefox is being updated by an other instance

This can also mean that there is an other instance running. It not necessarily means that an update is in progress


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2026 Webevaluation.nl and the authors
Changes reserved.

firefox.txt · Last modified: by wim