Backup / Restore Firefox Settings

Refer: https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles

Source Computer

In Firefox click the pancake setting and go to Help, "More troubleshooting information"

Look for path to your "Profile Directory", such as:
/home/mruckman/.mozilla/firefox/6kzldk99.default-release

Close Firefox

Zip/Tar the entire folder

Target Computer

Same procedure as above, locate the folder of your profile. Erase everything in the folder and replace it with the source folder information, the contents remain the same, the only change is the folder name.

Make sure to CLOSE Firefox before deleting and copying the files

Firefox Disabled Extensions – Enable Them Again

Notes on how to use debug mode:
Refer: www.reddit.com/r/firefox...

Use about:debug, and the load each plug-in to enable it again:
Refer: https://superuser.com/questions/379239/where-is-the-mozilla-firefox-plugins-folder-on-a-mac

  • about:debug
  • create an alias to see hidden folders
  • Navigate to /User/<user>/Library/Application Support/Firefox/Profiles/<profile>/extensions

 

Turn off video auto play in Firefox

Refer: https://support.mozilla.org/en-US/questions/1222694

about:config?filter=autoplay

Helpful Reply
The pref that controls auto-play has been changed in the current Firefox release (63.0.1) to an Integer value.

media.autoplay.default = 0

When the first two prefs listed below (or at least user-gestures-needed) are true then there is also a setting available in "Options/Preferences -> Privacy & Security -> Permissions" and you can inspect and modify the exceptions.

media.autoplay.enabled.user-gestures-needed = true
media.autoplay.ask-permission = true
media.autoplay.default = 0 [0=Allowed, 1=Blocked, 2=Prompt]
You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

http://kb.mozillazine.org/about:config
See also:
https://support.mozilla.org/en-US/kb/block-autoplay

Backup of Firefox Settings

Refer: https://support.mozilla.org/en-US/questions/1126509

You can look at this extension:

  • Password Exporter: https://addons.mozilla.org/firefox/addon/password-exporter/

You can copy files like these to the current Firefox profile folder to restore specific data.

  • bookmarks and history: places.sqlite
  • bookmark backups: JSON backups in the bookmarkbackups folder
  • SQLite files like cookies.sqlite (cookies) and formhistory.sqlite (saved form data)
  • logins.json and key3.db (decryption key) for Passwords saved in the Password Manager
  • cert8.db and possibly cert_override.txt for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words you added to the spelling checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other Site Preferences
  • sessionstore.js for open tabs and pinned tabs and tab groups

You can use this button to go to the current Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory:
    Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder
  • http://kb.mozillazine.org/Profile_folder_-_Firefox

See also:

  • https://support.mozilla.org/kb/restore-bookmarks-from-backup-or-move-them
  • https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile

Single Sign-on in Firefox

Use the about:config and then white list all of the URL that should use it, such as:

network.automatic-ntlm-auth.allow-proxies;true
network.automatic-ntlm-auth.trusted-uris;http://halprdtlf01.flagship.hal.com,http://halit

Changing Firefox Icon in VM

Use following command to locate firefox installtion:

$locate firefox

To determine location of icon PNG file, just in case

It's currently located here:

/usr/share/icons/hicolor/48x48/apps/firefox.png

Right-click the browser icon in your VM choose properties, and then click the current icon, navigate to the following folder, and then click icon and choose the firefox.png icon.

/usr/share/icons/hicolor/48x48/apps/