-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix open issues/PRs #197 #108 #111 #236 #238 #239
Merged
Merged
Changes from 6 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
02ec264
add firefox version indication for battery api
nodiscc 621c4e2
add commented out prefs for *effective* default search engine choice
nodiscc 1ab3ffd
document disabling push notifications
nodiscc 9ad47f9
Add missing preferences descriptions
nodiscc 854e5de
set security.ask_for_password to 2 (lock password storage periodically),
nodiscc 0e23e4b
start moving some known problems/limitations to user.js, work on #238…
nodiscc 17f44ce
README: remove TODOs (moved to issues)
nodiscc dd2f73b
README: rename 'known problems' to 'known problems and limitations'
nodiscc bb2bdc5
README: move known problems and limitations to relevant user.js prefs…
nodiscc d1e4b6d
README: improve and reorder FAQ
nodiscc eb45fd7
rename LICENSE.txt file to LICENSE, link to it from README
nodiscc 581309b
more explicit NOTICE: fields
nodiscc 930967b
gen-readme.sh: add 'known problems and limitations' section generation
nodiscc b70f602
run make, generate 'kwown problems and limitations' readme section
nodiscc fe7555a
add network.http.referer.XOriginPolicy: 2 in addition to referer spoo…
nodiscc f14e293
disable network.http.referer.XOriginPolicy
nodiscc 4659c95
tests: add badssl
nodiscc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
user_pref("dom.serviceWorkers.enabled", false); | ||
|
||
// PREF: Disable web notifications | ||
// ?? | ||
// https://support.mozilla.org/t5/Firefox/I-can-t-find-Firefox-menu-I-m-trying-to-opt-out-of-Web-Push-and/m-p/1317495#M1006501 | ||
user_pref("dom.webnotifications.enabled", false); | ||
|
||
// PREF: Make sure the User Timing API does not provide a new high resolution timestamp | ||
|
@@ -40,7 +40,7 @@ user_pref("dom.mozTCPSocket.enabled", false); | |
// PREF: Disable DOM storage (disabled) | ||
// http://kb.mozillazine.org/Dom.storage.enabled | ||
// https://html.spec.whatwg.org/multipage/webstorage.html | ||
// you can also see this with Panopticlick's "DOM localStorage" | ||
// NOTICE: Known to cause`TypeError: localStorage is null` errors | ||
//user_pref("dom.storage.enabled", false); | ||
|
||
// PREF: Whether JS can get information about the network/browser connection | ||
|
@@ -68,8 +68,9 @@ user_pref("media.navigator.video.enabled", false); | |
user_pref("media.getusermedia.screensharing.enabled", false); | ||
user_pref("media.getusermedia.audiocapture.enabled", false); | ||
|
||
// PREF: Disable battery API | ||
// PREF: Disable battery API (<52) | ||
// https://developer.mozilla.org/en-US/docs/Web/API/BatteryManager | ||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1313580 | ||
user_pref("dom.battery.enabled", false); | ||
|
||
// PREF: Disable telephony API | ||
|
@@ -134,13 +135,13 @@ user_pref("dom.vr.enabled", false); | |
user_pref("webgl.disabled", true); | ||
// PREF: When webGL is enabled, use the minimum capability mode | ||
user_pref("webgl.min_capability_mode", true); | ||
// PREF: webgl.disable-extensions | ||
// PREF: When webGL is enabled, disable webGL extensions | ||
// https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API#WebGL_debugging_and_testing | ||
user_pref("webgl.disable-extensions", true); | ||
// PREF: webgl.disable-fail-if-major-performance-caveat | ||
// PREF: When webGL is enabled, force enabling it even when layer acceleration is not supported | ||
// https://trac.torproject.org/projects/tor/ticket/18603 | ||
user_pref("webgl.disable-fail-if-major-performance-caveat", true); | ||
// PREF: webgl.enable-debug-renderer-info | ||
// PREF: When webGL is enabled, do not expose information about the graphics driver | ||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1171228 | ||
// https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_debug_renderer_info | ||
user_pref("webgl.enable-debug-renderer-info", false); | ||
|
@@ -157,6 +158,8 @@ user_pref("camera.control.face_detection.enabled", false); | |
// PREF: Set the default search engine to DuckDuckGo (disabled) | ||
// https://support.mozilla.org/en-US/questions/948134 | ||
//user_pref("browser.search.defaultenginename", "DuckDuckGo"); | ||
//user_pref("browser.search.order.1", "DuckDuckGo"); | ||
//user_pref("keyword.URL", "https://duckduckgo.com/html/?q=!+"); | ||
|
||
// PREF: Disable GeoIP lookup on your address to set default search engine region | ||
// https://trac.torproject.org/projects/tor/ticket/16254 | ||
|
@@ -273,7 +276,7 @@ user_pref("plugin.state.java", 0); | |
// PREF: Disable Gnome Shell Integration | ||
user_pref("plugin.state.libgnome-shell-browser-plugin", 0); | ||
|
||
// PREF: Disable the bundled OpenH264 video codec | ||
// PREF: Disable the bundled OpenH264 video codec (disabled) | ||
// http://forums.mozillazine.org/viewtopic.php?p=13845077&sid=28af2622e8bd8497b9113851676846b1#p13845077 | ||
//user_pref("media.gmp-provider.enabled", false); | ||
|
||
|
@@ -453,7 +456,7 @@ user_pref("browser.urlbar.suggest.searches", false); | |
// https://bugzilla.mozilla.org/show_bug.cgi?id=1111967 | ||
user_pref("browser.casting.enabled", false); | ||
|
||
// PREF: media.gmp- | ||
// PREF: Disable automatic downloading of OpenH264 codec | ||
// https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_media-capabilities | ||
// https://andreasgal.com/2014/10/14/openh264-now-in-firefox/ | ||
user_pref("media.gmp-gmpopenh264.enabled", false); | ||
|
@@ -464,7 +467,7 @@ user_pref("media.gmp-manager.url", ""); | |
// https://bugzil.la/814169 | ||
user_pref("network.http.speculative-parallel-limit", 0); | ||
|
||
// PREF: browser.aboutHomeSnippets.updateUrl | ||
// PREF: Disable downloading homepage snippets/messages from Mozilla | ||
// https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections#w_mozilla-content | ||
// https://wiki.mozilla.org/Firefox/Projects/Firefox_Start/Snippet_Service | ||
user_pref("browser.aboutHomeSnippets.updateUrl", ""); | ||
|
@@ -505,6 +508,8 @@ user_pref("security.sri.enable", true); | |
|
||
// PREF: Send a referer header with the target URI as the source | ||
// https://bugzilla.mozilla.org/show_bug.cgi?id=822869 | ||
// NOTICE: Breaks functionality on websites relying on authentic referer headers | ||
// TODO: https://github.com/pyllyukko/user.js/issues/94, commented-out XOriginPolicy/XOriginTrimmingPolicy = 2 prefs | ||
user_pref("network.http.referer.spoofSource", true); | ||
|
||
// PREF: Accept Only 1st Party Cookies | ||
|
@@ -707,13 +712,12 @@ user_pref("browser.urlbar.autocomplete.enabled", false); | |
// PREF: Do not check if Firefox is the default browser | ||
user_pref("browser.shell.checkDefaultBrowser", false); | ||
|
||
// PREF: When password manager is enabled, only ask for the master password once | ||
// NOTICE: this actually lessens security, but is more convenient | ||
// PREF: When password manager is enabled, lock the password storage periodically | ||
// CIS Version 1.2.0 October 21st, 2011 2.5.3 Disable Prompting for Credential Storage | ||
user_pref("security.ask_for_password", 0); | ||
user_pref("security.ask_for_password", 2); | ||
|
||
// PREF: When security.ask_for_password is 2 (every n minutes), lock password storage every 5 minutes (default: 30) | ||
user_pref("security.password_lifetime", 5); | ||
// PREF: Lock the password storage every 1 minutes (default: 30) | ||
user_pref("security.password_lifetime", 1); | ||
|
||
/****************************************************************************** | ||
* SECTION: Cryptography * | ||
|
@@ -793,14 +797,13 @@ user_pref("security.pki.sha1_enforcement_level", 1); | |
|
||
// PREF: Warn the user when server doesn't support RFC 5746 ("safe" renegotiation) | ||
// https://wiki.mozilla.org/Security:Renegotiation#security.ssl.treat_unsafe_negotiation_as_broken | ||
// see also CVE-2009-3555 | ||
// https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3555 | ||
user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); | ||
|
||
// PREF: ?? (disabled) | ||
// PREF: Disallow connection to servers not supporting safe renegotiation | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Shouldn't this have the "(disabled)" suffix, as the setting is still disabled. |
||
// https://wiki.mozilla.org/Security:Renegotiation#security.ssl.require_safe_negotiation | ||
// this makes browsing next to impossible=) (13.2.2012) | ||
// update: the world is not ready for this! (6.5.2014) | ||
// see also CVE-2009-3555 | ||
// https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-3555 | ||
// NOTICE: Makes browsing next to impossible (2012-2014-... - `ssl_error_unsafe_negotiation` error) | ||
//user_pref("security.ssl.require_safe_negotiation", true); | ||
|
||
// PREF: Disable automatic reporting of TLS connection errors | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Hardening your"... what?