Note: I've tested this with the current firefox-esr 91.7.0esr from Debian's main repos but webext-privacy-badger and webext-ublock-origin-firefox and browserpass, although all installed from main, became unavailable in the Menu Bar, but remained available in the usual default-esr profile. I guess that the template is updated for, and better suited for use with the latest version of firefox; for details, please see wiki.debian.org/Firefox]
[Edit 21.03.22] Tested again with firefox-esr 91.7 and it works fine with the above extensions from Debian main repository. See #p752202 below for details.] Use user.js/releases/tag/91.1
If you wish to revert to the firefox defaults, just back up and/or delete the new profile.
Use ALT and F2 keys to Run Application
Type or paste: firefox -p
Use Create Profile Wizard to make a new profile called, for example privacy
Click finish
Now you need to launch firefox with the new privacy profile so its directories and files get created.
To have a choice of profiles, uncheck:
Use the selected profile without
asking at startup
Now close firefox.
Install wget if you don't already have it.
Note: Copy and paste the following commands, which must be executed as your user, not root, in your home directory (For details how to use user.js-notify.sh, see the linked page).
Code: Select all
$ cd .mozilla/firefox/*.privacy
$ wget https://raw.githubusercontent.com/arkenfox/user.js/master/prefsCleaner.sh
$ wget https://raw.githubusercontent.com/arkenfox/user.js/master/updater.sh
$ wget https://codeberg.org/12bytes.org/firefox-user.js-supplement/raw/branch/master/user-overrides.js
$ wget https://codeberg.org/12bytes.org/firefox-user.js-supplement/raw/commit/0cab6433addbf0fa5456873d5dfe5582d7e77ff6/misc/user.js-notify.sh
$ chmod +x prefsCleaner.sh
$ chmod +x updater.sh
Code: Select all
user@debian:~/.mozilla/firefox/abcd1234.privacy$
Code: Select all
$ ./updater.sh
Any time you wish to update, just re-run the script as before (the wildcard asterisk avoids having to type the first part of the filename before the dot):
Code: Select all
user@debian:~$ cd .mozilla/firefox/*.privacy
user@debian:~/.mozilla/firefox/abcd1234.privacy$ ./updater.sh