// I2Pd Browser preferences /* * Copyright (c) 2013-2019, 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 */ lockPref("accessibility.force_disabled", 1); defaultPref("app.normandy.first_run", false); lockPref("app.normandy.enabled", false); lockPref("app.normandy.optoutstudies.enabled", false); lockPref("app.shield.optoutstudies.enabled", false); lockPref("app.update.auto", false); lockPref("app.update.BITS.enabled", false); lockPref("app.update.channel", "i2pdbrowser"); lockPref("app.update.disable_button.showUpdateHistory", true); lockPref("app.update.enabled", false); lockPref("app.update.interval", 0); lockPref("app.update.service.enabled", false); lockPref("app.update.url", ""); defaultPref("beacon.enabled", false); pref("breakpad.reportURL", ""); defaultPref("browser.aboutHomeSnippets.updateUrl", ""); lockPref("browser.aboutwelcome.enabled", false); defaultPref("browser.cache.disk.capacity", 131072); defaultPref("browser.cache.offline.enable", false); defaultPref("browser.casting.enabled", false); lockPref("browser.contentblocking.database.enabled", false); lockPref("browser.contentblocking.report.lockwise.enabled", false); lockPref("browser.contentblocking.report.monitor.enabled", false); lockPref("browser.discovery.enabled", false); pref("browser.download.manager.retention", 0); defaultPref("browser.download.useDownloadDir", false); defaultPref("browser.feeds.showFirstRunUI", false); defaultPref("browser.fixup.alternate.enabled", false); defaultPref("browser.formfill.enable", false); defaultPref("browser.formfill.expire_days", 0); lockPref("browser.messaging-system.whatsNewPanel.enabled", false); lockPref("browser.newtabpage.activity-stream.feeds.asrouterfeed", false); lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); lockPref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); 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.discoverystream.enabled", false); lockPref("browser.newtabpage.activity-stream.feeds.section.highlights", false); lockPref("browser.newtabpage.activity-stream.feeds.snippets", false); defaultPref("browser.newtabpage.activity-stream.showSearch", true); lockPref("browser.newtabpage.activity-stream.showSponsored", false); lockPref("browser.newtabpage.activity-stream.telemetry", false); pref("browser.newtabpage.activity-stream.topSitesRows", 2); pref("browser.newtabpage.enhanced", false); pref("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); defaultPref("browser.pagethumbnails.capturing_disabled", true); lockPref("browser.ping-centre.telemetry", false); defaultPref("browser.places.smartBookmarksVersion", -1); 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", "YaCy 'legwork'"); defaultPref("browser.search.defaultenginename.US", "YaCy 'legwork'"); defaultPref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoip.url", ""); defaultPref("browser.search.official", false); defaultPref("browser.search.order.1", "YaCy 'legwork'"); defaultPref("browser.search.order.2", ""); defaultPref("browser.search.order.3", ""); defaultPref("browser.search.order.US.1", "YaCy 'legwork'"); defaultPref("browser.search.order.US.2", ""); defaultPref("browser.search.order.US.3", ""); 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); lockPref("browser.send_pings", false); pref("browser.send_pings.require_same_host", true); defaultPref("browser.shell.checkDefaultBrowser", false); pref("browser.startup.homepage", "http://i2pd.i2p/"); defaultPref("browser.startup.homepage_override.mstone", "ignore"); defaultPref("browser.tabs.closeWindowWithLastTab", false); lockPref("browser.tabs.crashReporting.sendReport", false); defaultPref("browser.translation.engine", ""); defaultPref("browser.uitour.enabled", false); defaultPref("browser.urlbar.formatting.enabled", false); defaultPref("browser.urlbar.maxRichResults", 12); defaultPref("browser.urlbar.speculativeConnect.enabled", false); defaultPref("browser.urlbar.suggest.searches", false); defaultPref("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); lockPref("datareporting.healthreport.uploadEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false); pref("datareporting.policy.firstRunTime", "0"); pref("datareporting.sessions.current.clean", true); pref("device.sensors.enabled", false); pref("devtools.chrome.enabled", false); pref("devtools.debugger.force-local", true); pref("devtools.debugger.remote-enabled", false); pref("devtools.webide.autoinstallADBHelper", false); pref("devtools.webide.autoinstallFxdtAdapters", false); pref("devtools.webide.enabled", false); defaultPref("devtools.whatsnew.enabled", false); defaultPref("devtools.whatsnew.feature-enabled", false); pref("dom.allow_cut_copy", false); pref("dom.archivereader.enabled", false); pref("dom.battery.enabled", false); 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.maxHardwareConcurrency", 2); pref("dom.mozTCPSocket.enabled", false); pref("dom.netinfo.enabled", false); pref("dom.network.enabled", false); defaultPref("dom.push.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.enabled", false); pref("experiments.manifest.uri", ""); pref("experiments.supported", false); pref("extensions.abuseReport.enabled", false); pref("extensions.autoDisableScopes", 0); pref("extensions.blocklist.enabled", false); pref("extensions.blocklist.url", ""); defaultPref("extensions.getAddons.cache.enabled", false); pref("extensions.lazarus.showDonateNotification", false); lockPref("extensions.pocket.enabled", false); lockPref("extensions.screenshots.upload-disabled", true); pref("extensions.shownSelectionUI", true); defaultPref("extensions.systemAddon.update.enabled", false); defaultPref("extensions.systemAddon.update.url", ""); 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", "20100101"); lockPref("general.platform.override", "Win32"); lockPref("general.useragent.locale", "en-US"); lockPref("general.useragent.override", "Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/78.0"); pref("general.warnOnAboutConfig", false); defaultPref("geo.enabled", false); lockPref("geo.wifi.logging.enabled", false); defaultPref("geo.wifi.uri", ""); lockPref("identity.fxaccounts.commands.enabled", false); lockPref("identity.fxaccounts.enabled", false); defaultPref("intl.locale.matchOS", true); pref("javascript.use_us_english_locale", true); pref("keyword.enabled", false); pref("lightweightThemes.update.enabled", false); pref("loop.logDomains", false); lockPref("marionette.enabled", false); defaultPref("media.eme.enabled", false); lockPref("media.getusermedia.audiocapture.enabled", false); lockPref("media.getusermedia.screensharing.enabled", false); pref("media.gmp-eme-adobe.enabled", false); defaultPref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false); pref("media.gmp-manager.cert.checkAttributes", false); pref("media.gmp-manager.url", ""); defaultPref("media.navigator.enabled", false); defaultPref("media.navigator.video.enabled", false); defaultPref("media.peerconnection.enabled", false); defaultPref("media.peerconnection.ice.default_address_only", true); defaultPref("media.peerconnection.ice.no_host", true); defaultPref("media.peerconnection.identity.timeout", 1); defaultPref("media.peerconnection.turn.disable", true); defaultPref("media.peerconnection.use_document_iceservers", false); defaultPref("media.video_stats.enabled", false); defaultPref("media.webspeech.recognition.enable", false); defaultPref("media.webspeech.synth.enabled", false); defaultPref("messaging-system.rsexperimentloader.enabled", false); defaultPref("network.IDN.whitelist.i2p", true); defaultPref("network.IDN_show_punycode", true); defaultPref("network.allow-experiments", false); lockPref("network.captive-portal-service.enabled", false); lockPref("network.connectivity-service.enabled", false); pref("network.cookie.prefsMigrated", true); defaultPref("network.dns.disableIPv6", true); defaultPref("network.dns.disablePrefetchFromHTTPS", true); defaultPref("network.dns.disablePrefetch", true); defaultPref("network.http.speculative-parallel-limit", 0); defaultPref("network.jar.open-unsafe-types", false); pref("network.manage-offline-status", false); defaultPref("network.negotiate-auth.allow-insecure-ntlm-v1", false); defaultPref("network.notify.changed", false); pref("network.predictor.enabled", false); defaultPref("network.prefetch-next", false); pref("network.protocol-handler.expose-all", false); pref("network.protocol-handler.expose.about", true); pref("network.protocol-handler.expose.file", true); pref("network.protocol-handler.expose.ftp", true); 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.external.about", false); pref("network.protocol-handler.external.file", false); pref("network.protocol-handler.external.ftp", false); 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); defaultPref("network.protocol-handler.warn-external-default", true); defaultPref("network.proxy.ftp", "127.0.0.1"); defaultPref("network.proxy.ftp_port", 4444); defaultPref("network.proxy.http", "127.0.0.1"); defaultPref("network.proxy.http_port", 4444); defaultPref("network.proxy.no_proxies_on", "localhost, 127.0.0.1"); defaultPref("network.proxy.share_proxy_settings", true); defaultPref("network.proxy.socks_remote_dns", true); defaultPref("network.proxy.ssl", "127.0.0.1"); defaultPref("network.proxy.ssl_port", 4444); lockPref("network.proxy.type", 1); defaultPref("pdfjs.disabled", true); defaultPref("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); defaultPref("plugin.state.java", 0); defaultPref("plugin.state.libgnome-shell-browser-plugin", 0); defaultPref("plugins.click_to_play", true); defaultPref("plugins.load_appdir_plugins", false); defaultPref("plugins.update.notifyUser", false); defaultPref("plugins.update.url", ""); pref("privacy.cpd.offlineApps", true); pref("privacy.firstparty.isolate", true); defaultPref("privacy.resistFingerprinting", true); pref("privacy.sanitize.timeSpan", 0); defaultPref("privacy.spoof_english", 2); defaultPref("privacy.trackingprotection.enabled", true); lockPref("privacy.userContext.enabled", true); defaultPref("reader.parse-on-load.enabled", false); defaultPref("reader.parse-on-load.force-enabled", false); defaultPref("security.insecure_field_warning.contextual.enabled", false); defaultPref("security.insecure_password.ui.enabled", false); defaultPref("security.ssl.errorReporting.enabled", false); defaultPref("security.OCSP.enabled", 0); defaultPref("services.blocklist.update_enabled", false); pref("services.settings.server", ""); lockPref("services.sync.enabled", false); pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false); pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false); pref("services.sync.prefs.sync.browser.search.update", false); pref("services.sync.prefs.sync.extensions.update.enabled", false); pref("signon.autofillForms", false); defaultPref("signon.management.page.breach-alerts.enabled", false); defaultPref("signon.management.page.vulnerable-passwords.enabled", false); pref("signon.rememberSignons", false); defaultPref("startup.homepage_welcome_url", "http://i2pd.i2p/"); pref("startup.homepage_welcome_url.additional", "about:blank"); lockPref("toolkit.telemetry.archive.enabled", false); lockPref("toolkit.telemetry.enabled", false); defaultPref("toolkit.telemetry.optoutSample", false); defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false); lockPref("toolkit.telemetry.server", ""); defaultPref("toolkit.telemetry.unified", false); defaultPref("toolkit.telemetry.unifiedIsOptIn", true); defaultPref("webgl.disable-extensions", true); defaultPref("webgl.disable-fail-if-major-performance-caveat", true); defaultPref("webgl.disabled", true); defaultPref("webgl.enable-debug-renderer-info", false); defaultPref("webgl.min_capability_mode", true);