From 77b5c6911ab1f7c864d5b4847ed84c32d1fb1a45 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Fri, 24 Jan 2020 14:24:37 +0300 Subject: firefox: remove package --- extra/firefox/files/mozconfig | 59 ---- extra/firefox/files/policies.json | 21 -- extra/firefox/files/stab.h | 71 ----- extra/firefox/files/vendor.js | 619 -------------------------------------- 4 files changed, 770 deletions(-) delete mode 100644 extra/firefox/files/mozconfig delete mode 100644 extra/firefox/files/policies.json delete mode 100644 extra/firefox/files/stab.h delete mode 100644 extra/firefox/files/vendor.js (limited to 'extra/firefox/files') diff --git a/extra/firefox/files/mozconfig b/extra/firefox/files/mozconfig deleted file mode 100644 index fbfc81f5..00000000 --- a/extra/firefox/files/mozconfig +++ /dev/null @@ -1,59 +0,0 @@ -ac_add_options --prefix=/usr -ac_add_options --libdir=/usr/lib - -ac_add_options --enable-official-branding -ac_add_options --enable-optimize="$CFLAGS" -ac_add_options --enable-install-strip -ac_add_options --enable-strip - -ac_add_options --without-system-nspr -ac_add_options --without-system-nss -ac_add_options --with-system-jpeg -ac_add_options --with-system-zlib -ac_add_options --with-system-bz2 -ac_add_options --with-system-png - -# System 'libvpx' is too new. -ac_add_options --without-system-libvpx - -ac_add_options --with-system-pixman -ac_add_options --with-system-ffi - -ac_add_options --disable-gconf -ac_add_options --disable-profiling -ac_add_options --disable-accessibility -ac_add_options --disable-tests -ac_add_options --disable-system-extension-dirs -ac_add_options --disable-parental-controls -ac_add_options --disable-debug-symbols -ac_add_options --disable-callgrind -ac_add_options --disable-vtune - -# Settings for musl. -ac_add_options --disable-elf-hack -ac_add_options --disable-gold -ac_add_options --disable-jemalloc -ac_add_options --enable-release - -# ALSA/PulseAudio (removed in 70 (still present in 71b4(?!)) -ac_add_options --disable-pulseaudio -ac_add_options --enable-alsa - -ac_add_options --disable-startup-notification - -# Respect the user. -ac_add_options MOZ_SERVICES_METRICS= -ac_add_options MOZ_PAY= -ac_add_options MOZ_SERVICES_HEALTHREPORTER= -ac_add_options MOZ_SERVICES_FXACCOUNTS= -ac_add_options MOZ_SERVICES_METRICS= -ac_add_options MOZ_DATA_REPORTING= -ac_add_options MOZ_DEVICES= -ac_add_options MOZ_REQUIRE_SIGNING= -ac_add_options MOZ_TELEMETRY_REPORTING= -ac_add_options --disable-crashreporter -ac_add_options --disable-updater -ac_add_options --disable-dbus -ac_add_options --disable-eme -ac_add_options --disable-necko-wifi -ac_add_options --disable-webrtc diff --git a/extra/firefox/files/policies.json b/extra/firefox/files/policies.json deleted file mode 100644 index f918c5b5..00000000 --- a/extra/firefox/files/policies.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "policies": { - "DisableAppUpdate": true, - "DisableFirefoxStudies": true, - "DisablePocket": true, - "DisableTelemetry": true, - "DontCheckDefaultBrowser": true, - "DisableFeedbackCommands": true, - "DisableFirefoxAccounts": true, - "DisableFirefoxScreenshots": true, - "DisableFirefoxStudies": true, - "DisableMasterPasswordCreation": true, - "DisableSetDesktopBackground": true, - "DisableSystemAddonUpdate": true, - "DontCheckDefaultBrowser": true, - "ExtensionUpdate": false, - "NetworkPrediction": false, - "OverridePostUpdatePage": "", - "CaptivePortal": false - } -} diff --git a/extra/firefox/files/stab.h b/extra/firefox/files/stab.h deleted file mode 100644 index 6f70af39..00000000 --- a/extra/firefox/files/stab.h +++ /dev/null @@ -1,71 +0,0 @@ -/* $OpenBSD: stab.h,v 1.3 2003/06/02 19:34:12 millert Exp $ */ -/* $NetBSD: stab.h,v 1.4 1994/10/26 00:56:25 cgd Exp $ */ - -/*- - * Copyright (c) 1991 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @(#)stab.h 5.2 (Berkeley) 4/4/91 - */ - -#ifndef _STAB_H_ -#define _STAB_H_ - -/* - * The following are symbols used by various debuggers and by the Pascal - * compiler. Each of them must have one (or more) of the bits defined by - * the N_STAB mask set. - */ - -#define N_GSYM 0x20 /* global symbol */ -#define N_FNAME 0x22 /* F77 function name */ -#define N_FUN 0x24 /* procedure name */ -#define N_STSYM 0x26 /* data segment variable */ -#define N_LCSYM 0x28 /* bss segment variable */ -#define N_MAIN 0x2a /* main function name */ -#define N_PC 0x30 /* global Pascal symbol */ -#define N_RSYM 0x40 /* register variable */ -#define N_SLINE 0x44 /* text segment line number */ -#define N_DSLINE 0x46 /* data segment line number */ -#define N_BSLINE 0x48 /* bss segment line number */ -#define N_SSYM 0x60 /* structure/union element */ -#define N_SO 0x64 /* main source file name */ -#define N_LSYM 0x80 /* stack variable */ -#define N_BINCL 0x82 /* include file beginning */ -#define N_SOL 0x84 /* included source file name */ -#define N_PSYM 0xa0 /* parameter variable */ -#define N_EINCL 0xa2 /* include file end */ -#define N_ENTRY 0xa4 /* alternate entry point */ -#define N_LBRAC 0xc0 /* left bracket */ -#define N_EXCL 0xc2 /* deleted include file */ -#define N_RBRAC 0xe0 /* right bracket */ -#define N_BCOMM 0xe2 /* begin common */ -#define N_ECOMM 0xe4 /* end common */ -#define N_ECOML 0xe8 /* end common (local name) */ -#define N_LENG 0xfe /* length of preceding entry */ - -#endif /* !_STAB_H_ */ diff --git a/extra/firefox/files/vendor.js b/extra/firefox/files/vendor.js deleted file mode 100644 index 65bc0d95..00000000 --- a/extra/firefox/files/vendor.js +++ /dev/null @@ -1,619 +0,0 @@ -// KISS' vendor.js. -// -// Sources: -// - GNU IceCat, -// - OpenBSD, -// - GHacks user.js -// - pyllyukko/user.js -// - anarcat/firefox-tmp -// - Debian - -// -// STARTUP -// - -pref("browser.newtab.preload", false); -pref("browser.newtabpage.directory.ping", ""); -pref("browser.newtabpage.directory.source", "data:application/json,{}"); -pref("browser.newtabpage.enabled", false); -pref("browser.newtabpage.enhanced", false); -pref("browser.newtabpage.introShown", false); -pref("browser.newtabpage.activity-stream.feeds.telemetry", false); -pref("browser.newtabpage.activity-stream.telemetry", false); -pref("browser.newtabpage.activity-stream.telemetry.ping.endpoint", ""); -pref("browser.newtabpage.activity-stream.telemetry.ut.events", false); -pref("browser.newtabpage.activity-stream.telemetry.structuredIngestion", false); -pref("browser.newtabpage.activity-stream.feeds.snippets", false); -pref("browser.newtabpage.activity-stream.asrouter.providers.snippets", ""); -pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); -pref("browser.newtabpage.activity-stream.section.highlights.includePocket", false); -pref("browser.newtabpage.activity-stream.showSponsored", false); -pref("browser.newtabpage.activity-stream.feeds.discoverystreamfeed", false); - -// -// GEO -// - -pref("geo.enabled", false); -pref("geo.provider.use_gpsd", false); -pref("geo.wifi.uri", ""); -pref("browser.search.geoip.url", ""); -pref("browser.search.geoSpecificDefaults", false); -pref("browser.search.geoSpecificDefaults.url", ""); - -// -// LANGUAGE -// - -pref("intl.accept_languages", "en-US, en"); -pref("javascript.use_us_english_locale", true); -pref("intl.charset.fallback.override", "windows-1252"); - -// -// SILENT FIREFOX -// - -pref("app.update.auto", false); -pref("app.update.enabled", false); -pref("browser.newtabbage.enabled", false); -pref("browser.search.update", false); -pref("extensions.getAddons.showPane", false); -pref("extensions.htmlaboutaddons.recommendations.enabled", false); -pref("toolkit.telemetry.unified", false); -pref("toolkit.telemetry.server", "data:,"); -pref("toolkit.telemetry.archive.enabled", false); -pref("toolkit.telemetry.newProfilePing.enabled", false); -pref("toolkit.telemetry.shutdownPingSender.enabled", false); -pref("toolkit.telemetry.updatePing.enabled", false); -pref("toolkit.telemetry.bhrPing.enabled", false); -pref("toolkit.telemetry.firstShutdownPing.enabled", false); -pref("toolkit.telemetry.hybridContent.enabled", false); -pref("toolkit.telemetry.coverage.opt-out", true); -pref("toolkit.telemetry.shutdownPingSender.enabledFirstSession", false); -pref("toolkit.telemetry.server_owner", ""); -pref("toolkit.telemetry.geckoview.streaming", false); -pref("toolkit.telemetry.ecosystemtelemetry.enabled", false); -pref("toolkit.telemetry.cachedClientID", ""); -pref("toolkit.telemetry.enabled", false); -pref("toolkit.telemetry.rejected", true); -pref("toolkit.telemetry.server", ""); -pref("toolkit.telemetry.unifiedIsOptIn", false); -pref("toolkit.telemetry.prompted", 2); -pref("security.protectionspopup.recordEventTelemetry", false); -pref("security.identitypopup.recordEventTelemetry", false); -pref("privacy.trackingprotection.origin_telemetry.enabled", false); -pref("privacy.trackingprotection.pbmode.enabled", false); -pref("permissions.eventTelemetry.enabled", false); -pref("browser.urlbar.eventTelemetry.enabled", false); -pref("toolkit.coverage.opt-out", true); -pref("toolkit.coverage.endpoint.base", ""); -pref("datareporting.healthreport.uploadEnabled", false); -pref("datareporting.policy.dataSubmissionEnabled", false); -pref("datareporting.healthreport.about.reportUrl", "127.0.0.1"); -pref("datareporting.healthreport.documentServerURI", "127.0.0.1"); -pref("datareporting.policy.dataSubmissionPolicyBypassNotification", true); -pref("datareporting.policy.firstRunURL", ""); -pref("startup.homepage_welcome_url.additional", ""); -pref("browser.startup.firstrunSkipsHomepage", true); -pref("healthreport.uploadEnabled", false); -pref("social.toast-notifications.enabled", false); -pref("datareporting.healthreport.service.enabled", false); -pref("browser.slowStartup.notificationDisabled", true); -pref("network.http.sendRefererHeader", 2); -pref("network.http.referer.spoofSource", false); -pref("app.shield.optoutstudies.enabled", false); -pref("extensions.shield-recipe-client.enabled", false); -pref("browser.discovery.enabled", false); -pref("breakpad.reportURL", ""); -pref("browser.tabs.crashReporting.sendReport", false); -pref("browser.crashReports.unsubmittedCheck.enabled", false); -pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); -pref("captivedetect.canonicalURL", ""); -pref("network.captive-portal-service.enabled", false); -pref("network.connectivity-service.enabled", false); -pref("extensions.blocklist.enabled", false); -pref("privacy.announcements.enabled", false); -pref("browser.snippets.enabled", false); -pref("browser.snippets.syncPromo.enabled", false); -pref("browser.snippets.geoUrl", "http://127.0.0.1/"); -pref("browser.snippets.updateUrl", "http://127.0.0.1/"); -pref("browser.snippets.statsUrl", "http://127.0.0.1/"); -pref("datareporting.policy.firstRunTime", 0); -pref("datareporting.policy.dataSubmissionPolicyVersion", 2); -pref("browser.webapps.checkForUpdates", 0); -pref("browser.webapps.updateCheckUrl", "http://127.0.0.1/"); -pref("dom.flyweb.enabled", false); -pref("services.sync.autoconnect", false); -pref("services.sync.engine.addons", false); -pref("services.sync.engine.bookmarks", false); -pref("services.sync.engine.history", false); -pref("services.sync.engine.passwords", false); -pref("services.sync.engine.prefs", false); -pref("services.sync.engine.tabs", false); -pref("extensions.webservice.discoverURL", ""); -pref("browser.shell.checkDefaultBrowser", false); -pref("shell.checkDefaultClient", false); -pref("browser.newtabpage.directory.source", 'data:application/json,{}'); -pref("browser.urlbar.suggest.searches", false); -pref("geo.wifi.scan", false); -pref("dom.push.connection.enabled", false); -pref("extensions.update.url", ""); -pref("extensions.update.background.url", ""); -pref("extensions.blocklist.detailsURL", ""); -pref("extensions.blocklist.itemURL", ""); -pref("extensions.blocklist.url", ""); -pref("extensions.hotfix.url", ""); -pref("extensions.getAddons.get.url", ""); -pref("extensions.getAddons.getWithPerformance.url", ""); -pref("extensions.getAddons.search.browseURL", ""); -pref("services.settings.server", ""); -pref("datareporting.healthreport.documentServerURI", ""); -pref("general.useragent.updates.enabled", false); -pref("general.useragent.updates.url", ""); -pref("identity.fxaccounts.auth.uri", ""); -pref("identity.fxaccounts.remote.root", ""); -pref("identity.fxaccounts.skipDeviceRegistration", true); -pref("browser.translation.bing.authURL", ""); -pref("browser.translation.bing.translateArrayURL", ""); -pref("browser.translation.yandex.translateURLOverride", ""); -pref("browser.translation.engine", "bing"); -pref("browser.aboutHomeSnippets.updateUrl", "nonexistent://test"); -pref("browser.newtabpage.activity-stream.default.sites", ""); -pref("browser.newtabpage.activity-stream.tippyTop.service.endpoint", ""); -pref("browser.uitour.pinnedTabUrl", ""); -pref("browser.uitour.url", ""); -pref("browser.search.isUS", true); -pref("browser.search.countryCode", "US"); -pref("browser.ping-centre.staging.endpoint", ""); -pref("browser.ping-centre.production.endpoint", ""); -pref("browser.contentblocking.report.monitor.sign_in_url", ""); -pref("browser.contentblocking.report.monitor.url", ""); -pref("identity.fxaccounts.service.monitorLoginUrl", ""); -pref("network.trr.resolvers", ""); -pref("network.trr.uri", ""); -pref("security.certerrors.mitm.priming.endpoint", ""); -pref("signon.management.page.breachAlertUrl", ""); -pref("network.connectivity-service.IPv4.url", ""); -pref("network.connectivity-service.IPv6.url", ""); -pref("accessibility.support.url", ""); -pref("app.feedback.baseURL", ""); -pref("app.normandy.shieldLearnMoreUrl", ""); -pref("app.update.url", ""); -pref("browser.chrome.errorReporter.infoURL", ""); -pref("browser.contentblocking.report.cookie.url", ""); -pref("browser.dictionaries.download.url", ""); -pref("browser.safebrowsing.provider.google.reportMalwareMistakeURL", ""); -pref("browser.safebrowsing.provider.google.reportPhishMistakeURL", ""); -pref("browser.safebrowsing.provider.google.reportURL", ""); -pref("browser.safebrowsing.provider.google4.dataSharingURL", ""); -pref("browser.safebrowsing.provider.google4.reportMalwareMistakeURL", ""); -pref("browser.safebrowsing.provider.google4.reportPhishMistakeURL", ""); -pref("browser.safebrowsing.provider.google4.reportURL", ""); -pref("browser.safebrowsing.reportPhishURL", ""); -pref("devtools.devices.url", ""); -pref("devtools.performance.recording.ui-base-url", ""); -pref("devtools.webide.templatesURL", ""); -pref("extensions.getAddons.compatOverides.url", ""); -pref("extensions.getAddons.discovery.api_url", ""); -pref("extensions.getAddons.langpacks.url", ""); -pref("extensions.recommendations.themeRecommendationUrl", ""); -pref("gecko.handlerService.schemes.webcal.0.name", ""); -pref("gecko.handlerService.schemes.webcal.0.uriTemplate", ""); -pref("gecko.handlerService.schemes.irc.0.name", ""); -pref("gecko.handlerService.schemes.irc.0.uriTemplate", ""); -pref("media.gmp-manager.url", ""); - -// Firefox connects to cloudfront on startup unless -// these are false/blank. -pref("browser.selfsupport.url", ""); - -// -// "SAFE" BROWSING -// - -pref("browser.safebrowsing.malware.enabled", false); -pref("browser.safebrowsing.phishing.enabled", false); -pref("browser.safebrowsing.downloads.enabled", false); -pref("browser.safebrowsing.downloads.remote.enabled", false); -pref("browser.safebrowsing.downloads.remote.url", ""); -pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); -pref("browser.safebrowsing.downloads.remote.block_uncommon", false); -pref("browser.safebrowsing.provider.mozilla.updateURL", ""); -pref("browser.safebrowsing.provider.mozilla.gethashURL", ""); -pref("browser.safebrowsing.provider.google.gethashURL", ""); -pref("browser.safebrowsing.provider.google.updateURL", ""); -pref("browser.safebrowsing.provider.google4.gethashURL", ""); -pref("browser.safebrowsing.provider.google4.updateURL", ""); -pref("privacy.trackingprotection.introURL", ""); - -// -// EXPERIMENTS -// - -pref("app.normandy.enabled", false); -pref("app.normandy.api_url", ""); -pref("app.normandy.user_id", ""); -pref("extensions.systemAddon.update.url", ""); -pref("browser.ping-centre.telemetry", false); -pref("extensions.screenshots.disabled", true); -pref("extensions.screenshots.upload-disabled", true); -pref("extensions.formautofill.addresses.enabled", false); -pref("extensions.formautofill.available", "off"); -pref("extensions.formautofill.creditCards.enabled", false); -pref("extensions.formautofill.heuristics.enabled", false); -pref("extensions.webcompat-reporter.enabled", false); -pref("experiments.supported", false); -pref("experiments.enabled", false); -pref("experiments.manifest.uri", ""); -pref("network.allow-experiments", false); -pref("privacy.trackingprotection.enabled", false); - -// -// IMPLICIT OUTBOUND CONNECTIONS -// - -pref("network.prefetch-next", false); -pref("network.dns.disablePrefetch", true); -pref("network.dns.disablePrefetchFromHTTPS", true); -pref("network.http.keep-alive.timeout", 15); -pref("network.predictor.enabled", false); -pref("network.predictor.enable-prefetch", false); -pref("network.http.speculative-parallel-limit", 0); -pref("browser.startup.page", 0); -pref("browser.send_pings", false); -pref("browser.send_pings.require_same_host", true); -pref("network.dns.blockDotOnion", true); -pref("browser.casting.enabled", false); - -// -// PROTOCOLS -// - -pref("network.dns.disableIPv6", true); -pref("network.http.altsvc.enabled", false); -pref("network.http.altsvc.oe", false); -pref("network.proxy.socks_remote_dns", true); -pref("network.trr.mode", 5); -pref("network.file.disable_unc_paths", true); -pref("network.gio.supported-protocols", ""); -pref("network.http.pipelining", true); -pref("network.http.proxy.pipelining", true); -pref("network.http.pipelining.maxrequests", 10); -pref("nglayout.initialpaint.delay", 0); -pref("network.protocol-handler.warn-external-default", true); -pref("network.protocol-handler.external.http", false); -pref("network.protocol-handler.external.https", false); -pref("network.protocol-handler.external.javascript",false); -pref("network.protocol-handler.external.moz-extension", false); -pref("network.protocol-handler.external.ftp", false); -pref("network.protocol-handler.external.file", false); -pref("network.protocol-handler.external.about", false); -pref("network.protocol-handler.external.chrome", false); -pref("network.protocol-handler.external.blob", false); -pref("network.protocol-handler.external.data", false); -pref("network.protocol-handler.expose-all", false); -pref("network.protocol-handler.expose.http", true); -pref("network.protocol-handler.expose.https", true); -pref("network.protocol-handler.expose.javascript", true); -pref("network.protocol-handler.expose.moz-extension", true); -pref("network.protocol-handler.expose.ftp", true); -pref("network.protocol-handler.expose.file", true); -pref("network.protocol-handler.expose.about", true); -pref("network.protocol-handler.expose.chrome", true); -pref("network.protocol-handler.expose.blob", true); -pref("network.protocol-handler.expose.data", true); - -// -// SEARCH / AUTOFILL / FORMS -// - -pref("browser.fixup.alternate.enabled", false); -pref("browser.urlbar.trimURLs", false); -pref("browser.sessionhistory.max_entries", 10); -pref("layout.css.visited_links_enabled", false); -pref("browser.search.suggest.enabled", false); -pref("browser.urlbar.usepreloadedtopurls.enabled", false); -pref("browser.urlbar.speculativeConnect.enabled", false); -pref("browser.formfill.enable", false); -pref("browser.taskbar.lists.enabled", false); -pref("browser.taskbar.lists.frequent.enabled", false); -pref("browser.taskbar.lists.recent.enabled", false); -pref("browser.taskbar.lists.tasks.enabled", false); -pref("browser.taskbar.previews.enable", false); - -// -// PASSWORDS -// - -pref("signon.autofillForms", false); -pref("signon.formlessCapture.enabled", false); -pref("network.auth.subresource-http-auth-allow", 1); - -// -// CACHE -// - -pref("browser.cache.disk.enable", false); -pref("browser.sessionstore.privacy_level", 2); -pref("browser.sessionstore.interval", 30000); -pref("toolkit.winRegisterApplicationRestart", false); -pref("browser.shell.shortcutFavicons", false); -pref("alerts.showFavicons", false); - -// -// CIPHERS -// - -pref("security.ssl.require_safe_negotiation", true); -pref("security.ssl.disable_session_identifiers", true); -pref("security.ssl.errorReporting.automatic", false); -pref("security.tls.enable_0rtt_data", false); -pref("security.ssl.enable_ocsp_stapling", true); -pref("security.OCSP.enabled", 1); -pref("security.OCSP.require", true); -pref("security.pki.sha1_enforcement_level", 1); -pref("security.family_safety.mode", 0); -pref("security.cert_pinning.enforcement_level", 2); -pref("security.ssl.errorReporting.enabled", false); -pref("security.ssl.errorReporting.url", ""); -pref("security.mixed_content.block_active_content", true); -pref("security.mixed_content.block_display_content", true); -pref("security.mixed_content.block_object_subrequest", true); -pref("security.ssl.treat_unsafe_negotiation_as_broken", true); -pref("browser.ssl_override_behavior", 1); -pref("browser.xul.error_pages.expert_bad_cert", true); -pref("security.insecure_connection_icon.enabled", true); -pref("security.insecure_connection_text.enabled", true); -pref("security.ssl3.ecdhe_ecdsa_rc4_128_sha", false); -pref("security.ssl3.ecdhe_rsa_rc4_128_sha", false); -pref("security.ssl3.rsa_rc4_128_md5", false); -pref("security.ssl3.rsa_rc4_128_sha", false); -pref("security.tls.version.min", 1); -pref("security.ssl3.dhe_rsa_aes_128_sha", false); -pref("security.ssl3.dhe_rsa_aes_256_sha", false); - -// -// FONTS -// - -pref("gfx.font_rendering.opentype_svg.enabled", false); -pref("gfx.font_rendering.graphite.enabled", false); - -// -// HEADERS / REFERERS -// - -pref("network.http.referer.XOriginPolicy", 2); -pref("network.http.referer.XOriginTrimmingPolicy", 0); -pref("network.http.referer.hideOnionSource", true); -pref("privacy.donottrackheader.enabled", true); - -// -// CONTAINERS -// - -pref("privacy.userContext.ui.enabled", true); -pref("privacy.userContext.enabled", true); -pref("privacy.usercontext.about_newtab_segregation.enabled", true); -pref("privacy.userContext.longPressBehavior", 2); - -// -// PLUGINS -// - -pref("plugin.state.flash", 0); -pref("plugin.state.java", 0); -pref("media.gmp-widevinecdm.visible", false); -pref("media.gmp-widevinecdm.enabled", false); -pref("media.eme.enabled", false); -pref("media.gmp-manager.url.override", "data:text/plain,"); -pref("browser.eme.ui.enabled", false); -pref("media.eme.apiVisible", false); -pref("media.gmp-provider.enabled", false); -pref("media.gmp-gmpopenh264.enabled", false); -pref("media.gmp-gmpopenh264.provider.enabled", false); -pref("plugins.hide_infobar_for_missing_plugin", true); -pref("plugins.hide_infobar_for_outdated_plugin", true); -pref("plugins.notifyMissingFlash", false); -pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false); -pref("dom.ipc.plugins.reportCrashURL", false); -pref("plugins.click_to_play", true); - -// -// CAMERA / MIC -// - -pref("media.peerconnection.enabled", false); -pref("media.peerconnection.ice.default_address_only", true); -pref("media.peerconnection.ice.no_host", true); -pref("webgl.disabled", true); -pref("webgl.dxgl.enabled", false); -pref("webgl.enable-webgl2", false); -pref("webgl.min_capability_mode", true); -pref("webgl.disable-extensions", true); -pref("webgl.disable-fail-if-major-performance-caveat", true); -pref("media.getusermedia.screensharing.enabled", false); -pref("media.getusermedia.browser.enabled", false); -pref("media.getusermedia.audiocapture.enabled", false); -pref("media.autoplay.enabled.user-gestures-needed", false); -pref("media.block-autoplay-until-in-foreground", true); - -// -// WINDOW MEDDLING / POPUPS -// - -pref("dom.disable_window_open_feature.close", true); -pref("dom.disable_window_open_feature.location", true); -pref("dom.disable_window_open_feature.menubar", true); -pref("dom.disable_window_open_feature.minimizable", true); -pref("dom.disable_window_open_feature.personalbar", true); -pref("dom.disable_window_open_feature.resizable", true); -pref("dom.disable_window_open_feature.status", true); -pref("dom.disable_window_open_feature.titlebar", true); -pref("dom.disable_window_open_feature.toolbar", true); -pref("dom.disable_window_move_resize", true); -pref("browser.link.open_newwindow", 3); -pref("browser.link.open_newwindow.restriction", 0); -pref("dom.disable_open_during_load", true); -pref("dom.popup_allowed_events", "click dblclick"); - -// -// WEB WORKERS -// - -pref("dom.serviceWorkers.enabled", false); -pref("dom.push.enabled", false); -pref("dom.webnotifications.enabled", false); -pref("dom.webnotifications.serviceworker.enabled", false); -pref("permissions.default.desktop-notification", 2); - -// -// DOM / JAVASCRIPT -// - -pref("dom.event.clipboardevents.enabled", false); -pref("middlemouse.paste", false); -pref("dom.allow_cut_copy", false); -pref("dom.disable_beforeunload", true); -pref("dom.vibrator.enabled", false); -pref("javascript.options.asmjs", false); -pref("javascript.options.wasm", false); -pref("dom.targetBlankNoOpener.enabled", true); - -// -// HARDWARE FINGERPRINTING -// - -pref("dom.battery.enabled", false); -pref("dom.vr.enabled", false); -pref("media.navigator.enabled", false); -pref("dom.webaudio.enabled", false); - -// -// MISC -// - -pref("accessibility.force_disabled", 1); -pref("beacon.enabled", false); -pref("browser.helperApps.deleteTempFileOnExit", true); -pref("browser.pagethumbnails.capturing_disabled", true); -pref("browser.tabs.remote.allowLinkedWebInFileUriProcess", false); -pref("browser.uitour.enabled", false); -pref("devtools.chrome.enabled", false); -pref("devtools.debugger.remote-enabled", false); -pref("devtools.webide.enabled", false); -pref("devtools.webide.autoinstallADBExtension", false); -pref("middlemouse.contentLoadURL", false); -pref("network.http.redirection-limit", 10); -pref("permissions.manager.defaultsUrl", ""); -pref("webchannel.allowObject.urlWhitelist", ""); -pref("network.IDN_show_punycode", true); -pref("social.whitelist", ""); -pref("social.directories", ""); -pref("social.shareDirectory", ""); -pref("browser.apps.URL", ""); -pref("dom.enable_user_timing", false); -pref("dom.mozTCPSocket.enabled", false); -pref("dom.netinfo.enabled", false); -pref("dom.telephony.enabled", false); -pref("media.webspeech.recognition.enable", false); -pref("device.sensors.enabled", false); -pref("media.webspeech.synth.enabled", false); -pref("dom.gamepad.enabled", false); -pref("dom.enable_resource_timing", false); -pref("dom.archivereader.enabled", false); -pref("camera.control.face_detection.enabled", false); -pref("browser.search.region", "US"); -pref("intl.locale.matchOS", false); -pref("clipboard.autocopy", false); -pref("browser.fixup.alternate.enabled", false); -pref("media.video_stats.enabled", false); -pref("devtools.chrome.enabled", false); -pref("devtools.debugger.force-local", true); -pref("browser.startup.homepage_override.mstone", "ignore"); - -// Taken from TOR browser. -pref("general.buildID.override", "20100101"); -pref("browser.startup.homepage_override.buildID", "20100101"); -pref("toolkit.telemetry.previousBuildID", "20100101"); - -// -// DOWNLOADS -// - -pref("browser.download.useDownloadDir", false); -pref("browser.download.manager.addToRecentDocs", false); -pref("browser.download.hide_plugins_without_extensions", false); - -// -// EXTENSIONS -// - -pref("extensions.enabledScopes", 5); -pref("extensions.autoDisableScopes", 15); -pref("extensions.update.enabled", false); -pref("xpinstall.signatures.required", true); -pref("extensions.getAddons.cache.enabled", false); -pref("lightweightThemes.update.enabled", false); -pref("extensions.systemAddon.update.enabled", false); -pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr", false); -pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); -pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); - -// -// STORAGE -// - -pref("browser.cache.offline.enable", false); -pref("offline-apps.allow_by_default", false); - -// -// SHUTDOWN -// - -pref("privacy.sanitize.sanitizeOnShutdown", true); -pref("privacy.clearOnShutdown.formdata", true); -pref("privacy.clearOnShutdown.offlineApps", true); -pref("privacy.clearOnShutdown.sessions", true); -pref("privacy.clearOnShutdown.siteSettings", false); -pref("privacy.cpd.cache", true); -pref("privacy.cpd.cookies", true); -pref("privacy.cpd.formdata", true); -pref("privacy.cpd.history", true); -pref("privacy.cpd.offlineApps", true); -pref("privacy.cpd.passwords", false); -pref("privacy.cpd.sessions", true); -pref("privacy.cpd.siteSettings", false); -pref("privacy.sanitize.timeSpan", 0); - -// -// ISOLATION -// - -pref("privacy.firstparty.isolate", true); -pref("privacy.firstparty.isolate.restrict_opener_access", true); -pref("browser.startup.blankWindow", false); - -// -// POCKET / HELLO -// - -pref("loop.enabled", false); -pref("loop.feedback.baseUrl", ""); -pref("loop.gettingStarted.url", ""); -pref("loop.learnMoreUrl", ""); -pref("loop.legal.ToS_url", ""); -pref("loop.legal.privacy_url", ""); -pref("loop.oauth.google.redirect_uri", ""); -pref("loop.oauth.google.scope", ""); -pref("loop.server", ""); -pref("loop.soft_start_hostname", ""); -pref("loop.support_url", ""); -pref("loop.throttled2", false); -pref("loop.logDomains", false); -pref("browser.pocket.enabled", false); -pref("browser.pocket.api", ""); -pref("browser.pocket.site", ""); -pref("browser.pocket.oAuthConsumerKey", ""); -pref("browser.pocket.useLocaleList", false); -pref("browser.pocket.enabledLocales", ""); -- cgit v1.2.3