.. | ||
.gitignore | ||
base_configuration.js | ||
delete_cookies.js | ||
disable_history.js | ||
preserve_session.js | ||
README.md |
Firefox
.gitignore
'd
*/
- folders whose names are+
-separated concatenations of names of files in this directory (without their extensions) - these will be givenuser.js
files constructed by concatenation of the base files, and will then be symlinked to from various Firefox profiles'user.js
files*.pac
- proxy auto-config files - these too can be referred to in the above+
-separated folder names
user.js
handling (Windows-specific)
Create *.pac
files containing proxy auto-config files.
Create empty directories whose names are assembled by concatenating the names of templates in this directory (without the .js
or .pac
extension) separated by +
s.
There is a menu option in config.sh
to generate (or regenerate) user.js
files in these directories from their constituent templates, including adding the appropriate configuration to point to a particular *.pac
file.
There is also a menu option in config.sh
for creating symlinks from various Firefox profiles' user.js
files to the assembled files.
Additional manual setup
For each profile:
- Change the default search engine to DuckDuckGo
- Current approximate complement of add-ons (varies by profile):
- Blocking
- Containers
- Firefox Multi-Account Containers
- Temporary Containers
- General > Automatic Mode - enable
- General > Show popup when clicking the toolbar icon - enable
- General > Container Number - Reuse available numbers
- Isolation > Global > Mouse Click > Ctrl/Cmd+Left Mouse - Always
- Advanced > General > Keyboard shortcuts > Alt+X - enable
- Advanced > General > Keyboard shortcuts > Alt+O - enable
- Advanced > Delete History - enable
- Optional (varies by profile):
- Advanced > General > Isolation > Multi-Account Containers - enable
- Advanced > Delete History > Automatically create "Deletes History Temporary Containers" - enable
- Cookies
- Feeds
- Miscellaneous
Configuring PAC
To use an SSH tunnel as a SOCKS proxy for select domains, open a dynamic tunnel with:
$ ssh -D 8000 hostname
and use a manual proxy configuration file containing something like:
function FindProxyForURL(url, host) {
return /(^|\.)(example\.com|example\.net)$/.test(host) ? 'SOCKS 127.0.0.1:8000' : 'DIRECT';
}