airikr revised this gist . Go to revision
1 file changed, 57 insertions, 10 deletions
user.js
@@ -1,6 +1,11 @@ | |||
1 | - | /* Inspirated by https://github.com/arkenfox/user.js */ | |
1 | + | /* Inspirated by https://github.com/arkenfox/user.js & https://github.com/pyllyukko/user.js */ | |
2 | 2 | ||
3 | 3 | user_pref('browser.aboutConfig.showWarning', false); | |
4 | + | user_pref('browser.display.use_document_fonts', 1); | |
5 | + | user_pref('browser.search.countryCode', 'SE'); | |
6 | + | user_pref('browser.search.region', 'SE'); | |
7 | + | user_pref('browser.search.geoip.url', ''); | |
8 | + | ||
4 | 9 | user_pref('extensions.update.enabled', true); | |
5 | 10 | user_pref('extensions.pocket.enabled', false); | |
6 | 11 | user_pref('extensions.getAddons.showPane', false); | |
@@ -37,17 +42,24 @@ user_pref('privacy.cpd.cookies', false); | |||
37 | 42 | user_pref('privacy.sanitize.timeSpan', 0); | |
38 | 43 | user_pref('privacy.userContext.enabled', true); | |
39 | 44 | user_pref('privacy.userContext.ui.enabled', true); | |
40 | - | /*user_pref('privacy.window.maxInnerWidth', 1800); | |
41 | - | user_pref('privacy.window.maxInnerHeight', 1000); | |
42 | - | user_pref('privacy.resistFingerprinting', false); | |
45 | + | user_pref('privacy.resistFingerprinting', true); | |
43 | 46 | user_pref('privacy.resistFingerprinting.block_mozAddonManager', true); | |
44 | - | user_pref('privacy.resistFingerprinting.letterboxing', false);*/ | |
47 | + | user_pref('privacy.resistFingerprinting.letterboxing', true); | |
48 | + | user_pref('privacy.window.maxInnerWidth', 1800); | |
49 | + | user_pref('privacy.window.maxInnerHeight', 1000); | |
45 | 50 | ||
46 | 51 | user_pref('startup.homepage_welcome_url', 'about:blank'); | |
47 | 52 | user_pref('startup.homepage_welcome_url.additional', 'about:blank'); | |
48 | 53 | user_pref('startup.homepage_override_url', 'about:blank'); | |
49 | 54 | ||
55 | + | user_pref('browser.translations.enable', false); | |
56 | + | user_pref('browser.translations.autoTranslate', false); | |
57 | + | user_pref('browser.translations.logLevel', false); | |
58 | + | user_pref('browser.translations.simulateUnsupportedEngine', false); | |
59 | + | user_pref('browser.translations.useHTML', false); | |
50 | 60 | user_pref('browser.startup.homepage', 'http://localhost'); | |
61 | + | user_pref('browser.newtab.preload', false); | |
62 | + | user_pref('browser.newtab.url', 'about:blank'); | |
51 | 63 | user_pref('browser.sessionstore.privacy_level', 2); | |
52 | 64 | user_pref('browser.privatebrowsing.autostart', false); | |
53 | 65 | user_pref('browser.download.animateNotifications', false); | |
@@ -64,8 +76,6 @@ user_pref('browser.urlbar.suggest.openpage', false); | |||
64 | 76 | user_pref('browser.urlbar.suggest.topsites', false); | |
65 | 77 | user_pref('browser.shell.checkDefaultBrowser', false); | |
66 | 78 | user_pref('browser.aboutConfig.showWarning', false); | |
67 | - | user_pref('browser.newtab.preload', false); | |
68 | - | user_pref('browser.newtab.url', 'about:blank'); | |
69 | 79 | user_pref('browser.newtabpage.enabled', false); | |
70 | 80 | user_pref('browser.newtabpage.directory.ping', false); | |
71 | 81 | user_pref('browser.newtabpage.directory.source', 'data:text/plain,{}'); | |
@@ -101,7 +111,7 @@ user_pref('browser.privatebrowsing.forceMediaMemoryCache', true); | |||
101 | 111 | user_pref('browser.shell.shortcutFavicons', false); | |
102 | 112 | user_pref('browser.sessionstore.interval', 30000); | |
103 | 113 | user_pref('browser.bookmarks.max_backups', 0); | |
104 | - | user_pref('browser.chrome.site_icons', false); | |
114 | + | user_pref('browser.chrome.site_icons', true); | |
105 | 115 | user_pref('browser.ssl_override_behavior', 1); | |
106 | 116 | user_pref('browser.helperApps.deleteTempFileOnExit', true); | |
107 | 117 | user_pref('browser.pagethumbnails.capturing_disabled', true); | |
@@ -113,6 +123,7 @@ user_pref('browser.link.open_newwindow', 3); | |||
113 | 123 | user_pref('browser.link.open_newwindow.restriction', 0); | |
114 | 124 | user_pref('browser.messaging-system.whatsNewPanel.enabled', false); | |
115 | 125 | user_pref('browser.send_pings', false); | |
126 | + | user_pref('browser.send_pings.require_same_host', true); | |
116 | 127 | user_pref('browser.pocket.enabled', false); | |
117 | 128 | user_pref('browser.offline-apps.notify', true); | |
118 | 129 | user_pref('browser.urlbar.autocomplete.enabled', false); // http://kb.mozillazine.org/Disabling_autocomplete_-_Firefox#Firefox_3.5 | |
@@ -124,10 +135,13 @@ user_pref('layout.css.backdrop-filter.enabled', true); | |||
124 | 135 | user_pref('layout.spellcheckDefault', 0); | |
125 | 136 | user_pref('layout.css.visited_links_enabled', false); | |
126 | 137 | ||
138 | + | user_pref('geo.enabled', false); | |
127 | 139 | user_pref('geo.provider.network.url', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
128 | 140 | user_pref('geo.provider.ms-windows-location', false); | |
129 | 141 | user_pref('geo.provider.use_corelocation', false); | |
130 | 142 | user_pref('geo.provider.use_gpsd', false); | |
143 | + | user_pref('geo.wifi.logging.enabled', false); | |
144 | + | user_pref('geo.wifi.uri', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
131 | 145 | ||
132 | 146 | user_pref('toolkit.telemetry.unified', false); | |
133 | 147 | user_pref('toolkit.telemetry.enabled', false); | |
@@ -172,6 +186,8 @@ user_pref('app.normandy.api_url', ''); | |||
172 | 186 | user_pref('datareporting.policy.dataSubmissionEnabled', false); | |
173 | 187 | user_pref('datareporting.healthreport.uploadEnabled', false); | |
174 | 188 | ||
189 | + | user_pref('dom.webaudio.enabled', false); | |
190 | + | user_pref('dom.enable_user_timing', false); | |
175 | 191 | user_pref('dom.flyweb.enabled', false); | |
176 | 192 | user_pref('dom.serviceWorkers.enabled', false); | |
177 | 193 | user_pref('dom.disable_beforeunload', false); | |
@@ -183,7 +199,18 @@ user_pref('dom.ipc.plugins.reportCrashURL', false); | |||
183 | 199 | user_pref('dom.battery.enabled', false); | |
184 | 200 | user_pref('dom.telephony.enabled', false); | |
185 | 201 | user_pref('dom.targetBlankNoOpener.enabled', true); | |
202 | + | user_pref('dom.private-attribution.submission.enabled', false); | |
186 | 203 | user_pref('dom.storage.next_gen', true); | |
204 | + | user_pref('dom.network.enabled', false); | |
205 | + | user_pref('dom.maxHardwareConcurrency', 2); | |
206 | + | user_pref('dom.vibrator.enabled', false); | |
207 | + | user_pref('dom.vr.enabled', false); | |
208 | + | user_pref('dom.gamepad.enabled', false); | |
209 | + | user_pref('dom.archivereader.enabled', false); | |
210 | + | user_pref('dom.serviceWorkers.enabled', false); | |
211 | + | user_pref('dom.webnotifications.enabled', false); | |
212 | + | user_pref('dom.enable_performance', false); | |
213 | + | user_pref('dom.enable_resource_timing', false); | |
187 | 214 | ||
188 | 215 | user_pref('security.ask_for_password', 2); | |
189 | 216 | user_pref('security.password_lifetime', 1); | |
@@ -257,6 +284,16 @@ user_pref('signon.rememberSignons', false); | |||
257 | 284 | ||
258 | 285 | user_pref('media.memory_cache_max_size', 65536); | |
259 | 286 | user_pref('media.autoplay.blocking_policy', 2); | |
287 | + | user_pref('media.video_stats.enabled', false); | |
288 | + | user_pref('media.webspeech.synth.enabled', false); | |
289 | + | user_pref('media.webspeech.recognition.enable', false); | |
290 | + | user_pref('media.navigator.enabled', false); | |
291 | + | user_pref('media.navigator.video.enabled', false); | |
292 | + | user_pref('media.getusermedia.screensharing.enabled', false); | |
293 | + | user_pref('media.getusermedia.audiocapture.enabled', false); | |
294 | + | user_pref('media.peerconnection.enabled', false); | |
295 | + | user_pref('media.peerconnection.ice.default_address_only', true); // Firefox 42-51 | |
296 | + | user_pref('media.peerconnection.ice.no_host', true); // Firefox >= 52 | |
260 | 297 | ||
261 | 298 | user_pref('pdfjs.disabled', false); | |
262 | 299 | user_pref('pdfjs.enableScripting', false); | |
@@ -268,6 +305,15 @@ user_pref('plugins.click_to_play', true); | |||
268 | 305 | user_pref('devtools.chrome.enabled', false); | |
269 | 306 | user_pref('devtools.debugger.remote-enabled', false); | |
270 | 307 | ||
308 | + | user_pref('webgl.disabled', true); | |
309 | + | user_pref('webgl.enable-debug-renderer-info', false); | |
310 | + | user_pref('webgl.disable-fail-if-major-performance-caveat', true); | |
311 | + | user_pref('webgl.disable-extensions', true); | |
312 | + | user_pref('webgl.min_capability_mode', true); | |
313 | + | ||
314 | + | user_pref('intl.locale.matchOS', false); | |
315 | + | user_pref('intl.accept_languages', 'sv-SE, se'); | |
316 | + | ||
271 | 317 | user_pref('gfx.webrender.all', true); | |
272 | 318 | user_pref('camera.control.face_detection.enabled', false); | |
273 | 319 | user_pref('breakpad.reportURL', ''); | |
@@ -276,11 +322,12 @@ user_pref('accessibility.force_disabled', 1); | |||
276 | 322 | user_pref('beacon.enabled', false); | |
277 | 323 | user_pref('middlemouse.contentLoadURL', false); | |
278 | 324 | user_pref('webchannel.allowObject.urlWhitelist', ''); | |
279 | - | user_pref('webgl.disabled', true); | |
280 | 325 | user_pref('services.blocklist.update_enabled', true); | |
281 | 326 | user_pref('lightweightThemes.update.enabled', false); | |
282 | 327 | user_pref('devtools.debugger.force-local', true); | |
283 | 328 | user_pref('general.smoothScroll', false); | |
284 | 329 | user_pref('keyword.enabled', true); /* Enable or disable search from the URL bar */ | |
285 | 330 | user_pref('app.update.auto', false); | |
286 | - | user_pref('loop.logDomains', false); | |
331 | + | user_pref('loop.logDomains', false); | |
332 | + | user_pref('clipboard.autocopy', false); | |
333 | + | user_pref('device.sensors.enabled', false); |
airikr revised this gist . Go to revision
1 file changed, 10 insertions, 52 deletions
user.js
@@ -1,11 +1,6 @@ | |||
1 | - | /* Inspirated by https://github.com/arkenfox/user.js & https://github.com/pyllyukko/user.js */ | |
1 | + | /* Inspirated by https://github.com/arkenfox/user.js */ | |
2 | 2 | ||
3 | 3 | user_pref('browser.aboutConfig.showWarning', false); | |
4 | - | user_pref('browser.display.use_document_fonts', 1); | |
5 | - | user_pref('browser.search.countryCode', 'SE'); | |
6 | - | user_pref('browser.search.region', 'SE'); | |
7 | - | user_pref('browser.search.geoip.url', ''); | |
8 | - | ||
9 | 4 | user_pref('extensions.update.enabled', true); | |
10 | 5 | user_pref('extensions.pocket.enabled', false); | |
11 | 6 | user_pref('extensions.getAddons.showPane', false); | |
@@ -42,19 +37,17 @@ user_pref('privacy.cpd.cookies', false); | |||
42 | 37 | user_pref('privacy.sanitize.timeSpan', 0); | |
43 | 38 | user_pref('privacy.userContext.enabled', true); | |
44 | 39 | user_pref('privacy.userContext.ui.enabled', true); | |
45 | - | user_pref('privacy.resistFingerprinting', true); | |
46 | - | user_pref('privacy.resistFingerprinting.block_mozAddonManager', true); | |
47 | - | user_pref('privacy.resistFingerprinting.letterboxing', true); | |
48 | - | user_pref('privacy.window.maxInnerWidth', 1800); | |
40 | + | /*user_pref('privacy.window.maxInnerWidth', 1800); | |
49 | 41 | user_pref('privacy.window.maxInnerHeight', 1000); | |
42 | + | user_pref('privacy.resistFingerprinting', false); | |
43 | + | user_pref('privacy.resistFingerprinting.block_mozAddonManager', true); | |
44 | + | user_pref('privacy.resistFingerprinting.letterboxing', false);*/ | |
50 | 45 | ||
51 | 46 | user_pref('startup.homepage_welcome_url', 'about:blank'); | |
52 | 47 | user_pref('startup.homepage_welcome_url.additional', 'about:blank'); | |
53 | 48 | user_pref('startup.homepage_override_url', 'about:blank'); | |
54 | 49 | ||
55 | 50 | user_pref('browser.startup.homepage', 'http://localhost'); | |
56 | - | user_pref('browser.newtab.preload', false); | |
57 | - | user_pref('browser.newtab.url', 'about:blank'); | |
58 | 51 | user_pref('browser.sessionstore.privacy_level', 2); | |
59 | 52 | user_pref('browser.privatebrowsing.autostart', false); | |
60 | 53 | user_pref('browser.download.animateNotifications', false); | |
@@ -71,6 +64,8 @@ user_pref('browser.urlbar.suggest.openpage', false); | |||
71 | 64 | user_pref('browser.urlbar.suggest.topsites', false); | |
72 | 65 | user_pref('browser.shell.checkDefaultBrowser', false); | |
73 | 66 | user_pref('browser.aboutConfig.showWarning', false); | |
67 | + | user_pref('browser.newtab.preload', false); | |
68 | + | user_pref('browser.newtab.url', 'about:blank'); | |
74 | 69 | user_pref('browser.newtabpage.enabled', false); | |
75 | 70 | user_pref('browser.newtabpage.directory.ping', false); | |
76 | 71 | user_pref('browser.newtabpage.directory.source', 'data:text/plain,{}'); | |
@@ -106,7 +101,7 @@ user_pref('browser.privatebrowsing.forceMediaMemoryCache', true); | |||
106 | 101 | user_pref('browser.shell.shortcutFavicons', false); | |
107 | 102 | user_pref('browser.sessionstore.interval', 30000); | |
108 | 103 | user_pref('browser.bookmarks.max_backups', 0); | |
109 | - | user_pref('browser.chrome.site_icons', true); | |
104 | + | user_pref('browser.chrome.site_icons', false); | |
110 | 105 | user_pref('browser.ssl_override_behavior', 1); | |
111 | 106 | user_pref('browser.helperApps.deleteTempFileOnExit', true); | |
112 | 107 | user_pref('browser.pagethumbnails.capturing_disabled', true); | |
@@ -118,7 +113,6 @@ user_pref('browser.link.open_newwindow', 3); | |||
118 | 113 | user_pref('browser.link.open_newwindow.restriction', 0); | |
119 | 114 | user_pref('browser.messaging-system.whatsNewPanel.enabled', false); | |
120 | 115 | user_pref('browser.send_pings', false); | |
121 | - | user_pref('browser.send_pings.require_same_host', true); | |
122 | 116 | user_pref('browser.pocket.enabled', false); | |
123 | 117 | user_pref('browser.offline-apps.notify', true); | |
124 | 118 | user_pref('browser.urlbar.autocomplete.enabled', false); // http://kb.mozillazine.org/Disabling_autocomplete_-_Firefox#Firefox_3.5 | |
@@ -130,13 +124,10 @@ user_pref('layout.css.backdrop-filter.enabled', true); | |||
130 | 124 | user_pref('layout.spellcheckDefault', 0); | |
131 | 125 | user_pref('layout.css.visited_links_enabled', false); | |
132 | 126 | ||
133 | - | user_pref('geo.enabled', false); | |
134 | 127 | user_pref('geo.provider.network.url', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
135 | 128 | user_pref('geo.provider.ms-windows-location', false); | |
136 | 129 | user_pref('geo.provider.use_corelocation', false); | |
137 | 130 | user_pref('geo.provider.use_gpsd', false); | |
138 | - | user_pref('geo.wifi.logging.enabled', false); | |
139 | - | user_pref('geo.wifi.uri', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
140 | 131 | ||
141 | 132 | user_pref('toolkit.telemetry.unified', false); | |
142 | 133 | user_pref('toolkit.telemetry.enabled', false); | |
@@ -181,8 +172,6 @@ user_pref('app.normandy.api_url', ''); | |||
181 | 172 | user_pref('datareporting.policy.dataSubmissionEnabled', false); | |
182 | 173 | user_pref('datareporting.healthreport.uploadEnabled', false); | |
183 | 174 | ||
184 | - | user_pref('dom.webaudio.enabled', false); | |
185 | - | user_pref('dom.enable_user_timing', false); | |
186 | 175 | user_pref('dom.flyweb.enabled', false); | |
187 | 176 | user_pref('dom.serviceWorkers.enabled', false); | |
188 | 177 | user_pref('dom.disable_beforeunload', false); | |
@@ -194,18 +183,7 @@ user_pref('dom.ipc.plugins.reportCrashURL', false); | |||
194 | 183 | user_pref('dom.battery.enabled', false); | |
195 | 184 | user_pref('dom.telephony.enabled', false); | |
196 | 185 | user_pref('dom.targetBlankNoOpener.enabled', true); | |
197 | - | user_pref('dom.private-attribution.submission.enabled', false); | |
198 | 186 | user_pref('dom.storage.next_gen', true); | |
199 | - | user_pref('dom.network.enabled', false); | |
200 | - | user_pref('dom.maxHardwareConcurrency', 2); | |
201 | - | user_pref('dom.vibrator.enabled', false); | |
202 | - | user_pref('dom.vr.enabled', false); | |
203 | - | user_pref('dom.gamepad.enabled', false); | |
204 | - | user_pref('dom.archivereader.enabled', false); | |
205 | - | user_pref('dom.serviceWorkers.enabled', false); | |
206 | - | user_pref('dom.webnotifications.enabled', false); | |
207 | - | user_pref('dom.enable_performance', false); | |
208 | - | user_pref('dom.enable_resource_timing', false); | |
209 | 187 | ||
210 | 188 | user_pref('security.ask_for_password', 2); | |
211 | 189 | user_pref('security.password_lifetime', 1); | |
@@ -279,16 +257,6 @@ user_pref('signon.rememberSignons', false); | |||
279 | 257 | ||
280 | 258 | user_pref('media.memory_cache_max_size', 65536); | |
281 | 259 | user_pref('media.autoplay.blocking_policy', 2); | |
282 | - | user_pref('media.video_stats.enabled', false); | |
283 | - | user_pref('media.webspeech.synth.enabled', false); | |
284 | - | user_pref('media.webspeech.recognition.enable', false); | |
285 | - | user_pref('media.navigator.enabled', false); | |
286 | - | user_pref('media.navigator.video.enabled', false); | |
287 | - | user_pref('media.getusermedia.screensharing.enabled', false); | |
288 | - | user_pref('media.getusermedia.audiocapture.enabled', false); | |
289 | - | user_pref('media.peerconnection.enabled', false); | |
290 | - | user_pref('media.peerconnection.ice.default_address_only', true); // Firefox 42-51 | |
291 | - | user_pref('media.peerconnection.ice.no_host', true); // Firefox >= 52 | |
292 | 260 | ||
293 | 261 | user_pref('pdfjs.disabled', false); | |
294 | 262 | user_pref('pdfjs.enableScripting', false); | |
@@ -300,15 +268,6 @@ user_pref('plugins.click_to_play', true); | |||
300 | 268 | user_pref('devtools.chrome.enabled', false); | |
301 | 269 | user_pref('devtools.debugger.remote-enabled', false); | |
302 | 270 | ||
303 | - | user_pref('webgl.disabled', true); | |
304 | - | user_pref('webgl.enable-debug-renderer-info', false); | |
305 | - | user_pref('webgl.disable-fail-if-major-performance-caveat', true); | |
306 | - | user_pref('webgl.disable-extensions', true); | |
307 | - | user_pref('webgl.min_capability_mode', true); | |
308 | - | ||
309 | - | user_pref('intl.locale.matchOS', false); | |
310 | - | user_pref('intl.accept_languages', 'sv-SE, se'); | |
311 | - | ||
312 | 271 | user_pref('gfx.webrender.all', true); | |
313 | 272 | user_pref('camera.control.face_detection.enabled', false); | |
314 | 273 | user_pref('breakpad.reportURL', ''); | |
@@ -317,12 +276,11 @@ user_pref('accessibility.force_disabled', 1); | |||
317 | 276 | user_pref('beacon.enabled', false); | |
318 | 277 | user_pref('middlemouse.contentLoadURL', false); | |
319 | 278 | user_pref('webchannel.allowObject.urlWhitelist', ''); | |
279 | + | user_pref('webgl.disabled', true); | |
320 | 280 | user_pref('services.blocklist.update_enabled', true); | |
321 | 281 | user_pref('lightweightThemes.update.enabled', false); | |
322 | 282 | user_pref('devtools.debugger.force-local', true); | |
323 | 283 | user_pref('general.smoothScroll', false); | |
324 | 284 | user_pref('keyword.enabled', true); /* Enable or disable search from the URL bar */ | |
325 | 285 | user_pref('app.update.auto', false); | |
326 | - | user_pref('loop.logDomains', false); | |
327 | - | user_pref('clipboard.autocopy', false); | |
328 | - | user_pref('device.sensors.enabled', false); | |
286 | + | user_pref('loop.logDomains', false); |
airikr revised this gist . Go to revision
1 file changed, 328 insertions
user.js(file created)
@@ -0,0 +1,328 @@ | |||
1 | + | /* Inspirated by https://github.com/arkenfox/user.js & https://github.com/pyllyukko/user.js */ | |
2 | + | ||
3 | + | user_pref('browser.aboutConfig.showWarning', false); | |
4 | + | user_pref('browser.display.use_document_fonts', 1); | |
5 | + | user_pref('browser.search.countryCode', 'SE'); | |
6 | + | user_pref('browser.search.region', 'SE'); | |
7 | + | user_pref('browser.search.geoip.url', ''); | |
8 | + | ||
9 | + | user_pref('extensions.update.enabled', true); | |
10 | + | user_pref('extensions.pocket.enabled', false); | |
11 | + | user_pref('extensions.getAddons.showPane', false); | |
12 | + | user_pref('extensions.htmlaboutaddons.recommendations.enabled', false); | |
13 | + | user_pref('extensions.formautofill.addresses.enabled', false); | |
14 | + | user_pref('extensions.formautofill.available', 'off'); | |
15 | + | user_pref('extensions.formautofill.creditCards.available', false); | |
16 | + | user_pref('extensions.formautofill.creditCards.enabled', false); | |
17 | + | user_pref('extensions.formautofill.heuristics.enabled', false); | |
18 | + | user_pref('extensions.webcompat.enable_shims', true); | |
19 | + | user_pref('extensions.blocklist.enabled', true); | |
20 | + | user_pref('extensions.webcompat-reporter.enabled', false); | |
21 | + | user_pref('extensions.screenshots.disabled', false); | |
22 | + | user_pref('extensions.getAddons.cache.enabled', false); | |
23 | + | user_pref('extensions.blocklist.url', 'https://blocklist.addons.mozilla.org/blocklist/3/%APP_ID%/%APP_VERSION%/'); | |
24 | + | user_pref('extensions.systemAddon.update.enabled', false); | |
25 | + | ||
26 | + | user_pref('privacy.clearOnShutdown.cache', true); | |
27 | + | user_pref('privacy.clearOnShutdown.downloads', true); | |
28 | + | user_pref('privacy.clearOnShutdown.formdata', true); | |
29 | + | user_pref('privacy.clearOnShutdown.history', true); | |
30 | + | user_pref('privacy.clearOnShutdown.sessions', true); | |
31 | + | user_pref('privacy.clearOnShutdown.offlineApps', false); | |
32 | + | user_pref('privacy.clearOnShutdown.cookies', false); | |
33 | + | user_pref('privacy.sanitize.sanitizeOnShutdown', true); | |
34 | + | user_pref('privacy.window.name.update.enabled', true); | |
35 | + | user_pref('privacy.firstparty.isolate', false); | |
36 | + | user_pref('privacy.cpd.cache', true); | |
37 | + | user_pref('privacy.cpd.formdata', true); | |
38 | + | user_pref('privacy.cpd.history', true); | |
39 | + | user_pref('privacy.cpd.sessions', true); | |
40 | + | user_pref('privacy.cpd.offlineApps', false); | |
41 | + | user_pref('privacy.cpd.cookies', false); | |
42 | + | user_pref('privacy.sanitize.timeSpan', 0); | |
43 | + | user_pref('privacy.userContext.enabled', true); | |
44 | + | user_pref('privacy.userContext.ui.enabled', true); | |
45 | + | user_pref('privacy.resistFingerprinting', true); | |
46 | + | user_pref('privacy.resistFingerprinting.block_mozAddonManager', true); | |
47 | + | user_pref('privacy.resistFingerprinting.letterboxing', true); | |
48 | + | user_pref('privacy.window.maxInnerWidth', 1800); | |
49 | + | user_pref('privacy.window.maxInnerHeight', 1000); | |
50 | + | ||
51 | + | user_pref('startup.homepage_welcome_url', 'about:blank'); | |
52 | + | user_pref('startup.homepage_welcome_url.additional', 'about:blank'); | |
53 | + | user_pref('startup.homepage_override_url', 'about:blank'); | |
54 | + | ||
55 | + | user_pref('browser.startup.homepage', 'http://localhost'); | |
56 | + | user_pref('browser.newtab.preload', false); | |
57 | + | user_pref('browser.newtab.url', 'about:blank'); | |
58 | + | user_pref('browser.sessionstore.privacy_level', 2); | |
59 | + | user_pref('browser.privatebrowsing.autostart', false); | |
60 | + | user_pref('browser.download.animateNotifications', false); | |
61 | + | user_pref('browser.download.alwaysOpenPanel', false); | |
62 | + | user_pref('browser.download.panel.shown', true); | |
63 | + | user_pref('browser.download.useDownloadDir', false); | |
64 | + | user_pref('browser.download.manager.addToRecentDocs', false); | |
65 | + | user_pref('browser.download.folderList', 2); | |
66 | + | user_pref('browser.search.suggest.enabled', false); | |
67 | + | user_pref('browser.tabs.warnOnClose', true); | |
68 | + | user_pref('browser.urlbar.suggest.engines', false); | |
69 | + | user_pref('browser.urlbar.suggest.history', false); | |
70 | + | user_pref('browser.urlbar.suggest.openpage', false); | |
71 | + | user_pref('browser.urlbar.suggest.topsites', false); | |
72 | + | user_pref('browser.shell.checkDefaultBrowser', false); | |
73 | + | user_pref('browser.aboutConfig.showWarning', false); | |
74 | + | user_pref('browser.newtabpage.enabled', false); | |
75 | + | user_pref('browser.newtabpage.directory.ping', false); | |
76 | + | user_pref('browser.newtabpage.directory.source', 'data:text/plain,{}'); | |
77 | + | user_pref('browser.newtabpage.activity-stream.feeds.telemetry', false); | |
78 | + | user_pref('browser.newtabpage.activity-stream.telemetry', false); | |
79 | + | user_pref('browser.newtabpage.activity-stream.feeds.snippets', false); | |
80 | + | user_pref('browser.newtabpage.activity-stream.feeds.section.topstories', false); | |
81 | + | user_pref('browser.newtabpage.activity-stream.section.highlights.includePocket', false); | |
82 | + | user_pref('browser.newtabpage.activity-stream.showSponsored', false); | |
83 | + | user_pref('browser.newtabpage.activity-stream.feeds.discoverystreamfeed', false); | |
84 | + | user_pref('browser.newtabpage.activity-stream.showSponsoredTopSites', false); | |
85 | + | user_pref('browser.newtabpage.activity-stream.default.sites', ''); | |
86 | + | user_pref('browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features', false); | |
87 | + | user_pref('browser.region.network.url', ''); | |
88 | + | user_pref('browser.region.update.enabled', false); | |
89 | + | user_pref('browser.discovery.enabled', false); | |
90 | + | user_pref('browser.tabs.crashReporting.sendReport', false); | |
91 | + | user_pref('browser.crashReports.unsubmittedCheck.autoSubmit2', false); | |
92 | + | user_pref('browser.safebrowsing.downloads.remote.enabled', false); | |
93 | + | user_pref('browser.safebrowsing.enabled', false); | |
94 | + | user_pref('browser.places.speculativeConnect.enabled', false); | |
95 | + | user_pref('browser.fixup.alternate.enabled', false); | |
96 | + | user_pref('browser.urlbar.trimURLs', false); | |
97 | + | user_pref('browser.urlbar.suggest.searches', false); | |
98 | + | user_pref('browser.urlbar.speculativeConnect.enabled', false); | |
99 | + | user_pref('browser.urlbar.dnsResolveSingleWordsAfterSearch', 0); | |
100 | + | user_pref('browser.urlbar.suggest.quicksuggest.nonsponsored', false); | |
101 | + | user_pref('browser.urlbar.suggest.quicksuggest.sponsored', false); | |
102 | + | user_pref('browser.tabs.loadBookmarksInTabs', true); | |
103 | + | user_pref('browser.formfill.enable', false); | |
104 | + | user_pref('browser.cache.disk.enable', false); | |
105 | + | user_pref('browser.privatebrowsing.forceMediaMemoryCache', true); | |
106 | + | user_pref('browser.shell.shortcutFavicons', false); | |
107 | + | user_pref('browser.sessionstore.interval', 30000); | |
108 | + | user_pref('browser.bookmarks.max_backups', 0); | |
109 | + | user_pref('browser.chrome.site_icons', true); | |
110 | + | user_pref('browser.ssl_override_behavior', 1); | |
111 | + | user_pref('browser.helperApps.deleteTempFileOnExit', true); | |
112 | + | user_pref('browser.pagethumbnails.capturing_disabled', true); | |
113 | + | user_pref('browser.download.always_ask_before_handling_new_types', true); | |
114 | + | user_pref('browser.contentblocking.category', 'strict'); | |
115 | + | user_pref('browser.startup.blankWindow', false); | |
116 | + | user_pref('browser.display.use_system_colors', false); | |
117 | + | user_pref('browser.link.open_newwindow', 3); | |
118 | + | user_pref('browser.link.open_newwindow.restriction', 0); | |
119 | + | user_pref('browser.messaging-system.whatsNewPanel.enabled', false); | |
120 | + | user_pref('browser.send_pings', false); | |
121 | + | user_pref('browser.send_pings.require_same_host', true); | |
122 | + | user_pref('browser.pocket.enabled', false); | |
123 | + | user_pref('browser.offline-apps.notify', true); | |
124 | + | user_pref('browser.urlbar.autocomplete.enabled', false); // http://kb.mozillazine.org/Disabling_autocomplete_-_Firefox#Firefox_3.5 | |
125 | + | user_pref('browser.urlbar.autoFill', true); // http://kb.mozillazine.org/Inline_autocomplete | |
126 | + | user_pref('browser.urlbar.autoFill.typed', false); | |
127 | + | user_pref('browser.vpn_promo.enabled', false); | |
128 | + | ||
129 | + | user_pref('layout.css.backdrop-filter.enabled', true); | |
130 | + | user_pref('layout.spellcheckDefault', 0); | |
131 | + | user_pref('layout.css.visited_links_enabled', false); | |
132 | + | ||
133 | + | user_pref('geo.enabled', false); | |
134 | + | user_pref('geo.provider.network.url', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
135 | + | user_pref('geo.provider.ms-windows-location', false); | |
136 | + | user_pref('geo.provider.use_corelocation', false); | |
137 | + | user_pref('geo.provider.use_gpsd', false); | |
138 | + | user_pref('geo.wifi.logging.enabled', false); | |
139 | + | user_pref('geo.wifi.uri', 'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'); | |
140 | + | ||
141 | + | user_pref('toolkit.telemetry.unified', false); | |
142 | + | user_pref('toolkit.telemetry.enabled', false); | |
143 | + | user_pref('toolkit.telemetry.server', 'data:,'); | |
144 | + | user_pref('toolkit.telemetry.archive.enabled', false); | |
145 | + | user_pref('toolkit.telemetry.newProfilePing.enabled', false); | |
146 | + | user_pref('toolkit.telemetry.shutdownPingSender.enabled', false); | |
147 | + | user_pref('toolkit.telemetry.updatePing.enabled', false); | |
148 | + | user_pref('toolkit.telemetry.bhrPing.enabled', false); | |
149 | + | user_pref('toolkit.telemetry.firstShutdownPing.enabled', false); | |
150 | + | user_pref('toolkit.telemetry.coverage.opt-out', true); | |
151 | + | user_pref('toolkit.coverage.opt-out', true); | |
152 | + | user_pref('toolkit.coverage.endpoint.base', ''); | |
153 | + | user_pref('toolkit.legacyUserProfileCustomizations.stylesheets', true); | |
154 | + | user_pref('toolkit.winRegisterApplicationRestart', false); | |
155 | + | ||
156 | + | user_pref('network.dns.disablePrefetch', true); | |
157 | + | user_pref('network.captive-portal-service.enabled', false); | |
158 | + | user_pref('network.connectivity-service.enabled', false); | |
159 | + | user_pref('network.prefetch-next', false); | |
160 | + | user_pref('network.dns.disablePrefetch', true); | |
161 | + | user_pref('network.dns.disableIPv6', true); | |
162 | + | user_pref('network.predictor.enabled', false); | |
163 | + | user_pref('network.predictor.enable-prefetch', false); | |
164 | + | user_pref('network.http.speculative-parallel-limit', 0); | |
165 | + | user_pref('network.proxy.socks_remote_dns', true); | |
166 | + | user_pref('network.auth.subresource-http-auth-allow', 1); | |
167 | + | user_pref('network.http.windows-sso.enabled', false); | |
168 | + | user_pref('network.http.referer.XOriginPolicy', 2); | |
169 | + | user_pref('network.http.referer.XOriginTrimmingPolicy', 2); | |
170 | + | user_pref('network.IDN_show_punycode', true); | |
171 | + | user_pref('network.protocol-handler.external.ms-windows-store', false); | |
172 | + | user_pref('network.cookie.lifetimePolicy', 0); | |
173 | + | user_pref('network.cookie.thirdparty.sessionOnly', true); | |
174 | + | user_pref('network.cookie.thirdparty.nonsecureSessionOnly', true); | |
175 | + | user_pref('network.http.referer.spoofSource', false); | |
176 | + | ||
177 | + | user_pref('app.shield.optoutstudies.enabled', false); | |
178 | + | user_pref('app.normandy.enabled', false); | |
179 | + | user_pref('app.normandy.api_url', ''); | |
180 | + | ||
181 | + | user_pref('datareporting.policy.dataSubmissionEnabled', false); | |
182 | + | user_pref('datareporting.healthreport.uploadEnabled', false); | |
183 | + | ||
184 | + | user_pref('dom.webaudio.enabled', false); | |
185 | + | user_pref('dom.enable_user_timing', false); | |
186 | + | user_pref('dom.flyweb.enabled', false); | |
187 | + | user_pref('dom.serviceWorkers.enabled', false); | |
188 | + | user_pref('dom.disable_beforeunload', false); | |
189 | + | user_pref('dom.disable_window_move_resize', true); | |
190 | + | user_pref('dom.disable_open_during_load', true); | |
191 | + | user_pref('dom.popup_allowed_events', 'click dblclick mousedown pointerdown'); | |
192 | + | user_pref('dom.security.https_only_mode', true); | |
193 | + | user_pref('dom.ipc.plugins.reportCrashURL', false); | |
194 | + | user_pref('dom.battery.enabled', false); | |
195 | + | user_pref('dom.telephony.enabled', false); | |
196 | + | user_pref('dom.targetBlankNoOpener.enabled', true); | |
197 | + | user_pref('dom.private-attribution.submission.enabled', false); | |
198 | + | user_pref('dom.storage.next_gen', true); | |
199 | + | user_pref('dom.network.enabled', false); | |
200 | + | user_pref('dom.maxHardwareConcurrency', 2); | |
201 | + | user_pref('dom.vibrator.enabled', false); | |
202 | + | user_pref('dom.vr.enabled', false); | |
203 | + | user_pref('dom.gamepad.enabled', false); | |
204 | + | user_pref('dom.archivereader.enabled', false); | |
205 | + | user_pref('dom.serviceWorkers.enabled', false); | |
206 | + | user_pref('dom.webnotifications.enabled', false); | |
207 | + | user_pref('dom.enable_performance', false); | |
208 | + | user_pref('dom.enable_resource_timing', false); | |
209 | + | ||
210 | + | user_pref('security.ask_for_password', 2); | |
211 | + | user_pref('security.password_lifetime', 1); | |
212 | + | user_pref('security.ssl.require_safe_negotiation', true); | |
213 | + | user_pref('security.dialog_enable_delay', 1000); | |
214 | + | user_pref('security.family_safety.mode', 0); | |
215 | + | user_pref('security.ssl.treat_unsafe_negotiation_as_broken', true); | |
216 | + | user_pref('security.tls.version.enable-deprecated', false); | |
217 | + | user_pref('security.OCSP.require', false); | |
218 | + | user_pref('security.ssl.disable_session_identifiers', true); | |
219 | + | user_pref('security.tls.version.min', 3); | |
220 | + | user_pref('security.tls.version.max', 4); | |
221 | + | user_pref('security.tls.version.fallback-limit', 4); | |
222 | + | user_pref('security.cert_pinning.enforcement_level', 2); | |
223 | + | user_pref('security.pki.sha1_enforcement_level', 1); | |
224 | + | user_pref('security.ssl.errorReporting.automatic', false); | |
225 | + | user_pref('security.ssl3.rsa_null_sha', false); | |
226 | + | user_pref('security.ssl3.rsa_null_md5', false); | |
227 | + | user_pref('security.ssl3.ecdhe_rsa_null_sha', false); | |
228 | + | user_pref('security.ssl3.ecdhe_ecdsa_null_sha', false); | |
229 | + | user_pref('security.ssl3.ecdh_rsa_null_sha', false); | |
230 | + | user_pref('security.ssl3.ecdh_ecdsa_null_sha', false); | |
231 | + | user_pref('security.ssl3.rsa_seed_sha', false); | |
232 | + | user_pref('security.ssl3.rsa_rc4_40_md5', false); | |
233 | + | user_pref('security.ssl3.rsa_rc2_40_md5', false); | |
234 | + | user_pref('security.ssl3.rsa_1024_rc4_56_sha', false); | |
235 | + | user_pref('security.ssl3.rsa_camellia_128_sha', false); | |
236 | + | user_pref('security.ssl3.ecdhe_rsa_aes_128_sha', false); | |
237 | + | user_pref('security.ssl3.ecdhe_ecdsa_aes_128_sha', false); | |
238 | + | user_pref('security.ssl3.ecdh_rsa_aes_128_sha', false); | |
239 | + | user_pref('security.ssl3.ecdh_ecdsa_aes_128_sha', false); | |
240 | + | user_pref('security.ssl3.dhe_rsa_camellia_128_sha', false); | |
241 | + | user_pref('security.ssl3.dhe_rsa_aes_128_sha', false); | |
242 | + | user_pref('security.ssl3.ecdh_ecdsa_rc4_128_sha', false); | |
243 | + | user_pref('security.ssl3.ecdh_rsa_rc4_128_sha', false); | |
244 | + | user_pref('security.ssl3.ecdhe_ecdsa_rc4_128_sha', false); | |
245 | + | user_pref('security.ssl3.ecdhe_rsa_rc4_128_sha', false); | |
246 | + | user_pref('security.ssl3.rsa_rc4_128_md5', false); | |
247 | + | user_pref('security.ssl3.rsa_rc4_128_sha', false); | |
248 | + | user_pref('security.tls.unrestricted_rc4_fallback', false); | |
249 | + | user_pref('security.ssl3.dhe_dss_des_ede3_sha', false); | |
250 | + | user_pref('security.ssl3.dhe_rsa_des_ede3_sha', false); | |
251 | + | user_pref('security.ssl3.ecdh_ecdsa_des_ede3_sha', false); | |
252 | + | user_pref('security.ssl3.ecdh_rsa_des_ede3_sha', false); | |
253 | + | user_pref('security.ssl3.ecdhe_ecdsa_des_ede3_sha', false); | |
254 | + | user_pref('security.ssl3.ecdhe_rsa_des_ede3_sha', false); | |
255 | + | user_pref('security.ssl3.rsa_des_ede3_sha', false); | |
256 | + | user_pref('security.ssl3.rsa_fips_des_ede3_sha', false); | |
257 | + | user_pref('security.ssl3.ecdh_rsa_aes_256_sha', false); | |
258 | + | user_pref('security.ssl3.ecdh_ecdsa_aes_256_sha', false); | |
259 | + | user_pref('security.ssl3.rsa_camellia_256_sha', false); | |
260 | + | user_pref('security.ssl3.ecdhe_ecdsa_aes_128_gcm_sha256', true); // 0xc02b | |
261 | + | user_pref('security.ssl3.ecdhe_rsa_aes_128_gcm_sha256', true); // 0xc02f | |
262 | + | user_pref('security.ssl3.ecdhe_ecdsa_chacha20_poly1305_sha256', true); | |
263 | + | user_pref('security.ssl3.ecdhe_rsa_chacha20_poly1305_sha256', true); | |
264 | + | user_pref('security.ssl3.dhe_rsa_camellia_256_sha', false); | |
265 | + | user_pref('security.ssl3.dhe_rsa_aes_256_sha', false); | |
266 | + | user_pref('security.ssl3.dhe_dss_aes_128_sha', false); | |
267 | + | user_pref('security.ssl3.dhe_dss_aes_256_sha', false); | |
268 | + | user_pref('security.ssl3.dhe_dss_camellia_128_sha', false); | |
269 | + | user_pref('security.ssl3.dhe_dss_camellia_256_sha', false); | |
270 | + | user_pref('security.insecure_password.ui.enabled', true); | |
271 | + | ||
272 | + | user_pref('permissions.default.shortcuts', 2); | |
273 | + | user_pref('permissions.manager.defaultsUrl', ''); | |
274 | + | user_pref('permissions.delegation.enabled', false); | |
275 | + | ||
276 | + | user_pref('signon.autofillForms', false); | |
277 | + | user_pref('signon.formlessCapture.enabled', false); | |
278 | + | user_pref('signon.rememberSignons', false); | |
279 | + | ||
280 | + | user_pref('media.memory_cache_max_size', 65536); | |
281 | + | user_pref('media.autoplay.blocking_policy', 2); | |
282 | + | user_pref('media.video_stats.enabled', false); | |
283 | + | user_pref('media.webspeech.synth.enabled', false); | |
284 | + | user_pref('media.webspeech.recognition.enable', false); | |
285 | + | user_pref('media.navigator.enabled', false); | |
286 | + | user_pref('media.navigator.video.enabled', false); | |
287 | + | user_pref('media.getusermedia.screensharing.enabled', false); | |
288 | + | user_pref('media.getusermedia.audiocapture.enabled', false); | |
289 | + | user_pref('media.peerconnection.enabled', false); | |
290 | + | user_pref('media.peerconnection.ice.default_address_only', true); // Firefox 42-51 | |
291 | + | user_pref('media.peerconnection.ice.no_host', true); // Firefox >= 52 | |
292 | + | ||
293 | + | user_pref('pdfjs.disabled', false); | |
294 | + | user_pref('pdfjs.enableScripting', false); | |
295 | + | ||
296 | + | user_pref('plugin.state.java', 0); | |
297 | + | user_pref('plugin.state.flash', 0); | |
298 | + | user_pref('plugins.click_to_play', true); | |
299 | + | ||
300 | + | user_pref('devtools.chrome.enabled', false); | |
301 | + | user_pref('devtools.debugger.remote-enabled', false); | |
302 | + | ||
303 | + | user_pref('webgl.disabled', true); | |
304 | + | user_pref('webgl.enable-debug-renderer-info', false); | |
305 | + | user_pref('webgl.disable-fail-if-major-performance-caveat', true); | |
306 | + | user_pref('webgl.disable-extensions', true); | |
307 | + | user_pref('webgl.min_capability_mode', true); | |
308 | + | ||
309 | + | user_pref('intl.locale.matchOS', false); | |
310 | + | user_pref('intl.accept_languages', 'sv-SE, se'); | |
311 | + | ||
312 | + | user_pref('gfx.webrender.all', true); | |
313 | + | user_pref('camera.control.face_detection.enabled', false); | |
314 | + | user_pref('breakpad.reportURL', ''); | |
315 | + | user_pref('captivedetect.canonicalURL', ''); | |
316 | + | user_pref('accessibility.force_disabled', 1); | |
317 | + | user_pref('beacon.enabled', false); | |
318 | + | user_pref('middlemouse.contentLoadURL', false); | |
319 | + | user_pref('webchannel.allowObject.urlWhitelist', ''); | |
320 | + | user_pref('services.blocklist.update_enabled', true); | |
321 | + | user_pref('lightweightThemes.update.enabled', false); | |
322 | + | user_pref('devtools.debugger.force-local', true); | |
323 | + | user_pref('general.smoothScroll', false); | |
324 | + | user_pref('keyword.enabled', true); /* Enable or disable search from the URL bar */ | |
325 | + | user_pref('app.update.auto', false); | |
326 | + | user_pref('loop.logDomains', false); | |
327 | + | user_pref('clipboard.autocopy', false); | |
328 | + | user_pref('device.sensors.enabled', false); |