最后活跃于 1729381102

This is my user.js file for Firefox.

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