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