-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmozilla.cfg
More file actions
180 lines (120 loc) · 6.36 KB
/
mozilla.cfg
File metadata and controls
180 lines (120 loc) · 6.36 KB
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
// These rules are a part of the Dapper Linux default hardened firefox distrubution.
// -------------------------------------------------------------
// Recommended by Mozilla for Enterprise Deployments
// -------------------------------------------------------------
// Don't show 'know your rights' on first run
pref("browser.rights.3.shown", true);
// Don't show WhatsNew on first run after every update
pref("browser.startup.homepage_override.mstone","ignore");
// Disable the flash to javascript converter
pref("shumway.disabled", true);
// Don't ask to install the Flash plugin
pref("plugins.notifyMissingFlash", false);
// Disable health reporter
lockPref("datareporting.healthreport.service.enabled", false);
// Disable all data upload (Telemetry and FHR)
lockPref("datareporting.policy.dataSubmissionEnabled", false);
// -------------------------------------------------------------
// Dapper Linux Preferences
// -------------------------------------------------------------
// Always enable private browsing
pref("browser.privatebrowsing.autostart", true);
// Disable Google Safebrowsing
pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.malware.enabled", false);
// Make sure health report is disabled
pref("datareporting.healthreport.uploadEnabled", false);
// Disable DOM clipboard events
pref("dom.event.clipboardevents.enabled", false);
// Disable DOM Storage all together
pref("dom.storage.enabled", false);
// Disable Geo Lookups
pref("geo.enabled", false);
// Disable Geo lookup providers
pref("geo.wifi.uri", "http://127.0.0.1");
// Disable DNS Prefetching, make sure its disabled
pref("network.dns.disablePrefetch", true);
// Make cookies only come from original server
pref("network.cookie.cookieBehavior", 1);
// Make cookies expire at end of session
pref("network.cookie.lifetimePolicy", 2);
// Disable the HTTP Referer header
pref("network.http.sendRefererHeader", 0);
// Disable the HTTP Referer header between secured sites
pref("network.http.sendSecureXSiteReferrer", false);
// Dont do document prefetching
pref("network.prefetch-next", false);
// Set Do Not Track, If it even makes any difference
pref("privacy.donottrackheader.enabled", true);
// Disable Telemetry upload to Mozilla
pref("toolkit.telemetry.enabled", false);
// Disable history
pref("places.history.enabled", false);
// Disable Addon Verification (Needed for RequestPolicy)
pref("xpinstall.signatures.required", false);
// Clean up the UI
pref("browser.uiCustomization.state", "{\"placements\":{\"PanelUI-contents\":[\"zoom-controls\",\"privatebrowsing-button\",\"save-page-button\",\"print-button\",\"fullscreen-button\",\"find-button\",\"preferences-button\",\"add-ons-button\"],\"addon-bar\":[\"addonbar-closebutton\",\"status-bar\"],\"PersonalToolbar\":[\"personal-bookmarks\"],\"nav-bar\":[\"urlbar-container\"],\"TabsToolbar\":[\"tabbrowser-tabs\",\"new-tab-button\",\"alltabs-button\"],\"toolbar-menubar\":[\"menubar-items\"]},\"seen\":[\"pocket-button\",\"firefox_ghostery_com-browser-action\",\"ublock0-button\",\"developer-button\",\"webide-button\",\"action-button--jid0-9xfbwuwnvpx4wwsfbwmcm4jj69ejetpack-self-destructing-cookies\",\"disconnect-item\",\"noscript-tbb\",\"action-button--jid1-avgcef1zovzmjajetpack-random-agent-spoofer\"],\"dirtyAreaCache\":[\"PersonalToolbar\",\"nav-bar\",\"TabsToolbar\",\"toolbar-menubar\",\"PanelUI-contents\"],\"currentVersion\":6,\"newElementCount\":0}");
// Disable e10s until we gain addon support
// This will be removed when addon support matures
pref("e10s.rollout.cohort", "unsupportedChannel");
pref("extensions.e10sBlockedByAddons", true);
pref("browser.tabs.remote.autostart.2", false);
// -------------------------------------------------------------
// Addon Configuration
// -------------------------------------------------------------
// Dissconnect
// Remove Initial Donation Tab
pref("extensions.disconnect.pwyw", "{\"date\":\"2016-11-02\",\"bucket\":\"viewed\"}");
// FXChrome
// Enable FXChrome
lockPref("general.skins.selectedSkin", "FXChrome");
// Ghostery
// Disable Startup Screen
lockPref("extensions.jid1-AVgCeF1zoVzMjA@jetpack.sdk.load.reason", "startup");
// HTitle
// HTitle Always Hide Menubar Regardless of Window Position
pref("extensions.htitle.hide_mode", 2);
// HTTPS Everywhere
// Set Defaults
pref("extensions.https_everywhere._observatory.clean_config", true);
// Remove startup popup on initial run
pref("extensions.https_everywhere._observatory.popup_shown", true);
// Remove HTTPS Everywhere from context menu
pref("extensions.https_everywhere.firstrun_context_menu", false);
// NoScript
// Disable notifications
pref("noscript.notify", false);
pref("noscript.notify.bottom", false);
// Disable Allow Page and Base Addresses, So we Require full URI
pref("noscript.showAddress", true);
pref("noscript.showAllowPage", false);
pref("noscript.showBaseDomain", false);
// Remove Paid for Sites from NoScript Whitelist
pref("capability.policy.maonoscript.sites", "about: about:addons about:blocked about:certerror about:config about:crashes about:feeds about:home about:memory about:neterror about:plugins about:preferences about:privatebrowsing about:sessionrestore about:srcdoc about:support blob: chrome: mediasource: moz-extension: moz-safe-about: resource:");
// Disable Firstrun Notice
pref("noscript.firstRunRedirection", false);
// Random UserAgent Spoofer
// Set to change every request
pref("extensions.agentSpoof.timeInterval", "request");
// Set to Use Random Desktop Clients
pref("extensions.agentSpoof.uaChosen", "random_desktop");
// Disable Notifications
pref("extensions.jid1-AVgCeF1zoVzMjA@jetpack.show_notifications", false);
// Request Policy
// Don't Show initial setup
pref("extensions.requestpolicy.initialSetupDialogShown", true);
// Require we identify by full URI
pref("extensions.requestpolicy.uriIdentificationLevel", 3);
// Disable Icon
pref("extensions.requestpolicy.statusbarIcon", "none");
// Self Destructing Cookies
// Disable Notifications
pref("extensions.jid0-9XfBwUWnvPx4wWsfBWMCm4Jj69E@jetpack.displayNotification", false);
// Disable Startup
lockPref("extensions.jid0-9XfBwUWnvPx4wWsfBWMCm4Jj69E@jetpack.sdk.load.reason", "startup");
// Stylish
// Turn off Firstrun Notification
pref("extensions.stylish.firstRun", 3);
// Enable Stylish DB File
pref("extensions.stylish.dbFile", "/usr/lib64/dapper-hardened-browser/defaults/profile/stylish.sqlite");