// I2Pd Browser preferences /* * Copyright (c) 2013-2018, The PurpleI2P Project * * This file is part of Purple i2pd project and licensed under BSD3 * * See full license text in LICENSE file at top of project tree */ /* Do not edit this file. * * If you make changes to this file while the browser is running, * the changes will be overwritten when the browser exits. * * To make a manual change to preferences, you can visit the URL about:config * For more information, see http://www.mozilla.org/unix/customizing.html#prefs */ lockPref("accessibility.force_disabled", 1); pref("app.normandy.first_run", false); lockPref("app.update.auto", false); lockPref("app.update.channel", "no"); lockPref("app.update.enabled", false); lockPref("app.update.interval", 0); lockPref("app.update.service.enabled", false); pref("app.update.staging.enabled", false); pref("app.update.timer", 0); defaultPref("beacon.enabled", false); pref("breakpad.reportURL", ""); pref("browser.aboutHomeSnippets.updateUrl", ""); defaultPref("browser.cache.disk.capacity", 131072); defaultPref("browser.casting.enabled", false); pref("browser.crashReports.unsubmittedCheck.enabled", false); // pref("browser.display.use_document_fonts", 0); pref("browser.download.manager.retention", 0); defaultPref("browser.download.useDownloadDir", false); defaultPref("browser.feeds.showFirstRunUI", false); defaultPref("browser.fixup.alternate.enabled", false); pref("browser.fixup.hide_user_pass", true); defaultPref("browser.formfill.enable", false); // PREF: Delete Search and Form History defaultPref("browser.formfill.expire_days", 0); // PREF: Delete temporary files on exit pref("browser.helperApps.deleteTempFileOnExit", true); lockPref("browser.newtabpage.activity-stream.default.sites", "http://i2pd.i2p/,http://333.i2p/,http://inr.i2p/,http://102chan.i2p/,http://flibusta.i2p/,http://fsoc.i2p/,http://lifebox.i2p/,http://onelon.i2p/,http://wiki.ilita.i2p/"); lockPref("browser.newtabpage.activity-stream.feeds.section.highlights", false); lockPref("browser.newtabpage.activity-stream.feeds.snippets", false); lockPref("browser.newtabpage.activity-stream.showSearch", false); pref("browser.newtabpage.activity-stream.topSitesRows", 2); pref("browser.newtabpage.enhanced", false); defaultPref("browser.newtabpage.introShown", true); defaultPref("browser.onboarding.tour.onboarding-tour-addons.completed", true); defaultPref("browser.onboarding.tour.onboarding-tour-customize.completed", true); defaultPref("browser.onboarding.tour.onboarding-tour-default-browser.completed", true); defaultPref("browser.onboarding.tour.onboarding-tour-performance.completed", true); defaultPref("browser.onboarding.tour.onboarding-tour-private-browsing.completed", true); defaultPref("browser.onboarding.tour.onboarding-tour-screenshots.completed", true); // PREF: Do not create screenshots of visited pages pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.places.smartBookmarksVersion", -1); defaultPref("browser.pocket.enabled", false); pref("browser.pocket.useLocaleList", false); pref("browser.reader.detectedFirstArticle", false); pref("browser.rights.3.shown", true); defaultPref("browser.safebrowsing.appRepURL", ""); defaultPref("browser.safebrowsing.blockedURIs.enabled", false); defaultPref("browser.safebrowsing.downloads.enabled", false); defaultPref("browser.safebrowsing.downloads.remote.enabled", false); defaultPref("browser.safebrowsing.gethashURL", ""); defaultPref("browser.safebrowsing.keyURL", "localhost"); defaultPref("browser.safebrowsing.malware.enabled", false); defaultPref("browser.safebrowsing.malware.reportURL", ""); defaultPref("browser.safebrowsing.phishing.enabled", false); defaultPref("browser.safebrowsing.provider.google.appRepURL", ""); defaultPref("browser.safebrowsing.provider.google.gethashURL", ""); defaultPref("browser.safebrowsing.provider.google.lists", ""); defaultPref("browser.safebrowsing.provider.google.reportURL", ""); defaultPref("browser.safebrowsing.provider.google.updateURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.gethashURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.lists", ""); defaultPref("browser.safebrowsing.provider.mozilla.updateURL", ""); defaultPref("browser.safebrowsing.reportErrorURL", ""); defaultPref("browser.safebrowsing.reportGenericURL", ""); defaultPref("browser.safebrowsing.reportMalwareErrorURL", ""); defaultPref("browser.safebrowsing.reportMalwareURL", ""); defaultPref("browser.safebrowsing.reportPhishURL", ""); defaultPref("browser.safebrowsing.reportURL", ""); defaultPref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.search.countryCode", "US"); defaultPref("browser.search.defaultenginename", "DuckDuckGo"); defaultPref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoip.url", ""); defaultPref("browser.search.order.1", "DuckDuckGo"); defaultPref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.region", "US"); defaultPref("browser.search.searchEnginesURL", ""); defaultPref("browser.search.suggest.enabled", false); defaultPref("browser.search.update", false); pref("browser.send_pings", false); pref("browser.send_pings.require_same_host", true); pref("browser.selfsupport.url", ""); defaultPref("browser.shell.checkDefaultBrowser", false); //defaultPref("browser.startup.firstrunSkipsHomepage", false); pref("browser.startup.homepage", "http://i2pd.i2p/"); pref("browser.tabs.closeWindowWithLastTab", false); lockPref("browser.tabs.crashReporting.sendReport", false); pref("browser.tabs.loadInBackground", true); defaultPref("browser.uitour.enabled", false); pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.formatting.enabled", false); pref("browser.urlbar.maxRichResults", 12); // pref("browser.urlbar.suggest.history", false); defaultPref("browser.urlbar.suggest.searches", false); pref("browser.urlbar.trimURLs", false); lockPref("browser.usedOnWindows10", false); lockPref("browser.usedOnWindows10.introURL", ""); lockPref("camera.control.face_detection.enabled", false); pref("canvas.capturestream.enabled", false); pref("clipboard.autocopy", false); defaultPref("datareporting.healthreport.about.reportUrl", ""); defaultPref("datareporting.healthreport.about.reportUrlUnified", ""); defaultPref("datareporting.healthreport.documentServerURI", ""); defaultPref("datareporting.healthreport.pendingDeleteRemoteData", true); lockPref("datareporting.healthreport.service.enabled", false); defaultPref("datareporting.healthreport.service.firstRun", false); defaultPref("datareporting.healthreport.uploadEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false); pref("datareporting.policy.dataSubmissionEnabled.v2", false); pref("datareporting.policy.dataSubmissionPolicyAccepted", false); pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false); pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0"); pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed"); pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0"); pref("datareporting.policy.firstRunTime", "0"); pref("datareporting.sessions.current.clean", true); pref("device.sensors.enabled", false); pref("devtools.chrome.enabled", false); pref("devtools.debugger.remote-enabled", false); pref("devtools.debugger.force-local", true); pref("devtools.webide.enabled", false); pref("devtools.webide.autoinstallADBHelper", false); pref("devtools.webide.autoinstallFxdtAdapters", false); pref("dom.allow_cut_copy", false); pref("dom.archivereader.enabled", false); pref("dom.battery.enabled", false); pref("dom.disable_open_during_load", true); pref("dom.enable_performance", false); pref("dom.enable_user_timing", false); pref("dom.event.clipboardevents.enabled", false); pref("dom.flyweb.enabled", false); pref("dom.gamepad.enabled", false); pref("dom.ipc.plugins.flash.subprocess.crashreporter.enabled", false); pref("dom.ipc.plugins.reportCrashURL", false); // pref("dom.indexedDB.enabled", false); pref("dom.mozTCPSocket.enabled", false); pref("dom.netinfo.enabled", false); pref("dom.network.enabled", false); pref("dom.serviceWorkers.enabled", false); pref("dom.telephony.enabled", false); pref("dom.vibrator.enabled", false); pref("dom.vr.enabled", false); pref("dom.webaudio.enabled", false); pref("dom.webnotifications.enabled", false); pref("dom.workers.enabled", false); pref("experiments.supported", false); pref("experiments.enabled", false); pref("experiments.manifest.uri", ""); pref("extensions.autoDisableScopes", 0); pref("extensions.blocklist.enabled", false); pref("extensions.blocklist.url", ""); pref("extensions.getAddons.cache.enabled", false); pref("extensions.getAddons.showPane", false); pref("extensions.lazarus.showDonateNotification", false); pref("extensions.pocket.enabled", false); pref("extensions.shownSelectionUI", true); pref("extensions.ui.lastCategory", "addons://list/extension"); pref("extensions.update.autoUpdateDefault", false); defaultPref("extensions.update.enabled", false); pref("full-screen-api.approval-required", false); pref("full-screen-api.warning.timeout", 0); pref("general.buildID.override", "19700101"); pref("general.warnOnAboutConfig", false); defaultPref("geo.enabled", false); defaultPref("geo.wifi.uri", ""); lockPref("geo.wifi.logging.enabled", false); // pref("gfx.font_rendering.opentype_svg.enabled", false); lockPref("identity.fxaccounts.enabled", false); defaultPref("intl.locale.matchOS", true); // pref("javascript.options.asmjs", false); pref("javascript.use_us_english_locale", true); pref("keyword.enabled", false); pref("lightweightThemes.update.enabled", false); defaultPref("media.eme.enabled", false); defaultPref("media.getusermedia.screensharing.enabled", false); defaultPref("media.getusermedia.audiocapture.enabled", false); pref("media.gmp-eme-adobe.enabled", false); pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false); pref("media.gmp-manager.url", ""); // pref("media.gmp-provider.enabled", false); defaultPref("media.navigator.enabled", false); defaultPref("media.navigator.video.enabled", false); defaultPref("media.peerconnection.enabled", false); defaultPref("media.peerconnection.ice.no_host", true); defaultPref("media.video_stats.enabled", false); defaultPref("media.webspeech.recognition.enable", false); defaultPref("media.webspeech.synth.enabled", false); pref("network.allow-experiments", false); // pref("network.cookie.cookieBehavior", 1); // PREF: Cookies expires at the end of the session (when the browser closes) // pref("network.cookie.lifetimePolicy", 2); pref("network.cookie.prefsMigrated", true); // pref("network.cookie.thirdparty.sessionOnly", true); // pref("network.dns.blockDotOnion", true); defaultPref("network.dns.disableIPv6", true); defaultPref("network.dns.disableprefetch", true); defaultPref("network.dns.disableprefetchFromHTTPS", true); defaultPref("network.dns.disablePrefetch", true); defaultPref("network.dns.disablePrefetchFromHTTPS", true); // pref("network.http.referer.spoofSource", true); // pref("network.http.referer.XOriginPolicy", 2); pref("network.http.speculative-parallel-limit", 0); pref("network.IDN_show_punycode", true); pref("network.jar.open-unsafe-types", false); pref("network.manage-offline-status", false); pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); pref("network.predictor.enabled", false); defaultPref("network.prefetch-next", false); 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.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); lockPref("network.proxy.backup.ftp", "127.0.0.1"); lockPref("network.proxy.backup.ftp_port", 4444); lockPref("network.proxy.backup.socks", "127.0.0.1"); lockPref("network.proxy.backup.socks_port", 4444); lockPref("network.proxy.backup.ssl", "127.0.0.1"); lockPref("network.proxy.backup.ssl_port", 4444); lockPref("network.proxy.ftp", "127.0.0.1"); lockPref("network.proxy.ftp_port", 4444); lockPref("network.proxy.http", "127.0.0.1"); lockPref("network.proxy.http_port", 4444); lockPref("network.proxy.share_proxy_settings", true); lockPref("network.proxy.socks", "127.0.0.1"); lockPref("network.proxy.socks_port", 4444); lockPref("network.proxy.socks_remote_dns", true); lockPref("network.proxy.ssl", "127.0.0.1"); lockPref("network.proxy.ssl_port", 4444); lockPref("network.proxy.type", 1); pref("network.cookie.prefsMigrated", true); pref("pdfjs.disabled", true); pref("pdfjs.enableWebGL", false); defaultPref("permissions.default.camera", 2); defaultPref("permissions.default.desktop-notification", 2); defaultPref("permissions.default.geo", 2); defaultPref("permissions.default.microphone", 2); defaultPref("plugin.default_plugin_disabled", true); // pref("plugin.state.flash", 0); pref("plugin.state.java", 0); pref("plugin.state.libgnome-shell-browser-plugin", 0); pref("plugins.click_to_play", true); pref("plugins.load_appdir_plugins", false); pref("plugins.update.notifyUser", false); pref("plugins.update.url", ""); // PREF: Clear history when Firefox closes // pref("privacy.sanitize.sanitizeOnShutdown", true); // pref("privacy.clearOnShutdown.cache", true); // pref("privacy.clearOnShutdown.cookies", true); // pref("privacy.clearOnShutdown.downloads", true); // pref("privacy.clearOnShutdown.formdata", true); // pref("privacy.clearOnShutdown.history", true); // pref("privacy.clearOnShutdown.offlineApps", true); // pref("privacy.clearOnShutdown.sessions", true); // pref("privacy.clearOnShutdown.openWindows", true); pref("privacy.cpd.offlineApps", true); pref("privacy.cpd.cache", true); pref("privacy.cpd.cookies", true); pref("privacy.cpd.downloads", true); pref("privacy.cpd.formdata", true); pref("privacy.cpd.history", true); pref("privacy.cpd.sessions", true); pref("privacy.donottrackheader.enabled", true); pref("privacy.resistFingerprinting", true); pref("privacy.sanitize.timeSpan", 0); defaultPref("privacy.spoof_english", 2); pref("privacy.trackingprotection.enabled", true); pref("privacy.trackingprotection.pbmode.enabled", true); pref("privacy.userContext.enabled", true); pref("reader.parse-on-load.enabled", false); pref("reader.parse-on-load.force-enabled", false); pref("security.csp.enable", true); pref("security.csp.experimentalEnabled", true); pref("security.dialog_enable_delay", 1000); pref("security.fileuri.strict_origin_policy", true); pref("security.insecure_field_warning.contextual.enabled", false); // PREF: Enable insecure password warnings (login forms in non-HTTPS pages) pref("security.insecure_password.ui.enabled", false); pref("security.mixed_content.block_active_content", true); pref("security.mixed_content.block_display_content", true); pref("services.blocklist.update_enabled", false); pref("security.sri.enable", true); pref("security.ssl.errorReporting.automatic", false); pref("security.ssl.errorReporting.enabled", false); lockPref("services.sync.enabled", false); pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false); pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false); defaultPref("services.sync.prefs.sync.browser.search.update", false); defaultPref("services.sync.prefs.sync.extensions.update.enabled", false); // pref("shumway.disabled", true); pref("signon.autofillForms", false); // PREF: Disable password manager pref("signon.rememberSignons", false); defaultPref("startup.homepage_welcome_url", "http://i2pd.i2p/"); pref("startup.homepage_welcome_url.additional", "about:blank"); pref("toolkit.telemetry.archive.enabled", false); lockPref("toolkit.telemetry.enabled", false); pref("toolkit.telemetry.optoutSample", false); defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false); lockPref("toolkit.telemetry.server", ""); defaultPref("toolkit.telemetry.unified", false); pref("toolkit.telemetry.unifiedIsOptIn", true); pref("webgl.disabled", true); pref("webgl.disable-extensions", true); pref("webgl.disable-fail-if-major-performance-caveat", true); pref("webgl.enable-debug-renderer-info", false); pref("webgl.min_capability_mode", true); // Ensure domain logging is disabled pref("loop.logDomains", false); // Spoof to dual-core cpu pref("dom.maxHardwareConcurrency", 2); // Disable offline cache pref("browser.cache.offline.enable", false); // Prevent tracking over multiple domains pref("privacy.firstparty.isolate", true); pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1"); // In relation to webrtc pref("media.peerconnection.turn.disable", true); pref("media.peerconnection.use_document_iceservers", false); pref("media.peerconnection.identity.timeout", 1); pref("media.peerconnection.ice.default_address_only", true); // Disable url prefetch pref("browser.urlbar.speculativeConnect.enabled", false); // Set platform, user-agent and locale to same values as Tor Browser 7.0.10 pref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0"); pref("general.useragent.locale", "en-US"); pref("general.platform.override", "Win32");