diff --git a/linux/build/preferences/syspref.js b/linux/build/preferences/syspref.js index eb0d78d..400ee3b 100644 --- a/linux/build/preferences/syspref.js +++ b/linux/build/preferences/syspref.js @@ -1,4 +1,4 @@ -# Mozilla User Preferences +# Mozilla User preferences /* * Copyright (c) 2013-2017, The PurpleI2P Project @@ -24,26 +24,41 @@ pref("app.update.interval", 0); pref("app.update.service.enabled", false); pref("app.update.staging.enabled", false); pref("app.update.timer", 0); +pref("beacon.enabled", false); +pref("breakpad.reportURL", ""); +pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.cache.disk.capacity", 131072); pref("browser.casting.enabled", false); +pref("browser.crashReports.unsubmittedCheck.enabled", false); +// pref("browser.display.use_document_fonts", 0); +pref("browser.download.manager.retention", 0); pref("browser.download.useDownloadDir", false); pref("browser.feeds.showFirstRunUI", false); pref("browser.fixup.alternate.enabled", false); +pref("browser.fixup.hide_user_pass", true); +pref("browser.formfill.enable", false); +// PREF: Delete Search and Form History +pref("browser.formfill.expire_days", 0); +// PREF: Delete temporary files on exit +pref("browser.helperApps.deleteTempFileOnExit", true); pref("browser.newtabpage.enhanced", false); pref("browser.newtabpage.introShown", true); +// PREF: Do not create screenshots of visited pages +pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.places.smartBookmarksVersion", -1); pref("browser.pocket.enabled", false); pref("browser.pocket.useLocaleList", false); pref("browser.reader.detectedFirstArticle", false); pref("browser.rights.3.shown", true); pref("browser.safebrowsing.appRepURL", ""); +pref("browser.safebrowsing.blockedURIs.enabled", false); pref("browser.safebrowsing.downloads.enabled", false); pref("browser.safebrowsing.downloads.remote.enabled", false); -pref("browser.safebrowsing.enabled", false); pref("browser.safebrowsing.gethashURL", ""); pref("browser.safebrowsing.keyURL", "localhost"); pref("browser.safebrowsing.malware.enabled", false); pref("browser.safebrowsing.malware.reportURL", ""); +pref("browser.safebrowsing.phishing.enabled", false); pref("browser.safebrowsing.provider.google.appRepURL", ""); pref("browser.safebrowsing.provider.google.gethashURL", ""); pref("browser.safebrowsing.provider.google.lists", ""); @@ -60,25 +75,37 @@ pref("browser.safebrowsing.reportPhishURL", ""); pref("browser.safebrowsing.reportURL", ""); pref("browser.safebrowsing.updateURL", ""); pref("browser.safebrowsing.warning.infoURL", ""); -pref("browser.search.geoSpecificDefaults", true); +pref("browser.search.countryCode", "US"); +pref("browser.search.defaultenginename", "DuckDuckGo"); +pref("browser.search.geoSpecificDefaults", false); pref("browser.search.geoSpecificDefaults.url", ""); -pref("browser.search.geoip.url", false); +pref("browser.search.geoip.url", ""); +pref("browser.search.order.1", "DuckDuckGo"); pref("browser.search.redirectWindowsSearch", false); +pref("browser.search.region", "US"); pref("browser.search.searchEnginesURL", ""); pref("browser.search.suggest.enabled", false); pref("browser.search.update", false); +pref("browser.send_pings", false); +pref("browser.send_pings.require_same_host", true); pref("browser.selfsupport.url", ""); pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.startup.homepage", "http://i2pd.i2p/"); pref("browser.tabs.closeWindowWithLastTab", false); pref("browser.tabs.crashReporting.sendReport", false); pref("browser.tabs.loadInBackground", true); +pref("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); +pref("browser.urlbar.suggest.searches", false); pref("browser.urlbar.trimURLs", false); pref("browser.usedOnWindows10", false); pref("browser.usedOnWindows10.introURL", ""); +pref("camera.control.face_detection.enabled", false); pref("canvas.capturestream.enabled", false); +pref("clipboard.autocopy", false); pref("datareporting.healthreport.about.reportUrl", ""); pref("datareporting.healthreport.about.reportUrlUnified", ""); pref("datareporting.healthreport.documentServerURI", ""); @@ -95,41 +122,114 @@ pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar 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); pref("extensions.update.enabled", false); pref("full-screen-api.approval-required", false); pref("full-screen-api.warning.timeout", 0); -pref("general.buildID.override", "0"); +pref("general.buildID.override", "19700101"); pref("general.warnOnAboutConfig", false); pref("geo.enabled", false); +pref("geo.wifi.uri", ""); +pref("geo.wifi.logging.enabled", false); +// pref("gfx.font_rendering.opentype_svg.enabled", false); pref("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); pref("media.eme.enabled", false); +pref("media.getusermedia.screensharing.enabled", false); +pref("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); +pref("media.navigator.enabled", false); +pref("media.navigator.video.enabled", false); pref("media.peerconnection.enabled", false); +pref("media.peerconnection.ice.no_host", true); +pref("media.video_stats.enabled", false); +pref("media.webspeech.recognition.enable", false); +pref("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); pref("network.dns.disableIPv6", true); +pref("network.dns.disableprefetch", true); +pref("network.dns.disableprefetchFromHTTPS", true); pref("network.dns.disablePrefetch", true); pref("network.dns.disablePrefetchFromHTTPS", true); -pref("network.protocol-handler.external.mailto", false); -pref("network.protocol-handler.external.news", false); -pref("network.protocol-handler.external.nntp", false); -pref("network.protocol-handler.external.snews", false); +// 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); +pref("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); pref("network.proxy.backup.ftp", "127.0.0.1"); pref("network.proxy.backup.ftp_port", 4444); pref("network.proxy.backup.socks", "127.0.0.1"); @@ -150,13 +250,51 @@ pref("network.proxy.type", 1); pref("network.cookie.prefsMigrated", true); pref("noscript.ABE.enabled", false); pref("noscript.ABE.wanIpAsLocal", false); +pref("pdfjs.disabled", true); +pref("pdfjs.enableWebGL", false); pref("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", true); +// 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); 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); pref("services.sync.enabled", false); @@ -164,6 +302,10 @@ 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("shumway.disabled", true); +pref("signon.autofillForms", false); +// PREF: Disable password manager +pref("signon.rememberSignons", false); pref("startup.homepage_welcome_url", "about:blank"); pref("startup.homepage_welcome_url.additional", "about:blank"); pref("toolkit.telemetry.archive.enabled", false); @@ -173,5 +315,8 @@ pref("toolkit.telemetry.reportingpolicy.firstRun", false); pref("toolkit.telemetry.server", ""); pref("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); \ No newline at end of file diff --git a/windows/.gitignore b/windows/.gitignore index ad207d1..8e45d3c 100644 --- a/windows/.gitignore +++ b/windows/.gitignore @@ -1,2 +1,2 @@ -./Firefox -./i2pd +Firefox +i2pd diff --git a/windows/StartI2PdBrowser.bat b/windows/StartI2PdBrowser.bat index beb9c7a..404444c 100644 --- a/windows/StartI2PdBrowser.bat +++ b/windows/StartI2PdBrowser.bat @@ -28,7 +28,7 @@ set fire=firefox.exe set port=FirefoxPortable.exe set i2pd=i2pd.exe -if not exist Firefox ( cd build && call build.cmd ) +if not exist Firefox ( echo Firefox not found... Start building... && cd build && call build.cmd ) taskList|find /i "%port%">nul&&(taskkill /im "%port%" /t>nul)&&(%$pause% 2 >nul) REM taskList|find /i "%fire%">nul&&(taskkill /im "%fire%" >nul) diff --git a/windows/build/build.cmd b/windows/build/build.cmd index 75c7967..2c1f557 100644 --- a/windows/build/build.cmd +++ b/windows/build/build.cmd @@ -23,7 +23,7 @@ if "%locale%"=="Russian" ( echo Downloading Firefox Portable ESR installer ) -"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2052.1.0/FirefoxPortableESR_52.1.0_%locale%.paf.exe %$X% +"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2052.1.2/FirefoxPortableESR_52.1.2_%locale%.paf.exe %$X% if errorlevel 1 ( echo ERROR:%ErrorLevel% pause @@ -37,8 +37,8 @@ if "%locale%"=="Russian" ( echo Unpacking the installer and delete unnecessary files ) -7z x -y -o..\Firefox FirefoxPortableESR_52.1.0_%locale%.paf.exe > nul -del /Q FirefoxPortableESR_52.1.0_%locale%.paf.exe +7z x -y -o..\Firefox FirefoxPortableESR_52.1.2_%locale%.paf.exe > nul +del /Q FirefoxPortableESR_52.1.2_%locale%.paf.exe rmdir /S /Q ..\Firefox\$PLUGINSDIR rmdir /S /Q ..\Firefox\App\AppInfo rmdir /S /Q ..\Firefox\App\Bin diff --git a/windows/build/preferences/syspref.js b/windows/build/preferences/syspref.js index eb0d78d..400ee3b 100644 --- a/windows/build/preferences/syspref.js +++ b/windows/build/preferences/syspref.js @@ -1,4 +1,4 @@ -# Mozilla User Preferences +# Mozilla User preferences /* * Copyright (c) 2013-2017, The PurpleI2P Project @@ -24,26 +24,41 @@ pref("app.update.interval", 0); pref("app.update.service.enabled", false); pref("app.update.staging.enabled", false); pref("app.update.timer", 0); +pref("beacon.enabled", false); +pref("breakpad.reportURL", ""); +pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.cache.disk.capacity", 131072); pref("browser.casting.enabled", false); +pref("browser.crashReports.unsubmittedCheck.enabled", false); +// pref("browser.display.use_document_fonts", 0); +pref("browser.download.manager.retention", 0); pref("browser.download.useDownloadDir", false); pref("browser.feeds.showFirstRunUI", false); pref("browser.fixup.alternate.enabled", false); +pref("browser.fixup.hide_user_pass", true); +pref("browser.formfill.enable", false); +// PREF: Delete Search and Form History +pref("browser.formfill.expire_days", 0); +// PREF: Delete temporary files on exit +pref("browser.helperApps.deleteTempFileOnExit", true); pref("browser.newtabpage.enhanced", false); pref("browser.newtabpage.introShown", true); +// PREF: Do not create screenshots of visited pages +pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.places.smartBookmarksVersion", -1); pref("browser.pocket.enabled", false); pref("browser.pocket.useLocaleList", false); pref("browser.reader.detectedFirstArticle", false); pref("browser.rights.3.shown", true); pref("browser.safebrowsing.appRepURL", ""); +pref("browser.safebrowsing.blockedURIs.enabled", false); pref("browser.safebrowsing.downloads.enabled", false); pref("browser.safebrowsing.downloads.remote.enabled", false); -pref("browser.safebrowsing.enabled", false); pref("browser.safebrowsing.gethashURL", ""); pref("browser.safebrowsing.keyURL", "localhost"); pref("browser.safebrowsing.malware.enabled", false); pref("browser.safebrowsing.malware.reportURL", ""); +pref("browser.safebrowsing.phishing.enabled", false); pref("browser.safebrowsing.provider.google.appRepURL", ""); pref("browser.safebrowsing.provider.google.gethashURL", ""); pref("browser.safebrowsing.provider.google.lists", ""); @@ -60,25 +75,37 @@ pref("browser.safebrowsing.reportPhishURL", ""); pref("browser.safebrowsing.reportURL", ""); pref("browser.safebrowsing.updateURL", ""); pref("browser.safebrowsing.warning.infoURL", ""); -pref("browser.search.geoSpecificDefaults", true); +pref("browser.search.countryCode", "US"); +pref("browser.search.defaultenginename", "DuckDuckGo"); +pref("browser.search.geoSpecificDefaults", false); pref("browser.search.geoSpecificDefaults.url", ""); -pref("browser.search.geoip.url", false); +pref("browser.search.geoip.url", ""); +pref("browser.search.order.1", "DuckDuckGo"); pref("browser.search.redirectWindowsSearch", false); +pref("browser.search.region", "US"); pref("browser.search.searchEnginesURL", ""); pref("browser.search.suggest.enabled", false); pref("browser.search.update", false); +pref("browser.send_pings", false); +pref("browser.send_pings.require_same_host", true); pref("browser.selfsupport.url", ""); pref("browser.shell.checkDefaultBrowser", false); user_pref("browser.startup.homepage", "http://i2pd.i2p/"); pref("browser.tabs.closeWindowWithLastTab", false); pref("browser.tabs.crashReporting.sendReport", false); pref("browser.tabs.loadInBackground", true); +pref("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); +pref("browser.urlbar.suggest.searches", false); pref("browser.urlbar.trimURLs", false); pref("browser.usedOnWindows10", false); pref("browser.usedOnWindows10.introURL", ""); +pref("camera.control.face_detection.enabled", false); pref("canvas.capturestream.enabled", false); +pref("clipboard.autocopy", false); pref("datareporting.healthreport.about.reportUrl", ""); pref("datareporting.healthreport.about.reportUrlUnified", ""); pref("datareporting.healthreport.documentServerURI", ""); @@ -95,41 +122,114 @@ pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar 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); pref("extensions.update.enabled", false); pref("full-screen-api.approval-required", false); pref("full-screen-api.warning.timeout", 0); -pref("general.buildID.override", "0"); +pref("general.buildID.override", "19700101"); pref("general.warnOnAboutConfig", false); pref("geo.enabled", false); +pref("geo.wifi.uri", ""); +pref("geo.wifi.logging.enabled", false); +// pref("gfx.font_rendering.opentype_svg.enabled", false); pref("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); pref("media.eme.enabled", false); +pref("media.getusermedia.screensharing.enabled", false); +pref("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); +pref("media.navigator.enabled", false); +pref("media.navigator.video.enabled", false); pref("media.peerconnection.enabled", false); +pref("media.peerconnection.ice.no_host", true); +pref("media.video_stats.enabled", false); +pref("media.webspeech.recognition.enable", false); +pref("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); pref("network.dns.disableIPv6", true); +pref("network.dns.disableprefetch", true); +pref("network.dns.disableprefetchFromHTTPS", true); pref("network.dns.disablePrefetch", true); pref("network.dns.disablePrefetchFromHTTPS", true); -pref("network.protocol-handler.external.mailto", false); -pref("network.protocol-handler.external.news", false); -pref("network.protocol-handler.external.nntp", false); -pref("network.protocol-handler.external.snews", false); +// 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); +pref("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); pref("network.proxy.backup.ftp", "127.0.0.1"); pref("network.proxy.backup.ftp_port", 4444); pref("network.proxy.backup.socks", "127.0.0.1"); @@ -150,13 +250,51 @@ pref("network.proxy.type", 1); pref("network.cookie.prefsMigrated", true); pref("noscript.ABE.enabled", false); pref("noscript.ABE.wanIpAsLocal", false); +pref("pdfjs.disabled", true); +pref("pdfjs.enableWebGL", false); pref("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", true); +// 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); 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); pref("services.sync.enabled", false); @@ -164,6 +302,10 @@ 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("shumway.disabled", true); +pref("signon.autofillForms", false); +// PREF: Disable password manager +pref("signon.rememberSignons", false); pref("startup.homepage_welcome_url", "about:blank"); pref("startup.homepage_welcome_url.additional", "about:blank"); pref("toolkit.telemetry.archive.enabled", false); @@ -173,5 +315,8 @@ pref("toolkit.telemetry.reportingpolicy.firstRun", false); pref("toolkit.telemetry.server", ""); pref("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); \ No newline at end of file