2021-01-15 15:31:42 +00:00
# Firefox
## `.gitignore`'d
2021-12-02 14:50:19 +00:00
- `*/` - folders whose names are `+` -separated concatenations of names of files in this directory (without their extensions) - these will be given `user.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
2021-01-15 15:31:42 +00:00
## `user.js` handling (Windows-specific)
2021-10-16 22:14:15 +00:00
Create `*.pac` files containing proxy auto-config files.
2021-01-15 15:31:42 +00:00
2021-12-02 14:50:19 +00:00
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.
2021-01-15 15:31:42 +00:00
2021-11-13 22:06:05 +00:00
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.
2021-01-15 15:31:42 +00:00
2021-11-13 22:06:05 +00:00
There is also a menu option in `config.sh` for creating symlinks from various Firefox profiles' `user.js` files to the assembled files.
2021-01-15 15:31:42 +00:00
## Additional manual setup
For each profile:
- Change the [default search engine ](about:preferences#search ) to DuckDuckGo
- Current approximate complement of add-ons (varies by profile):
2021-10-07 19:12:41 +00:00
- Blocking
- [NoScript Security Suite ](https://addons.mozilla.org/addon/noscript/ )
- [uBlock Origin ](https://addons.mozilla.org/addon/ublock-origin/ )
- Containers
- [Firefox Multi-Account Containers ](https://addons.mozilla.org/addon/multi-account-containers/ )
- [Temporary Containers ](https://addons.mozilla.org/addon/temporary-containers/ )
2023-04-12 21:14:38 +00:00
- General > Automatic Mode - enable
2023-06-02 13:37:18 +00:00
- General > Show popup when clicking the toolbar icon - enable
2022-05-05 00:33:34 +00:00
- General > Container Number - Reuse available numbers
2023-04-12 21:14:38 +00:00
- Isolation > Global > Mouse Click > Ctrl/Cmd+Left Mouse - Always
2022-05-05 00:33:34 +00:00
- Advanced > General > Keyboard shortcuts > Alt+X - enable
- Advanced > General > Keyboard shortcuts > Alt+O - enable
2023-04-12 21:14:38 +00:00
- Advanced > Delete History - enable
2022-06-28 12:46:01 +00:00
- Optional (varies by profile):
2022-07-11 21:22:01 +00:00
- Advanced > General > Isolation > Multi-Account Containers - enable
2022-06-28 12:46:01 +00:00
- Advanced > Delete History > Automatically create "Deletes History Temporary Containers" - enable
2021-10-07 19:12:41 +00:00
- Cookies
- [Cookie Quick Manager ](https://addons.mozilla.org/addon/cookie-quick-manager/ )
- [cookies.txt ](https://addons.mozilla.org/addon/cookies-txt/ )
- Feeds
- [Feedbro ](https://addons.mozilla.org/addon/feedbroreader/ )
- [RSSPreview ](https://addons.mozilla.org/addon/rsspreview/ )
- Miscellaneous
- [Buster: Captcha Solver for Humans ](https://addons.mozilla.org/addon/buster-captcha-solver/ )
- [Greasemonkey ](https://addons.mozilla.org/addon/greasemonkey/ )
2021-10-07 19:18:32 +00:00
- [Link Hints ](https://addons.mozilla.org/addon/linkhints/ )
2021-01-18 02:31:45 +00:00
2022-05-05 00:46:59 +00:00
## Configuring PAC
2021-01-18 02:31:45 +00:00
2022-05-05 00:46:59 +00:00
To use an SSH tunnel as a SOCKS proxy for select domains, open a dynamic tunnel with:
2021-01-18 02:31:45 +00:00
2022-05-05 00:46:59 +00:00
```shell
$ ssh -D 8000 hostname
2021-01-18 02:31:45 +00:00
```
2022-05-05 00:46:59 +00:00
and use a manual proxy configuration file containing something like:
2021-01-18 02:31:45 +00:00
```js
function FindProxyForURL(url, host) {
return /(^|\.)(example\.com|example\.net)$/.test(host) ? 'SOCKS 127.0.0.1:8000' : 'DIRECT';
}
```