This repository has been archived by the owner on Apr 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mozilla.cfg
94 lines (82 loc) · 4.04 KB
/
mozilla.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
//
// Recommended setings, mostly from following sources
// https://vikingvpn.com/cybersecurity-wiki/browser-security/guide-hardening-mozilla-firefox-for-privacy-and-security
// https://web.archive.org/web/20160606093146/https://vox.space/blog/98/mozilla-firefox-security
// https://www.privacytools.io/#browser
lockPref("security.tls.version.min", 3);
lockPref("security.mixed_content.block_display_content", true);
lockPref("security.OCSP.require", true);
lockPref("security.ssl.require_safe_negotiation", true);
lockPref("security.ssl.treat_unsafe_negotiation_as_broken", true);
lockPref("security.ssl3.rsa_aes_256_sha", false);
lockPref("security.ssl3.rsa_rc4_128_md5", false);
lockPref("security.ssl3.rsa_rc4_128_sha", false);
lockPref("security.ssl3.rsa_des_ede3_sha", false);
lockPref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false);
lockPref("security.ssl3.ecdhe_rsa_rc4_128_sha", false);
lockPref("dom.battery.enabled", false);
lockPref("network.http.speculative-parallel-limit", 0);
lockPref("media.peerconnection.enabled", false);
lockPref("media.peerconnection.identity.enabled", false);
lockPref("media.peerconnection.simulcast", false);
lockPref("media.peerconnection.turn.disable", true);
lockPref("media.peerconnection.use_document_iceservers", false);
lockPref("media.peerconnection.video.enabled", false);
lockPref("media.webspeech.recognition.enable", false);
lockPref("media.webspeech.synth.enable", false);
lockPref("webgl.disabled", true);
lockPref("camera.control.face_detection.enabled", false);
lockPref("device.sensors.enabled", false);
lockPref("dom.event.contextmenu.enabled", false);
lockPref("dom.event.clipboardevents.enabled", false);
lockPref("accessibility.blockautorefresh", true);
lockPref("devtools.remote.wifi.scan", false);
lockPref("geo.enabled", false);
lockPref("browser.search.geoSpecificDefaults", false);
lockPref("geo.wifi.uri", "");
lockPref("browser.geolocation.warning.infoURL", "");
lockPref("browser.search.geoSpecificDefaults.url", "");
lockPref("browser.search.geoip.url", "");
lockPref("beacon.enabled", false);
lockPref("dom.gamepad.enabled", false);
lockPref("services.sync.sendVersionInfo", false);
lockPref("extensions.pocket.enabled", false);
lockPref("media.eme.enabled", false);
lockPref("media.navigator.enabled", false);
lockPref("browser.send_pings", false);
lockPref("toolkit.telemetry.unified", false);
lockPref("toolkit.telemetry.server", "");
lockPref("experiments.manifest.uri", "");
lockPref("toolkit.telemetry.archive.enabled", false);
lockPref("toolkit.telemetry.enabled", false);
lockPref("datareporting.healthreport.uploadEnabled", false);
lockPref("datareporting.policy.dataSubmissionEnabled", false);
lockPref("browser.safebrowsing.enabled", false);
lockPref("browser.safebrowsing.downloads.enabled", false);
lockPref("browser.safebrowsing.malware.enabled", false);
lockPref("browser.safebrowsing.phishing.enabled", false);
lockPref("browser.sessionstore.max_tabs_undo", 0);
lockPref("browser.urlbar.speculativeConnect.enabled", false);
lockPref("social.remote-install.enabled", false);
lockPref("social.toast-notifications.enabled", false);
lockPref("social.directories", "");
lockPref("social.whitelist", "");
lockPref("network.dns.disablePrefetch", true);
lockPref("privacy.trackingprotection.enabled", true);
lockPref("browser.fixup.alternate.enabled", false);
lockPref("browser.newtabpage.directory.source", "");
lockPref("browser.newtabpage.directory.ping", "");
lockPref("browser.formfill.enable", false);
lockPref("network.cookie.lifetimePolicy", 2);
lockPref("network.cookie.cookieBehavior", 1);
lockPref("plugin.scan.plid.all", false);
lockPref("browser.cache.disk.enable", false);
lockPref("browser.cache.disk_cache_ssl", false);
lockPref("browser.cache.offline.enable", false);
lockPref("privacy.resistFingerprinting", true);
lockPref("privacy.firstparty.isolate", true);
lockPref("network.http.referer.XOriginPolicy", 2);
lockPref("network.http.referer.trimmingPolicy", 2);
// lockPref("network.http.sendRefererHeader", 0);
// lockPref("network.http.referer.spoofSource", true);
// lockPref("privacy.donottrackheader.enabled", true);