Compare commits
28 Commits
Author | SHA1 | Date | |
---|---|---|---|
d6b26e7558 | |||
7ff46e02dd | |||
4ff931781a | |||
9aae0a62b0 | |||
eb98f06d69 | |||
81561840a1 | |||
64bc683c3f | |||
b4225baaf2 | |||
e00497fd51 | |||
d9af90d05f | |||
0d83307b14 | |||
4f3f789f28 | |||
6b6ed86b6c | |||
382b9181df | |||
ba052105de | |||
4bd17611df | |||
41468d0d0b | |||
a98b73c64e | |||
58e2618b9d | |||
d61da93aad | |||
562127be87 | |||
917e3fe1aa | |||
89bee0e361 | |||
4c74f1bffb | |||
0d9de9174a | |||
45043537d8 | |||
cc7ca9d0fa | |||
10044fcaf7 |
38
.github/ISSUE_TEMPLATE/troubleshooting-help.md
vendored
@ -1,29 +1,31 @@
|
||||
---
|
||||
name: Troubleshooting help
|
||||
about: Ask for help to solve problems with user.js
|
||||
title: ''
|
||||
title: 'follow instructions or this will be closed as invalid'
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
Before you proceed...
|
||||
- Issues will be closed as invalid if you do not [troubleshoot](https://github.com/arkenfox/user.js/wiki/1.4-Troubleshooting), including
|
||||
- confirming the problem is caused by the `user.js`
|
||||
- searching the `[Setup` tags in the `user.js`
|
||||
- Search the GitHub repository. The information you need is most likely here already.
|
||||
- Note: We do not support forks
|
||||
<!--
|
||||
|
||||
See also:
|
||||
- Override Recipes [issue 1080](https://github.com/arkenfox/user.js/issues/1080)
|
||||
- Extension breakage due to prefs [issue 391](https://github.com/arkenfox/user.js/issues/391)
|
||||
- Prefs vs Recommended Extensions: Co-Existance+Enhancement | Conflicts [issue 350](https://github.com/arkenfox/user.js/issues/350)
|
||||
Issues will be closed as invalid if you do not troubleshoot first, or if you ignore the required info in the template.
|
||||
|
||||
If you still need help, help us help you by providing relevant information:
|
||||
- browser version
|
||||
- Steps to Reproduce (STR)
|
||||
- actual result
|
||||
- expected result
|
||||
- anything else you deem worth mentioning
|
||||
We do not support forks or no-longer supported releases.
|
||||
|
||||
Clear all of this when you're ready to type.
|
||||
-->
|
||||
|
||||
|
||||
🟥 https://github.com/arkenfox/user.js/wiki/5.2-Troubleshooting
|
||||
- [ ] I have read the troubleshooting guide, done the checks and confirmed this is caused by arkenfox
|
||||
- _unchecked issues ~~may~~ will be closed as invalid_
|
||||
|
||||
🟪 REQUIRED INFO
|
||||
- Browser version & OS:
|
||||
- Steps to Reproduce (STR):
|
||||
- Expected result:
|
||||
- Actual result:
|
||||
- Console errors and warnings:
|
||||
- Anything else you deem worth mentioning:
|
||||
|
||||
---
|
||||
|
@ -1,5 +1,5 @@
|
||||
### 🟪 user.js
|
||||
A `user.js` is a configuration file that can control hundreds of Firefox settings. For a more technical breakdown and explanation, you can read more on the [overview](https://github.com/arkenfox/user.js/wiki/1.1-Overview) wiki page.
|
||||
A `user.js` is a configuration file that can control Firefox settings - for a more technical breakdown and explanation, you can read more in the [wiki](https://github.com/arkenfox/user.js/wiki/2.1-User.js)
|
||||
|
||||
### 🟩 the arkenfox user.js
|
||||
|
||||
@ -7,9 +7,9 @@ A `user.js` is a configuration file that can control hundreds of Firefox setting
|
||||
|
||||
The `arkenfox user.js` is a **template** which aims to provide as much privacy and enhanced security as possible, and to reduce tracking and fingerprinting as much as possible - while minimizing any loss of functionality and breakage (but it will happen).
|
||||
|
||||
Everyone, experts included, should at least read the [implementation](https://github.com/arkenfox/user.js/wiki/1.3-Implementation) wiki page, as it contains important information regarding a few `user.js` settings.
|
||||
Everyone, experts included, should at least read the [wiki](https://github.com/arkenfox/user.js/wiki), as it contains important information regarding a few `user.js` settings.
|
||||
|
||||
Note that we do *not* recommend connecting over Tor on Firefox. Use the [Tor Browser](https://www.torproject.org/projects/torbrowser.html.en) if your [threat model](https://www.torproject.org/about/torusers.html.en) calls for it, or for accessing hidden services.
|
||||
Note that we do *not* recommend connecting over Tor on Firefox. Use the [Tor Browser](https://www.torproject.org/projects/torbrowser.html.en) if your [threat model](https://2019.www.torproject.org/about/torusers.html) calls for it, or for accessing hidden services.
|
||||
|
||||
Also be aware that the `arkenfox user.js` is made specifically for desktop Firefox. Using it as-is in other Gecko-based browsers can be counterproductive, especially in the Tor Browser.
|
||||
|
||||
|
0
prefsCleaner.sh
Normal file → Executable file
@ -3,7 +3,7 @@
|
||||
- removed from the arkenfox user.js
|
||||
- deprecated by Mozilla but listed in the arkenfox user.js in the past
|
||||
|
||||
Last updated: 16-January-2022
|
||||
Last updated: 5-May-2022
|
||||
|
||||
Instructions:
|
||||
- [optional] close Firefox and backup your profile
|
||||
@ -34,7 +34,13 @@
|
||||
/* DEPRECATED */
|
||||
/* FF92+ */
|
||||
'browser.urlbar.suggest.quicksuggest', // 95
|
||||
'dom.securecontext.whitelist_onions', // 97
|
||||
'network.http.spdy.enabled', // 100
|
||||
'network.http.spdy.enabled.deps',
|
||||
'network.http.spdy.enabled.http2',
|
||||
'network.http.spdy.websockets',
|
||||
'layout.css.font-visibility.level', // 94
|
||||
'security.csp.enable', // 99
|
||||
'security.ssl3.rsa_des_ede3_sha', // 93
|
||||
/* FF79-91 */
|
||||
'browser.cache.offline.storage.enable',
|
||||
|
@ -3,8 +3,8 @@ TITLE arkenfox user.js updater
|
||||
|
||||
REM ## arkenfox user.js updater for Windows
|
||||
REM ## author: @claustromaniac
|
||||
REM ## version: 4.15
|
||||
REM ## instructions: https://github.com/arkenfox/user.js/wiki/3.3-Updater-Scripts
|
||||
REM ## version: 4.16
|
||||
REM ## instructions: https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-windows
|
||||
|
||||
SET v=4.15
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
## arkenfox user.js updater for macOS and Linux
|
||||
|
||||
## version: 3.2
|
||||
## version: 3.4
|
||||
## Author: Pat Johnson (@overdodactyl)
|
||||
## Additional contributors: @earthlng, @ema-pe, @claustromaniac
|
||||
|
||||
@ -62,7 +62,7 @@ show_banner() {
|
||||
#### ####
|
||||
############################################################################"
|
||||
echo -e "${NC}\n"
|
||||
echo -e "Documentation for this script is available here: ${CYAN}https://github.com/arkenfox/user.js/wiki/3.3-Updater-Scripts${NC}\n"
|
||||
echo -e "Documentation for this script is available here: ${CYAN}https://github.com/arkenfox/user.js/wiki/5.1-Updater-[Options]#-maclinux${NC}\n"
|
||||
}
|
||||
|
||||
#########################
|
||||
@ -106,7 +106,7 @@ Optional Arguments:
|
||||
download_file() { # expects URL as argument ($1)
|
||||
declare -r tf=$(mktemp)
|
||||
|
||||
$DOWNLOAD_METHOD "${tf}" "$1" && echo "$tf" || echo '' # return the temp-filename or empty string on error
|
||||
$DOWNLOAD_METHOD "${tf}" "$1" &>/dev/null && echo "$tf" || echo '' # return the temp-filename or empty string on error
|
||||
}
|
||||
|
||||
open_file() { # expects one argument: file_path
|
||||
|
112
user.js
@ -1,25 +1,24 @@
|
||||
/******
|
||||
* name: arkenfox user.js
|
||||
* date: 21 January 2021
|
||||
* version 96
|
||||
* url: https://github.com/arkenfox/user.js
|
||||
* name: arkenfox user.js
|
||||
* date: 9 May 2022
|
||||
* version: 100
|
||||
* url: https://github.com/arkenfox/user.js
|
||||
* license: MIT: https://github.com/arkenfox/user.js/blob/master/LICENSE.txt
|
||||
|
||||
* README:
|
||||
|
||||
1. Consider using Tor Browser if it meets your needs or fits your threat model
|
||||
* https://2019.www.torproject.org/about/torusers.html
|
||||
2. Required reading: Overview, Backing Up, Implementing, and Maintenance entries
|
||||
2. Read the entire wiki
|
||||
* https://github.com/arkenfox/user.js/wiki
|
||||
3. If you skipped step 2, return to step 2
|
||||
4. Make changes
|
||||
4. Make changes in a user-overrides.js
|
||||
* There are often trade-offs and conflicts between security vs privacy vs anti-tracking
|
||||
and these need to be balanced against functionality & convenience & breakage
|
||||
* Some site breakage and unintended consequences will happen. Everyone's experience will differ
|
||||
e.g. some user data is erased on exit (section 2800), change this to suit your needs
|
||||
* While not 100% definitive, search for "[SETUP" tags
|
||||
e.g. third party images/videos not loading on some sites? check 1601
|
||||
* Take the wiki link in step 2 and read the Troubleshooting entry
|
||||
5. Some tag info
|
||||
[SETUP-SECURITY] it's one item, read it
|
||||
[SETUP-WEB] can cause some websites to break
|
||||
@ -159,7 +158,7 @@ user_pref("datareporting.policy.dataSubmissionEnabled", false);
|
||||
* [SETTING] Privacy & Security>Firefox Data Collection & Use>Allow Firefox to send technical... data ***/
|
||||
user_pref("datareporting.healthreport.uploadEnabled", false);
|
||||
/* 0332: disable telemetry
|
||||
* The "unified" pref affects the behaviour of the "enabled" pref
|
||||
* The "unified" pref affects the behavior of the "enabled" pref
|
||||
* - If "unified" is false then "enabled" controls the telemetry module
|
||||
* - If "unified" is true then "enabled" only controls whether to record extended data
|
||||
* [NOTE] "toolkit.telemetry.enabled" is now LOCKED to reflect prerelease (true) or release builds (false) [2]
|
||||
@ -235,16 +234,16 @@ user_pref("_user.js.parrot", "0400 syntax error: the parrot's passed on!");
|
||||
* To verify the safety of certain executable files, Firefox may submit some information about the
|
||||
* file, including the name, origin, size and a cryptographic hash of the contents, to the Google
|
||||
* Safe Browsing service which helps Firefox determine whether or not the file should be blocked
|
||||
* [SETUP-SECURITY] If you do not understand this, or you want this protection, then override it ***/
|
||||
* [SETUP-SECURITY] If you do not understand this, or you want this protection, then override this ***/
|
||||
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
|
||||
user_pref("browser.safebrowsing.downloads.remote.url", "");
|
||||
// user_pref("browser.safebrowsing.downloads.remote.url", ""); // Defense-in-depth
|
||||
/* 0404: disable SB checks for unwanted software
|
||||
* [SETTING] Privacy & Security>Security>... "Warn you about unwanted and uncommon software" ***/
|
||||
// user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false);
|
||||
// user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false);
|
||||
/* 0405: disable "ignore this warning" on SB warnings [FF45+]
|
||||
* If clicked, it bypasses the block for that session. This is a means for admins to enforce SB
|
||||
* [TEST] see github wiki APPENDIX A: Test Sites: Section 5
|
||||
* [TEST] see https://github.com/arkenfox/user.js/wiki/Appendix-A-Test-Sites#-mozilla
|
||||
* [1] https://bugzilla.mozilla.org/1226490 ***/
|
||||
// user_pref("browser.safebrowsing.allowOverride", false);
|
||||
|
||||
@ -263,7 +262,9 @@ user_pref("network.predictor.enable-prefetch", false); // [FF48+] [DEFAULT: fals
|
||||
/* 0604: disable link-mouseover opening connection to linked server
|
||||
* [1] https://news.slashdot.org/story/15/08/14/2321202/how-to-quash-firefoxs-silent-requests ***/
|
||||
user_pref("network.http.speculative-parallel-limit", 0);
|
||||
/* 0605: enforce no "Hyperlink Auditing" (click tracking)
|
||||
/* 0605: disable mousedown speculative connections on bookmarks and history [FF98+] ***/
|
||||
user_pref("browser.places.speculativeConnect.enabled", false);
|
||||
/* 0610: enforce no "Hyperlink Auditing" (click tracking)
|
||||
* [1] https://www.bleepingcomputer.com/news/software/major-browsers-to-prevent-disabling-of-click-tracking-privacy-risk/ ***/
|
||||
// user_pref("browser.send_pings", false); // [DEFAULT: false]
|
||||
|
||||
@ -306,7 +307,7 @@ user_pref("network.gio.supported-protocols", ""); // [HIDDEN PREF]
|
||||
* [WARNING] If false, this will break the fallback for some security features
|
||||
* [SETUP-CHROME] If you use a proxy and you understand the security impact
|
||||
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1732792,1733994,1733481 ***/
|
||||
// user_pref("network.proxy.allow_bypass", false); // [HIDDEN PREF]
|
||||
// user_pref("network.proxy.allow_bypass", false); // [HIDDEN PREF FF95-96]
|
||||
/* 0710: disable DNS-over-HTTPS (DoH) rollout [FF60+]
|
||||
* 0=off by default, 2=TRR (Trusted Recursive Resolver) first, 3=TRR only, 5=explicitly off
|
||||
* see "doh-rollout.home-region": USA Feb 2020, Canada July 2021 [3]
|
||||
@ -323,8 +324,7 @@ user_pref("_user.js.parrot", "0800 syntax error: the parrot's ceased to be!");
|
||||
* Examples: "secretplace,com", "secretplace/com", "secretplace com", "secret place.com"
|
||||
* [NOTE] This does not affect explicit user action such as using search buttons in the
|
||||
* dropdown, or using keyword search shortcuts you configure in options (e.g. "d" for DuckDuckGo)
|
||||
* [SETUP-CHROME] If you don't, or rarely, type URLs, or you use a default search
|
||||
* engine that respects privacy, then you probably don't need this ***/
|
||||
* [SETUP-CHROME] Override this if you trust and use a privacy respecting search engine ***/
|
||||
user_pref("keyword.enabled", false);
|
||||
/* 0802: disable location bar domain guessing
|
||||
* domain guessing intercepts DNS "hostname not found errors" and resends a
|
||||
@ -338,7 +338,7 @@ user_pref("browser.fixup.alternate.enabled", false);
|
||||
user_pref("browser.urlbar.trimURLs", false);
|
||||
/* 0804: disable live search suggestions
|
||||
* [NOTE] Both must be true for the location bar to work
|
||||
* [SETUP-CHROME] Change these if you trust and use a privacy respecting search engine
|
||||
* [SETUP-CHROME] Override these if you trust and use a privacy respecting search engine
|
||||
* [SETTING] Search>Provide search suggestions | Show search suggestions in address bar results ***/
|
||||
user_pref("browser.search.suggest.enabled", false);
|
||||
user_pref("browser.urlbar.suggest.searches", false);
|
||||
@ -452,11 +452,11 @@ user_pref("browser.shell.shortcutFavicons", false);
|
||||
user_pref("_user.js.parrot", "1200 syntax error: the parrot's a stiff!");
|
||||
/** SSL (Secure Sockets Layer) / TLS (Transport Layer Security) ***/
|
||||
/* 1201: require safe negotiation
|
||||
* Blocks connections (SSL_ERROR_UNSAFE_NEGOTIATION) to servers that don't support RFC 5746 [2]
|
||||
* as they're potentially vulnerable to a MiTM attack [3]. A server without RFC 5746 can be
|
||||
* safe from the attack if it disables renegotiations but the problem is that the browser can't
|
||||
* know that. Setting this pref to true is the only way for the browser to ensure there will be
|
||||
* no unsafe renegotiations on the channel between the browser and the server.
|
||||
* Blocks connections to servers that don't support RFC 5746 [2] as they're potentially vulnerable to a
|
||||
* MiTM attack [3]. A server without RFC 5746 can be safe from the attack if it disables renegotiations
|
||||
* but the problem is that the browser can't know that. Setting this pref to true is the only way for the
|
||||
* browser to ensure there will be no unsafe renegotiations on the channel between the browser and the server
|
||||
* [SETUP-WEB] SSL_ERROR_UNSAFE_NEGOTIATION: is it worth overriding this for that one site?
|
||||
* [STATS] SSL Labs (July 2021) reports over 99% of top sites have secure renegotiation [4]
|
||||
* [1] https://wiki.mozilla.org/Security:Renegotiation
|
||||
* [2] https://datatracker.ietf.org/doc/html/rfc5746
|
||||
@ -514,8 +514,11 @@ user_pref("security.family_safety.mode", 0);
|
||||
* [1] https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/16206 ***/
|
||||
user_pref("security.cert_pinning.enforcement_level", 2);
|
||||
/* 1224: enable CRLite [FF73+]
|
||||
* In FF84+ it covers valid certs and in mode 2 doesn't fall back to OCSP
|
||||
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1429800,1670985
|
||||
* 0 = disabled
|
||||
* 1 = consult CRLite but only collect telemetry (default)
|
||||
* 2 = consult CRLite and enforce both "Revoked" and "Not Revoked" results
|
||||
* 3 = consult CRLite and enforce "Not Revoked" results, but defer to OCSP for "Revoked" (FF99+)
|
||||
* [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1429800,1670985,1753071
|
||||
* [2] https://blog.mozilla.org/security/tag/crlite/ ***/
|
||||
user_pref("security.remote_settings.crlite_filters.enabled", true);
|
||||
user_pref("security.pki.crlite_mode", 2);
|
||||
@ -580,7 +583,7 @@ user_pref("_user.js.parrot", "1600 syntax error: the parrot rests in peace!");
|
||||
/* 1601: control when to send a cross-origin referer
|
||||
* 0=always (default), 1=only if base domains match, 2=only if hosts match
|
||||
* [SETUP-WEB] Breakage: older modems/routers and some sites e.g banks, vimeo, icloud, instagram
|
||||
* If "2" is too strict, then override to "0" and use Smart Referer (Strict mode + add exceptions) ***/
|
||||
* If "2" is too strict, then override to "0" and use Smart Referer extension (Strict mode + add exceptions) ***/
|
||||
user_pref("network.http.referer.XOriginPolicy", 2);
|
||||
/* 1602: control the amount of cross-origin information to send [FF52+]
|
||||
* 0=send full URI (default), 1=scheme+host+port+path, 2=scheme+host+port ***/
|
||||
@ -598,7 +601,7 @@ user_pref("_user.js.parrot", "1700 syntax error: the parrot's bit the dust!");
|
||||
* [SETTING] General>Tabs>Enable Container Tabs ***/
|
||||
user_pref("privacy.userContext.enabled", true);
|
||||
user_pref("privacy.userContext.ui.enabled", true);
|
||||
/* 1702: set behaviour on "+ Tab" button to display container menu on left click [FF74+]
|
||||
/* 1702: set behavior on "+ Tab" button to display container menu on left click [FF74+]
|
||||
* [NOTE] The menu is always shown on long press and right click
|
||||
* [SETTING] General>Tabs>Enable Container Tabs>Settings>Select a container for each new tab ***/
|
||||
// user_pref("privacy.userContext.newTabContainerOnLeftClick.enabled", true);
|
||||
@ -646,7 +649,7 @@ user_pref("media.eme.enabled", false);
|
||||
// user_pref("media.autoplay.default", 5);
|
||||
/* 2031: disable autoplay of HTML5 media if you interacted with the site [FF78+]
|
||||
* 0=sticky (default), 1=transient, 2=user
|
||||
* Firefox's Autoplay Policy Documentation [PDF] is linked below via SUMO
|
||||
* Firefox's Autoplay Policy Documentation (PDF) is linked below via SUMO
|
||||
* [NOTE] If you have trouble with some video sites, then add an exception (2030)
|
||||
* [1] https://support.mozilla.org/questions/1293231 ***/
|
||||
user_pref("media.autoplay.blocking_policy", 2);
|
||||
@ -738,6 +741,9 @@ user_pref("browser.download.useDownloadDir", false);
|
||||
user_pref("browser.download.alwaysOpenPanel", false);
|
||||
/* 2653: disable adding downloads to the system's "recent documents" list ***/
|
||||
user_pref("browser.download.manager.addToRecentDocs", false);
|
||||
/* 2654: enable user interaction for security by always asking how to handle new mimetypes [FF101+]
|
||||
* [SETTING] General>Files and Applications>What should Firefox do with other files ***/
|
||||
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
||||
|
||||
/** EXTENSIONS ***/
|
||||
/* 2660: lock down allowed extension directories
|
||||
@ -766,8 +772,10 @@ user_pref("_user.js.parrot", "2700 syntax error: the parrot's joined the bleedin
|
||||
user_pref("browser.contentblocking.category", "strict");
|
||||
/* 2702: disable ETP web compat features [FF93+]
|
||||
* [SETUP-HARDEN] Includes skip lists, heuristics (SmartBlock) and automatic grants
|
||||
* Opener Heuristics are granted for 30 days and Redirect Heuristics for 15 minutes, see [3]
|
||||
* [1] https://blog.mozilla.org/security/2021/07/13/smartblock-v2/
|
||||
* [2] https://hg.mozilla.org/mozilla-central/rev/e5483fd469ab#l4.12 ***/
|
||||
* [2] https://hg.mozilla.org/mozilla-central/rev/e5483fd469ab#l4.12
|
||||
* [3] https://developer.mozilla.org/en-US/docs/Web/Privacy/State_Partitioning#storage_access_heuristics ***/
|
||||
// user_pref("privacy.antitracking.enableWebcompat", false);
|
||||
/* 2710: enable state partitioning of service workers [FF96+] ***/
|
||||
user_pref("privacy.partition.serviceWorkers", true);
|
||||
@ -781,7 +789,6 @@ user_pref("_user.js.parrot", "2800 syntax error: the parrot's bleedin' demised!"
|
||||
* sharedWorkers and serviceWorkers. serviceWorkers require an "Allow" permission
|
||||
* [SETTING] Privacy & Security>Cookies and Site Data>Delete cookies and site data when Firefox is closed
|
||||
* [SETTING] to add site exceptions: Ctrl+I>Permissions>Cookies>Allow
|
||||
* If using FPI the syntax must be https://example.com/^firstPartyDomain=example.com
|
||||
* [SETTING] to manage site exceptions: Options>Privacy & Security>Permissions>Settings ***/
|
||||
user_pref("network.cookie.lifetimePolicy", 2);
|
||||
/* 2802: delete cache on exit [FF96+]
|
||||
@ -850,6 +857,8 @@ user_pref("privacy.sanitize.timeSpan", 0);
|
||||
418986 - limit window.screen & CSS media queries (FF41)
|
||||
[TEST] https://arkenfox.github.io/TZP/tzp.html#screen
|
||||
1281949 - spoof screen orientation (FF50)
|
||||
1281963 - hide the contents of navigator.plugins and navigator.mimeTypes (FF50-99)
|
||||
FF53: fixes GetSupportedNames in nsMimeTypeArray and nsPluginArray (1324044)
|
||||
1330890 - spoof timezone as UTC0 (FF55)
|
||||
1360039 - spoof navigator.hardwareConcurrency as 2 (FF55)
|
||||
1217238 - reduce precision of time exposed by javascript (FF55)
|
||||
@ -893,6 +902,7 @@ user_pref("privacy.sanitize.timeSpan", 0);
|
||||
1461454 - spoof smooth=true and powerEfficient=false for supported media in MediaCapabilities (FF82)
|
||||
FF91+
|
||||
531915 - use fdlibm's sin, cos and tan in jsmath (FF93, ESR91.1)
|
||||
1756280 - enforce navigator.pdfViewerEnabled as true and plugins/mimeTypes as hard-coded values (FF100)
|
||||
***/
|
||||
user_pref("_user.js.parrot", "4500 syntax error: the parrot's popped 'is clogs");
|
||||
/* 4501: enable privacy.resistFingerprinting [FF41+]
|
||||
@ -952,7 +962,7 @@ user_pref("browser.link.open_newwindow", 3); // [DEFAULT: 3]
|
||||
* [1] https://searchfox.org/mozilla-central/source/dom/tests/browser/browser_test_new_window_from_content.js ***/
|
||||
user_pref("browser.link.open_newwindow.restriction", 0);
|
||||
/* 4520: disable WebGL (Web Graphics Library)
|
||||
* [SETUP-WEB] If you need it then enable it. RFP still randomizes canvas for naive scripts ***/
|
||||
* [SETUP-WEB] If you need it then override it. RFP still randomizes canvas for naive scripts ***/
|
||||
user_pref("webgl.disabled", true);
|
||||
|
||||
/*** [SECTION 5000]: OPTIONAL OPSEC
|
||||
@ -1029,8 +1039,8 @@ user_pref("_user.js.parrot", "5000 syntax error: the parrot's taken 'is last bow
|
||||
// user_pref("browser.download.folderList", 2);
|
||||
|
||||
/*** [SECTION 5500]: OPTIONAL HARDENING
|
||||
Not recommended. Keep in mind that these can cause breakage and performance
|
||||
issues, are mostly fingerpintable, and the threat model is practically zero
|
||||
Not recommended. Overriding these can cause breakage and performance issues,
|
||||
they are mostly fingerprintable, and the threat model is practically nonexistent
|
||||
***/
|
||||
user_pref("_user.js.parrot", "5500 syntax error: this is an ex-parrot!");
|
||||
/* 5501: disable MathML (Mathematical Markup Language) [FF51+]
|
||||
@ -1075,9 +1085,6 @@ user_pref("extensions.blocklist.enabled", true); // [DEFAULT: true]
|
||||
/* 6002: enforce no referer spoofing
|
||||
* [WHY] Spoofing can affect CSRF (Cross-Site Request Forgery) protections ***/
|
||||
user_pref("network.http.referer.spoofSource", false); // [DEFAULT: false]
|
||||
/* 6003: enforce CSP (Content Security Policy)
|
||||
* [1] https://developer.mozilla.org/docs/Web/HTTP/CSP ***/
|
||||
user_pref("security.csp.enable", true); // [DEFAULT: true]
|
||||
/* 6004: enforce a security delay on some confirmation dialogs such as install, open/save
|
||||
* [1] https://www.squarefree.com/2004/07/01/race-conditions-in-security-dialogs/ ***/
|
||||
user_pref("security.dialog_enable_delay", 1000); // [DEFAULT: 1000]
|
||||
@ -1089,7 +1096,7 @@ user_pref("dom.targetBlankNoOpener.enabled", true); // [DEFAULT: true]
|
||||
* string is restored if the tab reverts back to the original page. This change prevents some cross-site attacks
|
||||
* [TEST] https://arkenfox.github.io/TZP/tests/windownamea.html ***/
|
||||
user_pref("privacy.window.name.update.enabled", true); // [DEFAULT: true]
|
||||
/* 0607: enforce Local Storage Next Generation (LSNG) [FF65+] ***/
|
||||
/* 6007: enforce Local Storage Next Generation (LSNG) [FF65+] ***/
|
||||
user_pref("dom.storage.next_gen", true); // [DEFAULT: true FF92+]
|
||||
/* 6008: enforce no First Party Isolation [FF51+]
|
||||
* [WARNING] Replaced with network partitioning (FF85+) and TCP (2701),
|
||||
@ -1125,7 +1132,7 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
|
||||
// user_pref("geo.enabled", false);
|
||||
// user_pref("full-screen-api.enabled", false);
|
||||
// user_pref("browser.cache.offline.enable", false);
|
||||
// user_pref("dom.vr.enabled", false);
|
||||
// user_pref("dom.vr.enabled", false); // [DEFAULT: false FF97+]
|
||||
/* 7002: set default permissions
|
||||
* Location, Camera, Microphone, Notifications [FF58+] Virtual Reality [FF73+]
|
||||
* 0=always ask (default), 1=allow, 2=block
|
||||
@ -1159,7 +1166,6 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
|
||||
// user_pref("security.ssl.disable_session_identifiers", true); // [HIDDEN PREF]
|
||||
/* 7006: onions
|
||||
* [WHY] Firefox doesn't support hidden services. Use Tor Browser ***/
|
||||
// user_pref("dom.securecontext.whitelist_onions", true); // 1382359
|
||||
// user_pref("dom.securecontext.allowlist_onions", true); // [FF97+] 1382359/1744006
|
||||
// user_pref("network.http.referer.hideOnionSource", true); // 1305144
|
||||
/* 7007: referers
|
||||
@ -1171,13 +1177,6 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
|
||||
* [WHY] Defaults are fine. They can be overridden by a site-controlled Referrer Policy ***/
|
||||
// user_pref("network.http.referer.defaultPolicy", 2); // [DEFAULT: 2]
|
||||
// user_pref("network.http.referer.defaultPolicy.pbmode", 2); // [DEFAULT: 2]
|
||||
/* 7009: disable HTTP2
|
||||
* [WHY] Passive fingerprinting. ~50% of sites use HTTP2 [1]
|
||||
* [1] https://w3techs.com/technologies/details/ce-http2/all/all ***/
|
||||
// user_pref("network.http.spdy.enabled", false);
|
||||
// user_pref("network.http.spdy.enabled.deps", false);
|
||||
// user_pref("network.http.spdy.enabled.http2", false);
|
||||
// user_pref("network.http.spdy.websockets", false); // [FF65+]
|
||||
/* 7010: disable HTTP Alternative Services [FF37+]
|
||||
* [WHY] Already isolated with network partitioning (FF85+) ***/
|
||||
// user_pref("network.http.altsvc.enabled", false);
|
||||
@ -1206,12 +1205,13 @@ user_pref("_user.js.parrot", "7000 syntax error: the parrot's pushing up daisies
|
||||
* [WHY] Arkenfox only supports strict (2701) which sets these at runtime ***/
|
||||
// user_pref("network.cookie.cookieBehavior", 5);
|
||||
// user_pref("network.http.referer.disallowCrossSiteRelaxingDefault", true);
|
||||
// user_pref("network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation", true); // [FF100+]
|
||||
// user_pref("privacy.partition.network_state.ocsp_cache", true);
|
||||
// user_pref("privacy.trackingprotection.enabled", true);
|
||||
// user_pref("privacy.trackingprotection.socialtracking.enabled", true);
|
||||
// user_pref("privacy.trackingprotection.cryptomining.enabled", true); // [DEFAULT: true]
|
||||
// user_pref("privacy.trackingprotection.fingerprinting.enabled", true); // [DEFAULT: true]
|
||||
/* 7017: disable service workers [FF32, FF44-compat]
|
||||
/* 7017: disable service workers
|
||||
* [WHY] Already isolated (FF96+) with TCP (2701) behind a pref (2710)
|
||||
* or blocked with TCP in 3rd parties (FF95 or lower) ***/
|
||||
// user_pref("dom.serviceWorkers.enabled", false);
|
||||
@ -1236,7 +1236,7 @@ user_pref("_user.js.parrot", "8000 syntax error: the parrot's crossed the Jordan
|
||||
// user_pref("dom.enable_performance", false);
|
||||
// user_pref("dom.enable_resource_timing", false);
|
||||
// user_pref("dom.gamepad.enabled", false);
|
||||
// user_pref("dom.netinfo.enabled", false);
|
||||
// user_pref("dom.netinfo.enabled", false); // [DEFAULT: false NON-ANDROID: false ANDROID FF99+]
|
||||
// user_pref("dom.webaudio.enabled", false);
|
||||
/* 8002: disable other ***/
|
||||
// user_pref("browser.display.use_document_fonts", 0);
|
||||
@ -1303,7 +1303,7 @@ user_pref("browser.startup.homepage_override.mstone", "ignore"); // master switc
|
||||
// user_pref("browser.urlbar.decodeURLsOnCopy", true); // see bugzilla 1320061 [FF53+]
|
||||
// user_pref("general.autoScroll", false); // middle-click enabling auto-scrolling [DEFAULT: false on Linux]
|
||||
// user_pref("ui.key.menuAccessKey", 0); // disable alt key toggling the menu bar [RESTART]
|
||||
// user_pref("view_source.tab", false); // view "page/selection source" in a new window [FF68+, FF59 and under]
|
||||
// user_pref("view_source.tab", false); // view "page/selection source" in a new window [FF68+]
|
||||
/* UX FEATURES ***/
|
||||
user_pref("browser.messaging-system.whatsNewPanel.enabled", false); // What's New toolbar icon [FF69+]
|
||||
// user_pref("extensions.pocket.enabled", false); // Pocket Account [FF46+]
|
||||
@ -1344,6 +1344,24 @@ user_pref("browser.urlbar.suggest.quicksuggest", false);
|
||||
// [1] https://support.mozilla.org/kb/enable-background-updates-firefox-windows
|
||||
// [-] https://bugzilla.mozilla.org/1738983
|
||||
user_pref("app.update.background.scheduling.enabled", false);
|
||||
// FF97
|
||||
// 7006: onions - replaced by new 7006 "allowlist"
|
||||
// [-] https://bugzilla.mozilla.org/1744006
|
||||
// user_pref("dom.securecontext.whitelist_onions", true); // 1382359
|
||||
// FF99
|
||||
// 6003: enforce CSP (Content Security Policy)
|
||||
// [1] https://developer.mozilla.org/docs/Web/HTTP/CSP
|
||||
// [-] https://bugzilla.mozilla.org/1754301
|
||||
user_pref("security.csp.enable", true); // [DEFAULT: true]
|
||||
// FF100
|
||||
// 7009: disable HTTP2 - replaced by network.http.http2* prefs
|
||||
// [WHY] Passive fingerprinting. ~50% of sites use HTTP2 [1]
|
||||
// [1] https://w3techs.com/technologies/details/ce-http2/all/all
|
||||
// [-] https://bugzilla.mozilla.org/1752621
|
||||
// user_pref("network.http.spdy.enabled", false);
|
||||
// user_pref("network.http.spdy.enabled.deps", false);
|
||||
// user_pref("network.http.spdy.enabled.http2", false);
|
||||
// user_pref("network.http.spdy.websockets", false); // [FF65+]
|
||||
// ***/
|
||||
|
||||
/* END: internal custom pref to test for syntax errors ***/
|
||||
|
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 18 KiB |
BIN
wikipiki/rfpCanvas.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
wikipiki/rfpCanvasException.png
Normal file
After Width: | Height: | Size: 7.6 KiB |
BIN
wikipiki/smartReferer.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
wikipiki/uboCustom.png
Normal file
After Width: | Height: | Size: 12 KiB |