Browse Source

update FireFox, links, addons, langpacks for version 60.0.2esr

pull/29/head
R4SAS 6 years ago
parent
commit
e79f625b17
  1. 11
      linux/build/build.sh
  2. 2
      linux/build/preferences/defaults/pref/autoconfig.js
  3. 253
      linux/build/preferences/i2pdbrowser.cfg
  4. 12
      linux/build/profile/prefs.js
  5. 2
      linux/build/profile/xulstore.json
  6. 11
      osx/build/build.sh
  7. 2
      osx/build/preferences/defaults/pref/autoconfig.js
  8. 253
      osx/build/preferences/i2pdbrowser.cfg
  9. 12
      osx/build/profile/prefs.js
  10. 2
      osx/build/profile/xulstore.json
  11. 15
      windows/build/build.cmd
  12. 133
      windows/build/ca-bundle.crt
  13. 2
      windows/build/preferences/defaults/pref/autoconfig.js
  14. 253
      windows/build/preferences/i2pdbrowser.cfg
  15. 12
      windows/build/profile/prefs.js
  16. 2
      windows/build/profile/xulstore.json

11
linux/build/build.sh

@ -8,7 +8,7 @@
arch=$(uname -m) arch=$(uname -m)
language=$(echo $LANG | cut -c-5 | sed s/_/-/g) language=$(echo $LANG | cut -c-5 | sed s/_/-/g)
version="52.7.2esr" version="60.0.2esr"
application="firefox" application="firefox"
ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version" ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version"
@ -82,16 +82,15 @@ sed -i 's/ServerURL=.*/ServerURL=-/' ../app/application.ini
# Done! # Done!
echo "Downloading language packs..." echo "Downloading language packs..."
curl -L -f -# -o ../app/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history curl -L -f -# -o ../app/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978562/russian_ru_language_pack-60.0buildid20180605171542-an+fx.xpi
curl -L -f -# -o ../app/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history curl -L -f -# -o ../app/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978493/english_us_language_pack-60.0buildid20180605171542-an+fx.xpi
echo "Downloading NoScript extension..." echo "Downloading NoScript extension..."
curl -L -f -# -o ../app/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi curl -L -f -# -o ../app/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/972162/noscript_security_suite-10.1.8.2-an+fx.xpi
echo "Adding standard configs..." echo "Adding standard configs..."
cp profile/* ../data/ cp profile/* ../data/
mkdir -p ../app/browser/defaults cp -r preferences ../app/
cp -r preferences ../app/browser/defaults/
echo '#!/bin/sh' > "../${application}-portable" echo '#!/bin/sh' > "../${application}-portable"
echo 'dir=${0%/*}' >> "../${application}-portable" echo 'dir=${0%/*}' >> "../${application}-portable"

2
linux/build/preferences/defaults/pref/autoconfig.js

@ -0,0 +1,2 @@
pref("general.config.filename", "i2pdbrowser.cfg");
pref("general.config.obscure_value", 0);

253
linux/build/preferences/syspref.js → linux/build/preferences/i2pdbrowser.cfg

@ -1,4 +1,4 @@
# Mozilla User preferences // I2Pd Browser preferences
/* /*
* Copyright (c) 2013-2018, The PurpleI2P Project * Copyright (c) 2013-2018, The PurpleI2P Project
@ -17,102 +17,116 @@
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/ */
pref("app.update.auto", false); lockPref("accessibility.force_disabled", 1);
pref("app.update.channel", "no"); pref("app.normandy.first_run", false);
pref("app.update.enabled", false); lockPref("app.update.auto", false);
pref("app.update.interval", 0); lockPref("app.update.channel", "no");
pref("app.update.service.enabled", false); 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.staging.enabled", false);
pref("app.update.timer", 0); pref("app.update.timer", 0);
pref("beacon.enabled", false); defaultPref("beacon.enabled", false);
pref("breakpad.reportURL", ""); pref("breakpad.reportURL", "");
pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.aboutHomeSnippets.updateUrl", "");
pref("browser.cache.disk.capacity", 131072); defaultPref("browser.cache.disk.capacity", 131072);
pref("browser.casting.enabled", false); defaultPref("browser.casting.enabled", false);
pref("browser.crashReports.unsubmittedCheck.enabled", false); pref("browser.crashReports.unsubmittedCheck.enabled", false);
// pref("browser.display.use_document_fonts", 0); // pref("browser.display.use_document_fonts", 0);
pref("browser.download.manager.retention", 0); pref("browser.download.manager.retention", 0);
pref("browser.download.useDownloadDir", false); defaultPref("browser.download.useDownloadDir", false);
pref("browser.feeds.showFirstRunUI", false); defaultPref("browser.feeds.showFirstRunUI", false);
pref("browser.fixup.alternate.enabled", false); defaultPref("browser.fixup.alternate.enabled", false);
pref("browser.fixup.hide_user_pass", true); pref("browser.fixup.hide_user_pass", true);
pref("browser.formfill.enable", false); defaultPref("browser.formfill.enable", false);
// PREF: Delete Search and Form History // PREF: Delete Search and Form History
pref("browser.formfill.expire_days", 0); defaultPref("browser.formfill.expire_days", 0);
// PREF: Delete temporary files on exit // PREF: Delete temporary files on exit
pref("browser.helperApps.deleteTempFileOnExit", true); 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); pref("browser.newtabpage.enhanced", false);
pref("browser.newtabpage.introShown", true); 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: Do not create screenshots of visited pages
pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.pagethumbnails.capturing_disabled", true);
pref("browser.places.smartBookmarksVersion", -1); pref("browser.places.smartBookmarksVersion", -1);
pref("browser.pocket.enabled", false); defaultPref("browser.pocket.enabled", false);
pref("browser.pocket.useLocaleList", false); pref("browser.pocket.useLocaleList", false);
pref("browser.reader.detectedFirstArticle", false); pref("browser.reader.detectedFirstArticle", false);
pref("browser.rights.3.shown", true); pref("browser.rights.3.shown", true);
pref("browser.safebrowsing.appRepURL", ""); defaultPref("browser.safebrowsing.appRepURL", "");
pref("browser.safebrowsing.blockedURIs.enabled", false); defaultPref("browser.safebrowsing.blockedURIs.enabled", false);
pref("browser.safebrowsing.downloads.enabled", false); defaultPref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false); defaultPref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.gethashURL", ""); defaultPref("browser.safebrowsing.gethashURL", "");
pref("browser.safebrowsing.keyURL", "localhost"); defaultPref("browser.safebrowsing.keyURL", "localhost");
pref("browser.safebrowsing.malware.enabled", false); defaultPref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.malware.reportURL", ""); defaultPref("browser.safebrowsing.malware.reportURL", "");
pref("browser.safebrowsing.phishing.enabled", false); defaultPref("browser.safebrowsing.phishing.enabled", false);
pref("browser.safebrowsing.provider.google.appRepURL", ""); defaultPref("browser.safebrowsing.provider.google.appRepURL", "");
pref("browser.safebrowsing.provider.google.gethashURL", ""); defaultPref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.lists", ""); defaultPref("browser.safebrowsing.provider.google.lists", "");
pref("browser.safebrowsing.provider.google.reportURL", ""); defaultPref("browser.safebrowsing.provider.google.reportURL", "");
pref("browser.safebrowsing.provider.google.updateURL", ""); defaultPref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.lists", ""); defaultPref("browser.safebrowsing.provider.mozilla.lists", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.safebrowsing.reportErrorURL", ""); defaultPref("browser.safebrowsing.reportErrorURL", "");
pref("browser.safebrowsing.reportGenericURL", ""); defaultPref("browser.safebrowsing.reportGenericURL", "");
pref("browser.safebrowsing.reportMalwareErrorURL", ""); defaultPref("browser.safebrowsing.reportMalwareErrorURL", "");
pref("browser.safebrowsing.reportMalwareURL", ""); defaultPref("browser.safebrowsing.reportMalwareURL", "");
pref("browser.safebrowsing.reportPhishURL", ""); defaultPref("browser.safebrowsing.reportPhishURL", "");
pref("browser.safebrowsing.reportURL", ""); defaultPref("browser.safebrowsing.reportURL", "");
pref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.updateURL", "");
pref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", "");
pref("browser.search.countryCode", "US"); defaultPref("browser.search.countryCode", "US");
pref("browser.search.defaultenginename", "DuckDuckGo"); defaultPref("browser.search.defaultenginename", "DuckDuckGo");
pref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults", false);
pref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoSpecificDefaults.url", "");
pref("browser.search.geoip.url", ""); defaultPref("browser.search.geoip.url", "");
pref("browser.search.order.1", "DuckDuckGo"); defaultPref("browser.search.order.1", "DuckDuckGo");
pref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.redirectWindowsSearch", false);
pref("browser.search.region", "US"); defaultPref("browser.search.region", "US");
pref("browser.search.searchEnginesURL", ""); defaultPref("browser.search.searchEnginesURL", "");
pref("browser.search.suggest.enabled", false); defaultPref("browser.search.suggest.enabled", false);
pref("browser.search.update", false); defaultPref("browser.search.update", false);
pref("browser.send_pings", false); pref("browser.send_pings", false);
pref("browser.send_pings.require_same_host", true); pref("browser.send_pings.require_same_host", true);
pref("browser.selfsupport.url", ""); pref("browser.selfsupport.url", "");
pref("browser.shell.checkDefaultBrowser", false); defaultPref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/"); //defaultPref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage", "http://i2pd.i2p/");
pref("browser.tabs.closeWindowWithLastTab", false); pref("browser.tabs.closeWindowWithLastTab", false);
pref("browser.tabs.crashReporting.sendReport", false); lockPref("browser.tabs.crashReporting.sendReport", false);
pref("browser.tabs.loadInBackground", true); pref("browser.tabs.loadInBackground", true);
pref("browser.uitour.enabled", false); defaultPref("browser.uitour.enabled", false);
pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.filter.javascript", true);
pref("browser.urlbar.formatting.enabled", false); pref("browser.urlbar.formatting.enabled", false);
pref("browser.urlbar.maxRichResults", 12); pref("browser.urlbar.maxRichResults", 12);
// pref("browser.urlbar.suggest.history", false); // pref("browser.urlbar.suggest.history", false);
pref("browser.urlbar.suggest.searches", false); defaultPref("browser.urlbar.suggest.searches", false);
pref("browser.urlbar.trimURLs", false); pref("browser.urlbar.trimURLs", false);
pref("browser.usedOnWindows10", false); lockPref("browser.usedOnWindows10", false);
pref("browser.usedOnWindows10.introURL", ""); lockPref("browser.usedOnWindows10.introURL", "");
pref("camera.control.face_detection.enabled", false); lockPref("camera.control.face_detection.enabled", false);
pref("canvas.capturestream.enabled", false); pref("canvas.capturestream.enabled", false);
pref("clipboard.autocopy", false); pref("clipboard.autocopy", false);
pref("datareporting.healthreport.about.reportUrl", ""); defaultPref("datareporting.healthreport.about.reportUrl", "");
pref("datareporting.healthreport.about.reportUrlUnified", ""); defaultPref("datareporting.healthreport.about.reportUrlUnified", "");
pref("datareporting.healthreport.documentServerURI", ""); defaultPref("datareporting.healthreport.documentServerURI", "");
pref("datareporting.healthreport.pendingDeleteRemoteData", true); defaultPref("datareporting.healthreport.pendingDeleteRemoteData", true);
pref("datareporting.healthreport.service.enabled", false); lockPref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false); defaultPref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false); defaultPref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled.v2", false); pref("datareporting.policy.dataSubmissionEnabled.v2", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false); pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
@ -164,35 +178,36 @@ pref("extensions.pocket.enabled", false);
pref("extensions.shownSelectionUI", true); pref("extensions.shownSelectionUI", true);
pref("extensions.ui.lastCategory", "addons://list/extension"); pref("extensions.ui.lastCategory", "addons://list/extension");
pref("extensions.update.autoUpdateDefault", false); pref("extensions.update.autoUpdateDefault", false);
pref("extensions.update.enabled", false); defaultPref("extensions.update.enabled", false);
pref("full-screen-api.approval-required", false); pref("full-screen-api.approval-required", false);
pref("full-screen-api.warning.timeout", 0); pref("full-screen-api.warning.timeout", 0);
pref("general.buildID.override", "19700101"); pref("general.buildID.override", "19700101");
pref("general.warnOnAboutConfig", false); pref("general.warnOnAboutConfig", false);
pref("geo.enabled", false); defaultPref("geo.enabled", false);
pref("geo.wifi.uri", ""); defaultPref("geo.wifi.uri", "");
pref("geo.wifi.logging.enabled", false); lockPref("geo.wifi.logging.enabled", false);
// pref("gfx.font_rendering.opentype_svg.enabled", false); // pref("gfx.font_rendering.opentype_svg.enabled", false);
pref("intl.locale.matchOS", true); lockPref("identity.fxaccounts.enabled", false);
defaultPref("intl.locale.matchOS", true);
// pref("javascript.options.asmjs", false); // pref("javascript.options.asmjs", false);
pref("javascript.use_us_english_locale", true); pref("javascript.use_us_english_locale", true);
pref("keyword.enabled", false); pref("keyword.enabled", false);
pref("lightweightThemes.update.enabled", false); pref("lightweightThemes.update.enabled", false);
pref("media.eme.enabled", false); defaultPref("media.eme.enabled", false);
pref("media.getusermedia.screensharing.enabled", false); defaultPref("media.getusermedia.screensharing.enabled", false);
pref("media.getusermedia.audiocapture.enabled", false); defaultPref("media.getusermedia.audiocapture.enabled", false);
pref("media.gmp-eme-adobe.enabled", false); pref("media.gmp-eme-adobe.enabled", false);
pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.enabled", false);
pref("media.gmp-gmpopenh264.provider.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false);
pref("media.gmp-manager.url", ""); pref("media.gmp-manager.url", "");
// pref("media.gmp-provider.enabled", false); // pref("media.gmp-provider.enabled", false);
pref("media.navigator.enabled", false); defaultPref("media.navigator.enabled", false);
pref("media.navigator.video.enabled", false); defaultPref("media.navigator.video.enabled", false);
pref("media.peerconnection.enabled", false); defaultPref("media.peerconnection.enabled", false);
pref("media.peerconnection.ice.no_host", true); defaultPref("media.peerconnection.ice.no_host", true);
pref("media.video_stats.enabled", false); defaultPref("media.video_stats.enabled", false);
pref("media.webspeech.recognition.enable", false); defaultPref("media.webspeech.recognition.enable", false);
pref("media.webspeech.synth.enabled", false); defaultPref("media.webspeech.synth.enabled", false);
pref("network.allow-experiments", false); pref("network.allow-experiments", false);
// pref("network.cookie.cookieBehavior", 1); // pref("network.cookie.cookieBehavior", 1);
// PREF: Cookies expires at the end of the session (when the browser closes) // PREF: Cookies expires at the end of the session (when the browser closes)
@ -200,11 +215,11 @@ pref("network.allow-experiments", false);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
// pref("network.cookie.thirdparty.sessionOnly", true); // pref("network.cookie.thirdparty.sessionOnly", true);
// pref("network.dns.blockDotOnion", true); // pref("network.dns.blockDotOnion", true);
pref("network.dns.disableIPv6", true); defaultPref("network.dns.disableIPv6", true);
pref("network.dns.disableprefetch", true); defaultPref("network.dns.disableprefetch", true);
pref("network.dns.disableprefetchFromHTTPS", true); defaultPref("network.dns.disableprefetchFromHTTPS", true);
pref("network.dns.disablePrefetch", true); defaultPref("network.dns.disablePrefetch", true);
pref("network.dns.disablePrefetchFromHTTPS", true); defaultPref("network.dns.disablePrefetchFromHTTPS", true);
// pref("network.http.referer.spoofSource", true); // pref("network.http.referer.spoofSource", true);
// pref("network.http.referer.XOriginPolicy", 2); // pref("network.http.referer.XOriginPolicy", 2);
pref("network.http.speculative-parallel-limit", 0); pref("network.http.speculative-parallel-limit", 0);
@ -213,7 +228,7 @@ pref("network.jar.open-unsafe-types", false);
pref("network.manage-offline-status", false); pref("network.manage-offline-status", false);
pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); pref("network.negotiate-auth.allow-insecure-ntlm-v1", false);
pref("network.predictor.enabled", false); pref("network.predictor.enabled", false);
pref("network.prefetch-next", false); defaultPref("network.prefetch-next", false);
pref("network.protocol-handler.warn-external-default", true); pref("network.protocol-handler.warn-external-default", true);
pref("network.protocol-handler.external.http", false); pref("network.protocol-handler.external.http", false);
pref("network.protocol-handler.external.https", false); pref("network.protocol-handler.external.https", false);
@ -230,32 +245,31 @@ pref("network.protocol-handler.expose.moz-extension", true);
pref("network.protocol-handler.expose.ftp", true); pref("network.protocol-handler.expose.ftp", true);
pref("network.protocol-handler.expose.file", true); pref("network.protocol-handler.expose.file", true);
pref("network.protocol-handler.expose.about", true); pref("network.protocol-handler.expose.about", true);
pref("network.proxy.backup.ftp", "127.0.0.1"); lockPref("network.proxy.backup.ftp", "127.0.0.1");
pref("network.proxy.backup.ftp_port", 4444); lockPref("network.proxy.backup.ftp_port", 4444);
pref("network.proxy.backup.socks", "127.0.0.1"); lockPref("network.proxy.backup.socks", "127.0.0.1");
pref("network.proxy.backup.socks_port", 4444); lockPref("network.proxy.backup.socks_port", 4444);
pref("network.proxy.backup.ssl", "127.0.0.1"); lockPref("network.proxy.backup.ssl", "127.0.0.1");
pref("network.proxy.backup.ssl_port", 4444); lockPref("network.proxy.backup.ssl_port", 4444);
pref("network.proxy.ftp", "127.0.0.1"); lockPref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444); lockPref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1"); lockPref("network.proxy.http", "127.0.0.1");
pref("network.proxy.http_port", 4444); lockPref("network.proxy.http_port", 4444);
pref("network.proxy.share_proxy_settings", true); lockPref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "127.0.0.1"); lockPref("network.proxy.socks", "127.0.0.1");
pref("network.proxy.socks_port", 4444); lockPref("network.proxy.socks_port", 4444);
pref("network.proxy.socks_remote_dns", true); lockPref("network.proxy.socks_remote_dns", true);
pref("network.proxy.ssl", "127.0.0.1"); lockPref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444); lockPref("network.proxy.ssl_port", 4444);
pref("network.proxy.type", 1); lockPref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
pref("noscript.version", "5.1.8.3");
pref("noscript.visibleUIChecked", true);
pref("pdfjs.disabled", true); pref("pdfjs.disabled", true);
pref("pdfjs.enableWebGL", false); pref("pdfjs.enableWebGL", false);
pref("plugin.default_plugin_disabled", true); 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.flash", 0);
pref("plugin.state.java", 0); pref("plugin.state.java", 0);
pref("plugin.state.libgnome-shell-browser-plugin", 0); pref("plugin.state.libgnome-shell-browser-plugin", 0);
@ -283,6 +297,7 @@ pref("privacy.cpd.sessions", true);
pref("privacy.donottrackheader.enabled", true); pref("privacy.donottrackheader.enabled", true);
pref("privacy.resistFingerprinting", true); pref("privacy.resistFingerprinting", true);
pref("privacy.sanitize.timeSpan", 0); pref("privacy.sanitize.timeSpan", 0);
defaultPref("privacy.spoof_english", 2);
pref("privacy.trackingprotection.enabled", true); pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.pbmode.enabled", true); pref("privacy.trackingprotection.pbmode.enabled", true);
pref("privacy.userContext.enabled", true); pref("privacy.userContext.enabled", true);
@ -301,23 +316,23 @@ pref("services.blocklist.update_enabled", false);
pref("security.sri.enable", true); pref("security.sri.enable", true);
pref("security.ssl.errorReporting.automatic", false); pref("security.ssl.errorReporting.automatic", false);
pref("security.ssl.errorReporting.enabled", false); pref("security.ssl.errorReporting.enabled", false);
pref("services.sync.enabled", false); lockPref("services.sync.enabled", false);
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", 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.safebrowsing.enabled", false);
pref("services.sync.prefs.sync.browser.search.update", false); defaultPref("services.sync.prefs.sync.browser.search.update", false);
pref("services.sync.prefs.sync.extensions.update.enabled", false); defaultPref("services.sync.prefs.sync.extensions.update.enabled", false);
// pref("shumway.disabled", true); // pref("shumway.disabled", true);
pref("signon.autofillForms", false); pref("signon.autofillForms", false);
// PREF: Disable password manager // PREF: Disable password manager
pref("signon.rememberSignons", false); pref("signon.rememberSignons", false);
pref("startup.homepage_welcome_url", "about:blank"); defaultPref("startup.homepage_welcome_url", "http://i2pd.i2p/");
pref("startup.homepage_welcome_url.additional", "about:blank"); pref("startup.homepage_welcome_url.additional", "about:blank");
pref("toolkit.telemetry.archive.enabled", false); pref("toolkit.telemetry.archive.enabled", false);
pref("toolkit.telemetry.enabled", false); lockPref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.optoutSample", false); pref("toolkit.telemetry.optoutSample", false);
pref("toolkit.telemetry.reportingpolicy.firstRun", false); defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false);
pref("toolkit.telemetry.server", ""); lockPref("toolkit.telemetry.server", "");
pref("toolkit.telemetry.unified", false); defaultPref("toolkit.telemetry.unified", false);
pref("toolkit.telemetry.unifiedIsOptIn", true); pref("toolkit.telemetry.unifiedIsOptIn", true);
pref("webgl.disabled", true); pref("webgl.disabled", true);
pref("webgl.disable-extensions", true); pref("webgl.disable-extensions", true);

12
linux/build/profile/prefs.js

@ -1,12 +0,0 @@
# Mozilla User Preferences
/* 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
*/
user_pref("browser.startup.homepage", "http://i2pd.i2p/");

2
linux/build/profile/xulstore.json

@ -1 +1 @@
{"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,noscript-tbb"},"sidebar-title":{"value":""}}} {"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"back-button,forward-button,stop-reload-button,urlbar-container,bookmarks-menu-button,downloads-button,_73a6fe31-595d-460b-a920-fcc0f8843232_-browser-action"},"sidebar-title":{"value":""}}}

11
osx/build/build.sh

@ -8,7 +8,7 @@
arch=$(uname -m) arch=$(uname -m)
language=$(echo $LANG | cut -c-5 | sed s/_/-/g) language=$(echo $LANG | cut -c-5 | sed s/_/-/g)
version="52.7.2esr" version="60.0.2esr"
i2pdversion="2.18.0" i2pdversion="2.18.0"
ftpmirror="https://ftp.mozilla.org/pub/firefox/releases/${version}" ftpmirror="https://ftp.mozilla.org/pub/firefox/releases/${version}"
@ -87,16 +87,15 @@ rm $file
# Done! # Done!
echo "Downloading language packs..." echo "Downloading language packs..."
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978562/russian_ru_language_pack-60.0buildid20180605171542-an+fx.xpi
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978493/english_us_language_pack-60.0buildid20180605171542-an+fx.xpi
echo "Downloading NoScript extension..." echo "Downloading NoScript extension..."
curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi curl -L -f -# -o ../FirefoxESR.app/Contents/Resources/browser/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/972162/noscript_security_suite-10.1.8.2-an+fx.xpi
echo "Adding standard configs..." echo "Adding standard configs..."
cp profile/* ../data/ cp profile/* ../data/
mkdir -p ../FirefoxESR.app/Contents/Resources/browser/defaults cp -r preferences ../FirefoxESR.app/Contents/Resources/
cp -r preferences ../FirefoxESR.app/Contents/Resources/browser/defaults/
echo '#!/bin/sh' > "../i2pdbrowser-portable" echo '#!/bin/sh' > "../i2pdbrowser-portable"
echo 'dir=${0%/*}' >> "../i2pdbrowser-portable" echo 'dir=${0%/*}' >> "../i2pdbrowser-portable"

2
osx/build/preferences/defaults/pref/autoconfig.js

@ -0,0 +1,2 @@
pref("general.config.filename", "i2pdbrowser.cfg");
pref("general.config.obscure_value", 0);

253
windows/build/preferences/syspref.js → osx/build/preferences/i2pdbrowser.cfg

@ -1,4 +1,4 @@
# Mozilla User preferences // I2Pd Browser preferences
/* /*
* Copyright (c) 2013-2018, The PurpleI2P Project * Copyright (c) 2013-2018, The PurpleI2P Project
@ -17,102 +17,116 @@
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/ */
pref("app.update.auto", false); lockPref("accessibility.force_disabled", 1);
pref("app.update.channel", "no"); pref("app.normandy.first_run", false);
pref("app.update.enabled", false); lockPref("app.update.auto", false);
pref("app.update.interval", 0); lockPref("app.update.channel", "no");
pref("app.update.service.enabled", false); 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.staging.enabled", false);
pref("app.update.timer", 0); pref("app.update.timer", 0);
pref("beacon.enabled", false); defaultPref("beacon.enabled", false);
pref("breakpad.reportURL", ""); pref("breakpad.reportURL", "");
pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.aboutHomeSnippets.updateUrl", "");
pref("browser.cache.disk.capacity", 131072); defaultPref("browser.cache.disk.capacity", 131072);
pref("browser.casting.enabled", false); defaultPref("browser.casting.enabled", false);
pref("browser.crashReports.unsubmittedCheck.enabled", false); pref("browser.crashReports.unsubmittedCheck.enabled", false);
// pref("browser.display.use_document_fonts", 0); // pref("browser.display.use_document_fonts", 0);
pref("browser.download.manager.retention", 0); pref("browser.download.manager.retention", 0);
pref("browser.download.useDownloadDir", false); defaultPref("browser.download.useDownloadDir", false);
pref("browser.feeds.showFirstRunUI", false); defaultPref("browser.feeds.showFirstRunUI", false);
pref("browser.fixup.alternate.enabled", false); defaultPref("browser.fixup.alternate.enabled", false);
pref("browser.fixup.hide_user_pass", true); pref("browser.fixup.hide_user_pass", true);
pref("browser.formfill.enable", false); defaultPref("browser.formfill.enable", false);
// PREF: Delete Search and Form History // PREF: Delete Search and Form History
pref("browser.formfill.expire_days", 0); defaultPref("browser.formfill.expire_days", 0);
// PREF: Delete temporary files on exit // PREF: Delete temporary files on exit
pref("browser.helperApps.deleteTempFileOnExit", true); 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); pref("browser.newtabpage.enhanced", false);
pref("browser.newtabpage.introShown", true); 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: Do not create screenshots of visited pages
pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.pagethumbnails.capturing_disabled", true);
pref("browser.places.smartBookmarksVersion", -1); pref("browser.places.smartBookmarksVersion", -1);
pref("browser.pocket.enabled", false); defaultPref("browser.pocket.enabled", false);
pref("browser.pocket.useLocaleList", false); pref("browser.pocket.useLocaleList", false);
pref("browser.reader.detectedFirstArticle", false); pref("browser.reader.detectedFirstArticle", false);
pref("browser.rights.3.shown", true); pref("browser.rights.3.shown", true);
pref("browser.safebrowsing.appRepURL", ""); defaultPref("browser.safebrowsing.appRepURL", "");
pref("browser.safebrowsing.blockedURIs.enabled", false); defaultPref("browser.safebrowsing.blockedURIs.enabled", false);
pref("browser.safebrowsing.downloads.enabled", false); defaultPref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false); defaultPref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.gethashURL", ""); defaultPref("browser.safebrowsing.gethashURL", "");
pref("browser.safebrowsing.keyURL", "localhost"); defaultPref("browser.safebrowsing.keyURL", "localhost");
pref("browser.safebrowsing.malware.enabled", false); defaultPref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.malware.reportURL", ""); defaultPref("browser.safebrowsing.malware.reportURL", "");
pref("browser.safebrowsing.phishing.enabled", false); defaultPref("browser.safebrowsing.phishing.enabled", false);
pref("browser.safebrowsing.provider.google.appRepURL", ""); defaultPref("browser.safebrowsing.provider.google.appRepURL", "");
pref("browser.safebrowsing.provider.google.gethashURL", ""); defaultPref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.lists", ""); defaultPref("browser.safebrowsing.provider.google.lists", "");
pref("browser.safebrowsing.provider.google.reportURL", ""); defaultPref("browser.safebrowsing.provider.google.reportURL", "");
pref("browser.safebrowsing.provider.google.updateURL", ""); defaultPref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.lists", ""); defaultPref("browser.safebrowsing.provider.mozilla.lists", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.safebrowsing.reportErrorURL", ""); defaultPref("browser.safebrowsing.reportErrorURL", "");
pref("browser.safebrowsing.reportGenericURL", ""); defaultPref("browser.safebrowsing.reportGenericURL", "");
pref("browser.safebrowsing.reportMalwareErrorURL", ""); defaultPref("browser.safebrowsing.reportMalwareErrorURL", "");
pref("browser.safebrowsing.reportMalwareURL", ""); defaultPref("browser.safebrowsing.reportMalwareURL", "");
pref("browser.safebrowsing.reportPhishURL", ""); defaultPref("browser.safebrowsing.reportPhishURL", "");
pref("browser.safebrowsing.reportURL", ""); defaultPref("browser.safebrowsing.reportURL", "");
pref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.updateURL", "");
pref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", "");
pref("browser.search.countryCode", "US"); defaultPref("browser.search.countryCode", "US");
pref("browser.search.defaultenginename", "DuckDuckGo"); defaultPref("browser.search.defaultenginename", "DuckDuckGo");
pref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults", false);
pref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoSpecificDefaults.url", "");
pref("browser.search.geoip.url", ""); defaultPref("browser.search.geoip.url", "");
pref("browser.search.order.1", "DuckDuckGo"); defaultPref("browser.search.order.1", "DuckDuckGo");
pref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.redirectWindowsSearch", false);
pref("browser.search.region", "US"); defaultPref("browser.search.region", "US");
pref("browser.search.searchEnginesURL", ""); defaultPref("browser.search.searchEnginesURL", "");
pref("browser.search.suggest.enabled", false); defaultPref("browser.search.suggest.enabled", false);
pref("browser.search.update", false); defaultPref("browser.search.update", false);
pref("browser.send_pings", false); pref("browser.send_pings", false);
pref("browser.send_pings.require_same_host", true); pref("browser.send_pings.require_same_host", true);
pref("browser.selfsupport.url", ""); pref("browser.selfsupport.url", "");
pref("browser.shell.checkDefaultBrowser", false); defaultPref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/"); //defaultPref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage", "http://i2pd.i2p/");
pref("browser.tabs.closeWindowWithLastTab", false); pref("browser.tabs.closeWindowWithLastTab", false);
pref("browser.tabs.crashReporting.sendReport", false); lockPref("browser.tabs.crashReporting.sendReport", false);
pref("browser.tabs.loadInBackground", true); pref("browser.tabs.loadInBackground", true);
pref("browser.uitour.enabled", false); defaultPref("browser.uitour.enabled", false);
pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.filter.javascript", true);
pref("browser.urlbar.formatting.enabled", false); pref("browser.urlbar.formatting.enabled", false);
pref("browser.urlbar.maxRichResults", 12); pref("browser.urlbar.maxRichResults", 12);
// pref("browser.urlbar.suggest.history", false); // pref("browser.urlbar.suggest.history", false);
pref("browser.urlbar.suggest.searches", false); defaultPref("browser.urlbar.suggest.searches", false);
pref("browser.urlbar.trimURLs", false); pref("browser.urlbar.trimURLs", false);
pref("browser.usedOnWindows10", false); lockPref("browser.usedOnWindows10", false);
pref("browser.usedOnWindows10.introURL", ""); lockPref("browser.usedOnWindows10.introURL", "");
pref("camera.control.face_detection.enabled", false); lockPref("camera.control.face_detection.enabled", false);
pref("canvas.capturestream.enabled", false); pref("canvas.capturestream.enabled", false);
pref("clipboard.autocopy", false); pref("clipboard.autocopy", false);
pref("datareporting.healthreport.about.reportUrl", ""); defaultPref("datareporting.healthreport.about.reportUrl", "");
pref("datareporting.healthreport.about.reportUrlUnified", ""); defaultPref("datareporting.healthreport.about.reportUrlUnified", "");
pref("datareporting.healthreport.documentServerURI", ""); defaultPref("datareporting.healthreport.documentServerURI", "");
pref("datareporting.healthreport.pendingDeleteRemoteData", true); defaultPref("datareporting.healthreport.pendingDeleteRemoteData", true);
pref("datareporting.healthreport.service.enabled", false); lockPref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false); defaultPref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false); defaultPref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled.v2", false); pref("datareporting.policy.dataSubmissionEnabled.v2", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false); pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
@ -164,35 +178,36 @@ pref("extensions.pocket.enabled", false);
pref("extensions.shownSelectionUI", true); pref("extensions.shownSelectionUI", true);
pref("extensions.ui.lastCategory", "addons://list/extension"); pref("extensions.ui.lastCategory", "addons://list/extension");
pref("extensions.update.autoUpdateDefault", false); pref("extensions.update.autoUpdateDefault", false);
pref("extensions.update.enabled", false); defaultPref("extensions.update.enabled", false);
pref("full-screen-api.approval-required", false); pref("full-screen-api.approval-required", false);
pref("full-screen-api.warning.timeout", 0); pref("full-screen-api.warning.timeout", 0);
pref("general.buildID.override", "19700101"); pref("general.buildID.override", "19700101");
pref("general.warnOnAboutConfig", false); pref("general.warnOnAboutConfig", false);
pref("geo.enabled", false); defaultPref("geo.enabled", false);
pref("geo.wifi.uri", ""); defaultPref("geo.wifi.uri", "");
pref("geo.wifi.logging.enabled", false); lockPref("geo.wifi.logging.enabled", false);
// pref("gfx.font_rendering.opentype_svg.enabled", false); // pref("gfx.font_rendering.opentype_svg.enabled", false);
pref("intl.locale.matchOS", true); lockPref("identity.fxaccounts.enabled", false);
defaultPref("intl.locale.matchOS", true);
// pref("javascript.options.asmjs", false); // pref("javascript.options.asmjs", false);
pref("javascript.use_us_english_locale", true); pref("javascript.use_us_english_locale", true);
pref("keyword.enabled", false); pref("keyword.enabled", false);
pref("lightweightThemes.update.enabled", false); pref("lightweightThemes.update.enabled", false);
pref("media.eme.enabled", false); defaultPref("media.eme.enabled", false);
pref("media.getusermedia.screensharing.enabled", false); defaultPref("media.getusermedia.screensharing.enabled", false);
pref("media.getusermedia.audiocapture.enabled", false); defaultPref("media.getusermedia.audiocapture.enabled", false);
pref("media.gmp-eme-adobe.enabled", false); pref("media.gmp-eme-adobe.enabled", false);
pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.enabled", false);
pref("media.gmp-gmpopenh264.provider.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false);
pref("media.gmp-manager.url", ""); pref("media.gmp-manager.url", "");
// pref("media.gmp-provider.enabled", false); // pref("media.gmp-provider.enabled", false);
pref("media.navigator.enabled", false); defaultPref("media.navigator.enabled", false);
pref("media.navigator.video.enabled", false); defaultPref("media.navigator.video.enabled", false);
pref("media.peerconnection.enabled", false); defaultPref("media.peerconnection.enabled", false);
pref("media.peerconnection.ice.no_host", true); defaultPref("media.peerconnection.ice.no_host", true);
pref("media.video_stats.enabled", false); defaultPref("media.video_stats.enabled", false);
pref("media.webspeech.recognition.enable", false); defaultPref("media.webspeech.recognition.enable", false);
pref("media.webspeech.synth.enabled", false); defaultPref("media.webspeech.synth.enabled", false);
pref("network.allow-experiments", false); pref("network.allow-experiments", false);
// pref("network.cookie.cookieBehavior", 1); // pref("network.cookie.cookieBehavior", 1);
// PREF: Cookies expires at the end of the session (when the browser closes) // PREF: Cookies expires at the end of the session (when the browser closes)
@ -200,11 +215,11 @@ pref("network.allow-experiments", false);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
// pref("network.cookie.thirdparty.sessionOnly", true); // pref("network.cookie.thirdparty.sessionOnly", true);
// pref("network.dns.blockDotOnion", true); // pref("network.dns.blockDotOnion", true);
pref("network.dns.disableIPv6", true); defaultPref("network.dns.disableIPv6", true);
pref("network.dns.disableprefetch", true); defaultPref("network.dns.disableprefetch", true);
pref("network.dns.disableprefetchFromHTTPS", true); defaultPref("network.dns.disableprefetchFromHTTPS", true);
pref("network.dns.disablePrefetch", true); defaultPref("network.dns.disablePrefetch", true);
pref("network.dns.disablePrefetchFromHTTPS", true); defaultPref("network.dns.disablePrefetchFromHTTPS", true);
// pref("network.http.referer.spoofSource", true); // pref("network.http.referer.spoofSource", true);
// pref("network.http.referer.XOriginPolicy", 2); // pref("network.http.referer.XOriginPolicy", 2);
pref("network.http.speculative-parallel-limit", 0); pref("network.http.speculative-parallel-limit", 0);
@ -213,7 +228,7 @@ pref("network.jar.open-unsafe-types", false);
pref("network.manage-offline-status", false); pref("network.manage-offline-status", false);
pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); pref("network.negotiate-auth.allow-insecure-ntlm-v1", false);
pref("network.predictor.enabled", false); pref("network.predictor.enabled", false);
pref("network.prefetch-next", false); defaultPref("network.prefetch-next", false);
pref("network.protocol-handler.warn-external-default", true); pref("network.protocol-handler.warn-external-default", true);
pref("network.protocol-handler.external.http", false); pref("network.protocol-handler.external.http", false);
pref("network.protocol-handler.external.https", false); pref("network.protocol-handler.external.https", false);
@ -230,32 +245,31 @@ pref("network.protocol-handler.expose.moz-extension", true);
pref("network.protocol-handler.expose.ftp", true); pref("network.protocol-handler.expose.ftp", true);
pref("network.protocol-handler.expose.file", true); pref("network.protocol-handler.expose.file", true);
pref("network.protocol-handler.expose.about", true); pref("network.protocol-handler.expose.about", true);
pref("network.proxy.backup.ftp", "127.0.0.1"); lockPref("network.proxy.backup.ftp", "127.0.0.1");
pref("network.proxy.backup.ftp_port", 4444); lockPref("network.proxy.backup.ftp_port", 4444);
pref("network.proxy.backup.socks", "127.0.0.1"); lockPref("network.proxy.backup.socks", "127.0.0.1");
pref("network.proxy.backup.socks_port", 4444); lockPref("network.proxy.backup.socks_port", 4444);
pref("network.proxy.backup.ssl", "127.0.0.1"); lockPref("network.proxy.backup.ssl", "127.0.0.1");
pref("network.proxy.backup.ssl_port", 4444); lockPref("network.proxy.backup.ssl_port", 4444);
pref("network.proxy.ftp", "127.0.0.1"); lockPref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444); lockPref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1"); lockPref("network.proxy.http", "127.0.0.1");
pref("network.proxy.http_port", 4444); lockPref("network.proxy.http_port", 4444);
pref("network.proxy.share_proxy_settings", true); lockPref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "127.0.0.1"); lockPref("network.proxy.socks", "127.0.0.1");
pref("network.proxy.socks_port", 4444); lockPref("network.proxy.socks_port", 4444);
pref("network.proxy.socks_remote_dns", true); lockPref("network.proxy.socks_remote_dns", true);
pref("network.proxy.ssl", "127.0.0.1"); lockPref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444); lockPref("network.proxy.ssl_port", 4444);
pref("network.proxy.type", 1); lockPref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
pref("noscript.version", "5.1.8.3");
pref("noscript.visibleUIChecked", true);
pref("pdfjs.disabled", true); pref("pdfjs.disabled", true);
pref("pdfjs.enableWebGL", false); pref("pdfjs.enableWebGL", false);
pref("plugin.default_plugin_disabled", true); 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.flash", 0);
pref("plugin.state.java", 0); pref("plugin.state.java", 0);
pref("plugin.state.libgnome-shell-browser-plugin", 0); pref("plugin.state.libgnome-shell-browser-plugin", 0);
@ -283,6 +297,7 @@ pref("privacy.cpd.sessions", true);
pref("privacy.donottrackheader.enabled", true); pref("privacy.donottrackheader.enabled", true);
pref("privacy.resistFingerprinting", true); pref("privacy.resistFingerprinting", true);
pref("privacy.sanitize.timeSpan", 0); pref("privacy.sanitize.timeSpan", 0);
defaultPref("privacy.spoof_english", 2);
pref("privacy.trackingprotection.enabled", true); pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.pbmode.enabled", true); pref("privacy.trackingprotection.pbmode.enabled", true);
pref("privacy.userContext.enabled", true); pref("privacy.userContext.enabled", true);
@ -301,23 +316,23 @@ pref("services.blocklist.update_enabled", false);
pref("security.sri.enable", true); pref("security.sri.enable", true);
pref("security.ssl.errorReporting.automatic", false); pref("security.ssl.errorReporting.automatic", false);
pref("security.ssl.errorReporting.enabled", false); pref("security.ssl.errorReporting.enabled", false);
pref("services.sync.enabled", false); lockPref("services.sync.enabled", false);
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", 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.safebrowsing.enabled", false);
pref("services.sync.prefs.sync.browser.search.update", false); defaultPref("services.sync.prefs.sync.browser.search.update", false);
pref("services.sync.prefs.sync.extensions.update.enabled", false); defaultPref("services.sync.prefs.sync.extensions.update.enabled", false);
// pref("shumway.disabled", true); // pref("shumway.disabled", true);
pref("signon.autofillForms", false); pref("signon.autofillForms", false);
// PREF: Disable password manager // PREF: Disable password manager
pref("signon.rememberSignons", false); pref("signon.rememberSignons", false);
pref("startup.homepage_welcome_url", "about:blank"); defaultPref("startup.homepage_welcome_url", "http://i2pd.i2p/");
pref("startup.homepage_welcome_url.additional", "about:blank"); pref("startup.homepage_welcome_url.additional", "about:blank");
pref("toolkit.telemetry.archive.enabled", false); pref("toolkit.telemetry.archive.enabled", false);
pref("toolkit.telemetry.enabled", false); lockPref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.optoutSample", false); pref("toolkit.telemetry.optoutSample", false);
pref("toolkit.telemetry.reportingpolicy.firstRun", false); defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false);
pref("toolkit.telemetry.server", ""); lockPref("toolkit.telemetry.server", "");
pref("toolkit.telemetry.unified", false); defaultPref("toolkit.telemetry.unified", false);
pref("toolkit.telemetry.unifiedIsOptIn", true); pref("toolkit.telemetry.unifiedIsOptIn", true);
pref("webgl.disabled", true); pref("webgl.disabled", true);
pref("webgl.disable-extensions", true); pref("webgl.disable-extensions", true);

12
osx/build/profile/prefs.js

@ -1,12 +0,0 @@
# Mozilla User Preferences
/* 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
*/
user_pref("browser.startup.homepage", "http://i2pd.i2p/");

2
osx/build/profile/xulstore.json

@ -1 +1 @@
{"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,noscript-tbb"},"sidebar-title":{"value":""}}} {"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"back-button,forward-button,stop-reload-button,urlbar-container,bookmarks-menu-button,downloads-button,_73a6fe31-595d-460b-a920-fcc0f8843232_-browser-action"},"sidebar-title":{"value":""}}}

15
windows/build/build.cmd

@ -7,7 +7,7 @@ REM See full license text in LICENSE file at top of project tree
setlocal enableextensions setlocal enableextensions
set CURL=%~dp0curl.exe set CURL=%~dp0curl.exe
set FFversion=52.7.2 set FFversion=60.0.2
set I2Pdversion=2.18.0 set I2Pdversion=2.18.0
call :GET_LOCALE call :GET_LOCALE
call :GET_PROXY call :GET_PROXY
@ -17,12 +17,12 @@ if "%locale%"=="ru" (
echo ‘¡®àª  I2Pd Browser Portable echo ‘¡®àª  I2Pd Browser Portable
echo Ÿ§ëª ¡à ã§¥à : %locale%,  àå¨â¥ªâãà : %xOS% echo Ÿ§ëª ¡à ã§¥à : %locale%,  àå¨â¥ªâãà : %xOS%
echo. echo.
echo £à㧪  ãáâ ­®¢é¨ª  Firefox Portable ESR echo £à㧪  ãáâ ­®¢é¨ª  Firefox ESR
) else ( ) else (
echo Building I2Pd Browser Portable echo Building I2Pd Browser Portable
echo Browser locale: %locale%, architecture: %xOS% echo Browser locale: %locale%, architecture: %xOS%
echo. echo.
echo Downloading Firefox Portable ESR installer echo Downloading Firefox ESR installer
) )
"%CURL%" -L -f -# -o firefox.exe https://ftp.mozilla.org/pub/firefox/releases/%FFversion%esr/%xOS%/%locale%/Firefox%%20Setup%%20%FFversion%esr.exe %$X% "%CURL%" -L -f -# -o firefox.exe https://ftp.mozilla.org/pub/firefox/releases/%FFversion%esr/%xOS%/%locale%/Firefox%%20Setup%%20%FFversion%esr.exe %$X%
@ -64,9 +64,9 @@ if "%locale%"=="ru" (
) else ( ) else (
echo Downloading language packs echo Downloading language packs
) )
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605634/russian_ru_language_pack-52.0-fx.xpi?src=version-history "%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-ru@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978562/russian_ru_language_pack-60.0buildid20180605171542-an+fx.xpi
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!) if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/605596/english_us_language_pack-52.0-fx.xpi?src=version-history "%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\langpack-en-US@firefox.mozilla.org.xpi https://addons.mozilla.org/firefox/downloads/file/978493/english_us_language_pack-60.0buildid20180605171542-an+fx.xpi
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!) if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
echo. echo.
@ -75,7 +75,7 @@ if "%locale%"=="ru" (
) else ( ) else (
echo Downloading NoScript extension echo Downloading NoScript extension
) )
"%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/806790/noscript_security_suite-5.1.8.3-fx+sm.xpi "%CURL%" -L -f -# -o ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi https://addons.mozilla.org/firefox/downloads/file/972162/noscript_security_suite-10.1.8.2-an+fx.xpi
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!) if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
echo. echo.
@ -85,10 +85,9 @@ if "%locale%"=="ru" (
echo Copying Firefox launcher and settings echo Copying Firefox launcher and settings
) )
mkdir ..\Firefox\App\DefaultData\profile\ > nul mkdir ..\Firefox\App\DefaultData\profile\ > nul
mkdir ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul
copy /Y profile\* ..\Firefox\App\DefaultData\profile\ > nul copy /Y profile\* ..\Firefox\App\DefaultData\profile\ > nul
copy /Y firefox-portable\* ..\Firefox\ > nul copy /Y firefox-portable\* ..\Firefox\ > nul
copy /Y preferences\* ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul xcopy /E /Y preferences\* ..\Firefox\App\Firefox\ > nul
if "%locale%"=="ru" ( if "%locale%"=="ru" (
echo £à㧪  I2Pd echo £à㧪  I2Pd

133
windows/build/ca-bundle.crt

@ -1,7 +1,7 @@
## ##
## Bundle of CA Root Certificates ## Bundle of CA Root Certificates
## ##
## Certificate data from Mozilla as of: Sat Jan 20 10:50:18 2018 GMT ## Certificate data from Mozilla as of: Sun Apr 22 22:00:11 2018 GMT
## ##
## This is a bundle of X.509 certificates of public Certificate Authorities ## This is a bundle of X.509 certificates of public Certificate Authorities
## (CA). These were automatically extracted from Mozilla's root certificates ## (CA). These were automatically extracted from Mozilla's root certificates
@ -14,7 +14,7 @@
## Just configure this file as the SSLCACertificateFile. ## Just configure this file as the SSLCACertificateFile.
## ##
## Conversion done with mk-ca-bundle.pl version 1.27. ## Conversion done with mk-ca-bundle.pl version 1.27.
## SHA256: a3ac15b98179dd2f3c5de076d10b1d53048754372f7207c2f327510cdd78fbd8 ## SHA256: 704f02707ec6b4c4a7597a8c6039b020def11e64f3ef0605a9c3543d48038a57
## ##
@ -446,60 +446,6 @@ EtzKO6gunRRaBXW37Ndj4ro1tgQIkejanZz2ZrUYrAqmVCY0M9IbwdR/GjqOC6oybtv8TyWf2TLH
llpwrN9M llpwrN9M
-----END CERTIFICATE----- -----END CERTIFICATE-----
Camerfirma Chambers of Commerce Root
====================================
-----BEGIN CERTIFICATE-----
MIIEvTCCA6WgAwIBAgIBADANBgkqhkiG9w0BAQUFADB/MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe
QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i
ZXJzaWduLm9yZzEiMCAGA1UEAxMZQ2hhbWJlcnMgb2YgQ29tbWVyY2UgUm9vdDAeFw0wMzA5MzAx
NjEzNDNaFw0zNzA5MzAxNjEzNDRaMH8xCzAJBgNVBAYTAkVVMScwJQYDVQQKEx5BQyBDYW1lcmZp
cm1hIFNBIENJRiBBODI3NDMyODcxIzAhBgNVBAsTGmh0dHA6Ly93d3cuY2hhbWJlcnNpZ24ub3Jn
MSIwIAYDVQQDExlDaGFtYmVycyBvZiBDb21tZXJjZSBSb290MIIBIDANBgkqhkiG9w0BAQEFAAOC
AQ0AMIIBCAKCAQEAtzZV5aVdGDDg2olUkfzIx1L4L1DZ77F1c2VHfRtbunXF/KGIJPov7coISjlU
xFF6tdpg6jg8gbLL8bvZkSM/SAFwdakFKq0fcfPJVD0dBmpAPrMMhe5cG3nCYsS4No41XQEMIwRH
NaqbYE6gZj3LJgqcQKH0XZi/caulAGgq7YN6D6IUtdQis4CwPAxaUWktWBiP7Zme8a7ileb2R6jW
DA+wWFjbw2Y3npuRVDM30pQcakjJyfKl2qUMI/cjDpwyVV5xnIQFUZot/eZOKjRa3spAN2cMVCFV
d9oKDMyXroDclDZK9D7ONhMeU+SsTjoF7Nuucpw4i9A5O4kKPnf+dQIBA6OCAUQwggFAMBIGA1Ud
EwEB/wQIMAYBAf8CAQwwPAYDVR0fBDUwMzAxoC+gLYYraHR0cDovL2NybC5jaGFtYmVyc2lnbi5v
cmcvY2hhbWJlcnNyb290LmNybDAdBgNVHQ4EFgQU45T1sU3p26EpW1eLTXYGduHRooowDgYDVR0P
AQH/BAQDAgEGMBEGCWCGSAGG+EIBAQQEAwIABzAnBgNVHREEIDAegRxjaGFtYmVyc3Jvb3RAY2hh
bWJlcnNpZ24ub3JnMCcGA1UdEgQgMB6BHGNoYW1iZXJzcm9vdEBjaGFtYmVyc2lnbi5vcmcwWAYD
VR0gBFEwTzBNBgsrBgEEAYGHLgoDATA+MDwGCCsGAQUFBwIBFjBodHRwOi8vY3BzLmNoYW1iZXJz
aWduLm9yZy9jcHMvY2hhbWJlcnNyb290Lmh0bWwwDQYJKoZIhvcNAQEFBQADggEBAAxBl8IahsAi
fJ/7kPMa0QOx7xP5IV8EnNrJpY0nbJaHkb5BkAFyk+cefV/2icZdp0AJPaxJRUXcLo0waLIJuvvD
L8y6C98/d3tGfToSJI6WjzwFCm/SlCgdbQzALogi1djPHRPH8EjX1wWnz8dHnjs8NMiAT9QUu/wN
UPf6s+xCX6ndbcj0dc97wXImsQEcXCz9ek60AcUFV7nnPKoF2YjpB0ZBzu9Bga5Y34OirsrXdx/n
ADydb47kMgkdTXg0eDQ8lJsm7U9xxhl6vSAiSFr+S30Dt+dYvsYyTnQeaN2oaFuzPu5ifdmA6Ap1
erfutGWaIZDgqtCYvDi1czyL+Nw=
-----END CERTIFICATE-----
Camerfirma Global Chambersign Root
==================================
-----BEGIN CERTIFICATE-----
MIIExTCCA62gAwIBAgIBADANBgkqhkiG9w0BAQUFADB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMe
QUMgQ2FtZXJmaXJtYSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1i
ZXJzaWduLm9yZzEgMB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwHhcNMDMwOTMwMTYx
NDE4WhcNMzcwOTMwMTYxNDE4WjB9MQswCQYDVQQGEwJFVTEnMCUGA1UEChMeQUMgQ2FtZXJmaXJt
YSBTQSBDSUYgQTgyNzQzMjg3MSMwIQYDVQQLExpodHRwOi8vd3d3LmNoYW1iZXJzaWduLm9yZzEg
MB4GA1UEAxMXR2xvYmFsIENoYW1iZXJzaWduIFJvb3QwggEgMA0GCSqGSIb3DQEBAQUAA4IBDQAw
ggEIAoIBAQCicKLQn0KuWxfH2H3PFIP8T8mhtxOviteePgQKkotgVvq0Mi+ITaFgCPS3CU6gSS9J
1tPfnZdan5QEcOw/Wdm3zGaLmFIoCQLfxS+EjXqXd7/sQJ0lcqu1PzKY+7e3/HKE5TWH+VX6ox8O
by4o3Wmg2UIQxvi1RMLQQ3/bvOSiPGpVeAp3qdjqGTK3L/5cPxvusZjsyq16aUXjlg9V9ubtdepl
6DJWk0aJqCWKZQbua795B9Dxt6/tLE2Su8CoX6dnfQTyFQhwrJLWfQTSM/tMtgsL+xrJxI0DqX5c
8lCrEqWhz0hQpe/SyBoT+rB/sYIcd2oPX9wLlY/vQ37mRQklAgEDo4IBUDCCAUwwEgYDVR0TAQH/
BAgwBgEB/wIBDDA/BgNVHR8EODA2MDSgMqAwhi5odHRwOi8vY3JsLmNoYW1iZXJzaWduLm9yZy9j
aGFtYmVyc2lnbnJvb3QuY3JsMB0GA1UdDgQWBBRDnDafsJ4wTcbOX60Qq+UDpfqpFDAOBgNVHQ8B
Af8EBAMCAQYwEQYJYIZIAYb4QgEBBAQDAgAHMCoGA1UdEQQjMCGBH2NoYW1iZXJzaWducm9vdEBj
aGFtYmVyc2lnbi5vcmcwKgYDVR0SBCMwIYEfY2hhbWJlcnNpZ25yb290QGNoYW1iZXJzaWduLm9y
ZzBbBgNVHSAEVDBSMFAGCysGAQQBgYcuCgEBMEEwPwYIKwYBBQUHAgEWM2h0dHA6Ly9jcHMuY2hh
bWJlcnNpZ24ub3JnL2Nwcy9jaGFtYmVyc2lnbnJvb3QuaHRtbDANBgkqhkiG9w0BAQUFAAOCAQEA
PDtwkfkEVCeR4e3t/mh/YV3lQWVPMvEYBZRqHN4fcNs+ezICNLUMbKGKfKX0j//U2K0X1S0E0T9Y
gOKBWYi+wONGkyT+kL0mojAt6JcmVzWJdJYY9hXiryQZVgICsroPFOrGimbBhkVVi76SvpykBMdJ
PJ7oKXqJ1/6v/2j1pReQvayZzKWGVwlnRtvWFsJG8eSpUPWP0ZIV018+xgBJOm5YstHRJw0lyDL4
IBHNfTIzSJRUTN3cecQwn+uOuFW114hcxWokPbLTBQNRxgfvzBRydD1ucs4YKIxKoHflCStFREes
t2d/AYoFWpO+ocH/+OcOZ6RHSXZddZAa9SaP8A==
-----END CERTIFICATE-----
XRamp Global CA Root XRamp Global CA Root
==================== ====================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -710,30 +656,6 @@ RLtTcm1D9SZImlJnt1ir/md2cXjbDaJWFBM5JDGFoqgCWjBH4d1QB7wCCZAA62RjYJsWvIjJEubS
fZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ fZGL+T0yjWW06XyxV3bqxbYoOb8VZRzI9neWagqNdwvYkQsEjgfbKbYK7p2CNTUQ
-----END CERTIFICATE----- -----END CERTIFICATE-----
DST ACES CA X6
==============
-----BEGIN CERTIFICATE-----
MIIECTCCAvGgAwIBAgIQDV6ZCtadt3js2AdWO4YV2TANBgkqhkiG9w0BAQUFADBbMQswCQYDVQQG
EwJVUzEgMB4GA1UEChMXRGlnaXRhbCBTaWduYXR1cmUgVHJ1c3QxETAPBgNVBAsTCERTVCBBQ0VT
MRcwFQYDVQQDEw5EU1QgQUNFUyBDQSBYNjAeFw0wMzExMjAyMTE5NThaFw0xNzExMjAyMTE5NTha
MFsxCzAJBgNVBAYTAlVTMSAwHgYDVQQKExdEaWdpdGFsIFNpZ25hdHVyZSBUcnVzdDERMA8GA1UE
CxMIRFNUIEFDRVMxFzAVBgNVBAMTDkRTVCBBQ0VTIENBIFg2MIIBIjANBgkqhkiG9w0BAQEFAAOC
AQ8AMIIBCgKCAQEAuT31LMmU3HWKlV1j6IR3dma5WZFcRt2SPp/5DgO0PWGSvSMmtWPuktKe1jzI
DZBfZIGxqAgNTNj50wUoUrQBJcWVHAx+PhCEdc/BGZFjz+iokYi5Q1K7gLFViYsx+tC3dr5BPTCa
pCIlF3PoHuLTrCq9Wzgh1SpL11V94zpVvddtawJXa+ZHfAjIgrrep4c9oW24MFbCswKBXy314pow
GCi4ZtPLAZZv6opFVdbgnf9nKxcCpk4aahELfrd755jWjHZvwTvbUJN+5dCOHze4vbrGn2zpfDPy
MjwmR/onJALJfh1biEITajV8fTXpLmaRcpPVMibEdPVTo7NdmvYJywIDAQABo4HIMIHFMA8GA1Ud
EwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgHGMB8GA1UdEQQYMBaBFHBraS1vcHNAdHJ1c3Rkc3Qu
Y29tMGIGA1UdIARbMFkwVwYKYIZIAWUDAgEBATBJMEcGCCsGAQUFBwIBFjtodHRwOi8vd3d3LnRy
dXN0ZHN0LmNvbS9jZXJ0aWZpY2F0ZXMvcG9saWN5L0FDRVMtaW5kZXguaHRtbDAdBgNVHQ4EFgQU
CXIGThhDD+XWzMNqizF7eI+og7gwDQYJKoZIhvcNAQEFBQADggEBAKPYjtay284F5zLNAdMEA+V2
5FYrnJmQ6AgwbN99Pe7lv7UkQIRJ4dEorsTCOlMwiPH1d25Ryvr/ma8kXxug/fKshMrfqfBfBC6t
Fr8hlxCBPeP/h40y3JTlR4peahPJlJU90u7INJXQgNStMgiAVDzgvVJT11J8smk/f3rPanTK+gQq
nExaBqXpIK1FZg9p8d2/6eMyi/rgwYZNcjwu2JN4Cir42NInPRmJX1p7ijvMDNpRrscL9yuwNwXs
vFcj4jjSm2jzVhKIT0J8uDHEtdvkyCE06UgRNe76x5JXxZ805Mf29w4LTJxoeHtxMcfrHuBnQfO3
oKfN5XozNmr6mis=
-----END CERTIFICATE-----
SwissSign Gold CA - G2 SwissSign Gold CA - G2
====================== ======================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -976,27 +898,6 @@ FAkK+qDmfQjGGoe9GKhzvSbKYAydzpmfz1wPMOG+FDHqAjAU9JM8SaczepBGR7NjfRObTrdvGDeA
U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY= U/7dIOA1mjbRxwG55tzd8/8dLDoWV9mSOdY=
-----END CERTIFICATE----- -----END CERTIFICATE-----
Security Communication EV RootCA1
=================================
-----BEGIN CERTIFICATE-----
MIIDfTCCAmWgAwIBAgIBADANBgkqhkiG9w0BAQUFADBgMQswCQYDVQQGEwJKUDElMCMGA1UEChMc
U0VDT00gVHJ1c3QgU3lzdGVtcyBDTy4sTFRELjEqMCgGA1UECxMhU2VjdXJpdHkgQ29tbXVuaWNh
dGlvbiBFViBSb290Q0ExMB4XDTA3MDYwNjAyMTIzMloXDTM3MDYwNjAyMTIzMlowYDELMAkGA1UE
BhMCSlAxJTAjBgNVBAoTHFNFQ09NIFRydXN0IFN5c3RlbXMgQ08uLExURC4xKjAoBgNVBAsTIVNl
Y3VyaXR5IENvbW11bmljYXRpb24gRVYgUm9vdENBMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
AQoCggEBALx/7FebJOD+nLpCeamIivqA4PUHKUPqjgo0No0c+qe1OXj/l3X3L+SqawSERMqm4miO
/VVQYg+kcQ7OBzgtQoVQrTyWb4vVog7P3kmJPdZkLjjlHmy1V4qe70gOzXppFodEtZDkBp2uoQSX
WHnvIEqCa4wiv+wfD+mEce3xDuS4GBPMVjZd0ZoeUWs5bmB2iDQL87PRsJ3KYeJkHcFGB7hj3R4z
ZbOOCVVSPbW9/wfrrWFVGCypaZhKqkDFMxRldAD5kd6vA0jFQFTcD4SQaCDFkpbcLuUCRarAX1T4
bepJz11sS6/vmsJWXMY1VkJqMF/Cq/biPT+zyRGPMUzXn0kCAwEAAaNCMEAwHQYDVR0OBBYEFDVK
9U2vP9eCOKyrcWUXdYydVZPmMA4GA1UdDwEB/wQEAwIBBjAPBgNVHRMBAf8EBTADAQH/MA0GCSqG
SIb3DQEBBQUAA4IBAQCoh+ns+EBnXcPBZsdAS5f8hxOQWsTvoMpfi7ent/HWtWS3irO4G8za+6xm
iEHO6Pzk2x6Ipu0nUBsCMCRGef4Eh3CXQHPRwMFXGZpppSeZq51ihPZRwSzJIxXYKLerJRO1RuGG
Av8mjMSIkh1W/hln8lXkgKNrnKt34VFxDSDbEJrbvXZ5B3eZKK2aXtqxT0QsNY6llsf9g/BYxnnW
mHyojf6GPgcWkuF75x3sM3Z+Qi5KhfmRiWiEA4Glm5q+4zfFVKtWOxgtQaQM+ELbmaDgcm+7XeEW
T1MKZPlO9L9OVL14bIjqv5wTJMJwaaJ/D8g8rQjJsJhAoyrniIPtd490
-----END CERTIFICATE-----
OISTE WISeKey Global Root GA CA OISTE WISeKey Global Root GA CA
=============================== ===============================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
@ -2027,36 +1928,6 @@ NCa1CInXCGNjOCd1HjPqbqjdn5lPdE2BiYBL3ZqXKVwvvoFBuYz/6n1gBp7N1z3TLqMVvKjmJuVv
w9y4AyHqnxbxLFS1 w9y4AyHqnxbxLFS1
-----END CERTIFICATE----- -----END CERTIFICATE-----
CA Disig Root R1
================
-----BEGIN CERTIFICATE-----
MIIFaTCCA1GgAwIBAgIJAMMDmu5QkG4oMA0GCSqGSIb3DQEBBQUAMFIxCzAJBgNVBAYTAlNLMRMw
EQYDVQQHEwpCcmF0aXNsYXZhMRMwEQYDVQQKEwpEaXNpZyBhLnMuMRkwFwYDVQQDExBDQSBEaXNp
ZyBSb290IFIxMB4XDTEyMDcxOTA5MDY1NloXDTQyMDcxOTA5MDY1NlowUjELMAkGA1UEBhMCU0sx
EzARBgNVBAcTCkJyYXRpc2xhdmExEzARBgNVBAoTCkRpc2lnIGEucy4xGTAXBgNVBAMTEENBIERp
c2lnIFJvb3QgUjEwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCqw3j33Jijp1pedxiy
3QRkD2P9m5YJgNXoqqXinCaUOuiZc4yd39ffg/N4T0Dhf9Kn0uXKE5Pn7cZ3Xza1lK/oOI7bm+V8
u8yN63Vz4STN5qctGS7Y1oprFOsIYgrY3LMATcMjfF9DCCMyEtztDK3AfQ+lekLZWnDZv6fXARz2
m6uOt0qGeKAeVjGu74IKgEH3G8muqzIm1Cxr7X1r5OJeIgpFy4QxTaz+29FHuvlglzmxZcfe+5nk
CiKxLU3lSCZpq+Kq8/v8kiky6bM+TR8noc2OuRf7JT7JbvN32g0S9l3HuzYQ1VTW8+DiR0jm3hTa
YVKvJrT1cU/J19IG32PK/yHoWQbgCNWEFVP3Q+V8xaCJmGtzxmjOZd69fwX3se72V6FglcXM6pM6
vpmumwKjrckWtc7dXpl4fho5frLABaTAgqWjR56M6ly2vGfb5ipN0gTco65F97yLnByn1tUD3AjL
LhbKXEAz6GfDLuemROoRRRw1ZS0eRWEkG4IupZ0zXWX4Qfkuy5Q/H6MMMSRE7cderVC6xkGbrPAX
ZcD4XW9boAo0PO7X6oifmPmvTiT6l7Jkdtqr9O3jw2Dv1fkCyC2fg69naQanMVXVz0tv/wQFx1is
XxYb5dKj6zHbHzMVTdDypVP1y+E9Tmgt2BLdqvLmTZtJ5cUoobqwWsagtQIDAQABo0IwQDAPBgNV
HRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUiQq0OJMa5qvum5EY+fU8PjXQ
04IwDQYJKoZIhvcNAQEFBQADggIBADKL9p1Kyb4U5YysOMo6CdQbzoaz3evUuii+Eq5FLAR0rBNR
xVgYZk2C2tXck8An4b58n1KeElb21Zyp9HWc+jcSjxyT7Ff+Bw+r1RL3D65hXlaASfX8MPWbTx9B
LxyE04nH4toCdu0Jz2zBuByDHBb6lM19oMgY0sidbvW9adRtPTXoHqJPYNcHKfyyo6SdbhWSVhlM
CrDpfNIZTUJG7L399ldb3Zh+pE3McgODWF3vkzpBemOqfDqo9ayk0d2iLbYq/J8BjuIQscTK5Gfb
VSUZP/3oNn6z4eGBrxEWi1CXYBmCAMBrTXO40RMHPuq2MU/wQppt4hF05ZSsjYSVPCGvxdpHyN85
YmLLW1AL14FABZyb7bq2ix4Eb5YgOe2kfSnbSM6C3NQCjR0EMVrHS/BsYVLXtFHCgWzN4funodKS
ds+xDzdYpPJScWc/DIh4gInByLUfkmO+p3qKViwaqKactV2zY9ATIKHrkWzQjX2v3wvkF7mGnjix
lAxYjOBVqjtjbZqJYLhkKpLGN/R+Q0O3c+gB53+XD9fyexn9GtePyfqFa3qdnom2piiZk4hA9z7N
UaPK6u95RyG1/jLix8NRb76AdPCkwzryT+lf3xkK8jsTQ6wxpLPn6/wY1gGp8yqPNg7rtLG8t0zJ
a7+h89n07eLw4+1knj0vllJPgFOL
-----END CERTIFICATE-----
CA Disig Root R2 CA Disig Root R2
================ ================
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----

2
windows/build/preferences/defaults/pref/autoconfig.js

@ -0,0 +1,2 @@
pref("general.config.filename", "i2pdbrowser.cfg");
pref("general.config.obscure_value", 0);

253
osx/build/preferences/syspref.js → windows/build/preferences/i2pdbrowser.cfg

@ -1,4 +1,4 @@
# Mozilla User preferences // I2Pd Browser preferences
/* /*
* Copyright (c) 2013-2018, The PurpleI2P Project * Copyright (c) 2013-2018, The PurpleI2P Project
@ -17,102 +17,116 @@
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs * For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/ */
pref("app.update.auto", false); lockPref("accessibility.force_disabled", 1);
pref("app.update.channel", "no"); pref("app.normandy.first_run", false);
pref("app.update.enabled", false); lockPref("app.update.auto", false);
pref("app.update.interval", 0); lockPref("app.update.channel", "no");
pref("app.update.service.enabled", false); 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.staging.enabled", false);
pref("app.update.timer", 0); pref("app.update.timer", 0);
pref("beacon.enabled", false); defaultPref("beacon.enabled", false);
pref("breakpad.reportURL", ""); pref("breakpad.reportURL", "");
pref("browser.aboutHomeSnippets.updateUrl", ""); pref("browser.aboutHomeSnippets.updateUrl", "");
pref("browser.cache.disk.capacity", 131072); defaultPref("browser.cache.disk.capacity", 131072);
pref("browser.casting.enabled", false); defaultPref("browser.casting.enabled", false);
pref("browser.crashReports.unsubmittedCheck.enabled", false); pref("browser.crashReports.unsubmittedCheck.enabled", false);
// pref("browser.display.use_document_fonts", 0); // pref("browser.display.use_document_fonts", 0);
pref("browser.download.manager.retention", 0); pref("browser.download.manager.retention", 0);
pref("browser.download.useDownloadDir", false); defaultPref("browser.download.useDownloadDir", false);
pref("browser.feeds.showFirstRunUI", false); defaultPref("browser.feeds.showFirstRunUI", false);
pref("browser.fixup.alternate.enabled", false); defaultPref("browser.fixup.alternate.enabled", false);
pref("browser.fixup.hide_user_pass", true); pref("browser.fixup.hide_user_pass", true);
pref("browser.formfill.enable", false); defaultPref("browser.formfill.enable", false);
// PREF: Delete Search and Form History // PREF: Delete Search and Form History
pref("browser.formfill.expire_days", 0); defaultPref("browser.formfill.expire_days", 0);
// PREF: Delete temporary files on exit // PREF: Delete temporary files on exit
pref("browser.helperApps.deleteTempFileOnExit", true); 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); pref("browser.newtabpage.enhanced", false);
pref("browser.newtabpage.introShown", true); 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: Do not create screenshots of visited pages
pref("browser.pagethumbnails.capturing_disabled", true); pref("browser.pagethumbnails.capturing_disabled", true);
pref("browser.places.smartBookmarksVersion", -1); pref("browser.places.smartBookmarksVersion", -1);
pref("browser.pocket.enabled", false); defaultPref("browser.pocket.enabled", false);
pref("browser.pocket.useLocaleList", false); pref("browser.pocket.useLocaleList", false);
pref("browser.reader.detectedFirstArticle", false); pref("browser.reader.detectedFirstArticle", false);
pref("browser.rights.3.shown", true); pref("browser.rights.3.shown", true);
pref("browser.safebrowsing.appRepURL", ""); defaultPref("browser.safebrowsing.appRepURL", "");
pref("browser.safebrowsing.blockedURIs.enabled", false); defaultPref("browser.safebrowsing.blockedURIs.enabled", false);
pref("browser.safebrowsing.downloads.enabled", false); defaultPref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false); defaultPref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.gethashURL", ""); defaultPref("browser.safebrowsing.gethashURL", "");
pref("browser.safebrowsing.keyURL", "localhost"); defaultPref("browser.safebrowsing.keyURL", "localhost");
pref("browser.safebrowsing.malware.enabled", false); defaultPref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.malware.reportURL", ""); defaultPref("browser.safebrowsing.malware.reportURL", "");
pref("browser.safebrowsing.phishing.enabled", false); defaultPref("browser.safebrowsing.phishing.enabled", false);
pref("browser.safebrowsing.provider.google.appRepURL", ""); defaultPref("browser.safebrowsing.provider.google.appRepURL", "");
pref("browser.safebrowsing.provider.google.gethashURL", ""); defaultPref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.lists", ""); defaultPref("browser.safebrowsing.provider.google.lists", "");
pref("browser.safebrowsing.provider.google.reportURL", ""); defaultPref("browser.safebrowsing.provider.google.reportURL", "");
pref("browser.safebrowsing.provider.google.updateURL", ""); defaultPref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.lists", ""); defaultPref("browser.safebrowsing.provider.mozilla.lists", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", ""); defaultPref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.safebrowsing.reportErrorURL", ""); defaultPref("browser.safebrowsing.reportErrorURL", "");
pref("browser.safebrowsing.reportGenericURL", ""); defaultPref("browser.safebrowsing.reportGenericURL", "");
pref("browser.safebrowsing.reportMalwareErrorURL", ""); defaultPref("browser.safebrowsing.reportMalwareErrorURL", "");
pref("browser.safebrowsing.reportMalwareURL", ""); defaultPref("browser.safebrowsing.reportMalwareURL", "");
pref("browser.safebrowsing.reportPhishURL", ""); defaultPref("browser.safebrowsing.reportPhishURL", "");
pref("browser.safebrowsing.reportURL", ""); defaultPref("browser.safebrowsing.reportURL", "");
pref("browser.safebrowsing.updateURL", ""); defaultPref("browser.safebrowsing.updateURL", "");
pref("browser.safebrowsing.warning.infoURL", ""); defaultPref("browser.safebrowsing.warning.infoURL", "");
pref("browser.search.countryCode", "US"); defaultPref("browser.search.countryCode", "US");
pref("browser.search.defaultenginename", "DuckDuckGo"); defaultPref("browser.search.defaultenginename", "DuckDuckGo");
pref("browser.search.geoSpecificDefaults", false); defaultPref("browser.search.geoSpecificDefaults", false);
pref("browser.search.geoSpecificDefaults.url", ""); defaultPref("browser.search.geoSpecificDefaults.url", "");
pref("browser.search.geoip.url", ""); defaultPref("browser.search.geoip.url", "");
pref("browser.search.order.1", "DuckDuckGo"); defaultPref("browser.search.order.1", "DuckDuckGo");
pref("browser.search.redirectWindowsSearch", false); defaultPref("browser.search.redirectWindowsSearch", false);
pref("browser.search.region", "US"); defaultPref("browser.search.region", "US");
pref("browser.search.searchEnginesURL", ""); defaultPref("browser.search.searchEnginesURL", "");
pref("browser.search.suggest.enabled", false); defaultPref("browser.search.suggest.enabled", false);
pref("browser.search.update", false); defaultPref("browser.search.update", false);
pref("browser.send_pings", false); pref("browser.send_pings", false);
pref("browser.send_pings.require_same_host", true); pref("browser.send_pings.require_same_host", true);
pref("browser.selfsupport.url", ""); pref("browser.selfsupport.url", "");
pref("browser.shell.checkDefaultBrowser", false); defaultPref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/"); //defaultPref("browser.startup.firstrunSkipsHomepage", false);
pref("browser.startup.homepage", "http://i2pd.i2p/");
pref("browser.tabs.closeWindowWithLastTab", false); pref("browser.tabs.closeWindowWithLastTab", false);
pref("browser.tabs.crashReporting.sendReport", false); lockPref("browser.tabs.crashReporting.sendReport", false);
pref("browser.tabs.loadInBackground", true); pref("browser.tabs.loadInBackground", true);
pref("browser.uitour.enabled", false); defaultPref("browser.uitour.enabled", false);
pref("browser.urlbar.filter.javascript", true); pref("browser.urlbar.filter.javascript", true);
pref("browser.urlbar.formatting.enabled", false); pref("browser.urlbar.formatting.enabled", false);
pref("browser.urlbar.maxRichResults", 12); pref("browser.urlbar.maxRichResults", 12);
// pref("browser.urlbar.suggest.history", false); // pref("browser.urlbar.suggest.history", false);
pref("browser.urlbar.suggest.searches", false); defaultPref("browser.urlbar.suggest.searches", false);
pref("browser.urlbar.trimURLs", false); pref("browser.urlbar.trimURLs", false);
pref("browser.usedOnWindows10", false); lockPref("browser.usedOnWindows10", false);
pref("browser.usedOnWindows10.introURL", ""); lockPref("browser.usedOnWindows10.introURL", "");
pref("camera.control.face_detection.enabled", false); lockPref("camera.control.face_detection.enabled", false);
pref("canvas.capturestream.enabled", false); pref("canvas.capturestream.enabled", false);
pref("clipboard.autocopy", false); pref("clipboard.autocopy", false);
pref("datareporting.healthreport.about.reportUrl", ""); defaultPref("datareporting.healthreport.about.reportUrl", "");
pref("datareporting.healthreport.about.reportUrlUnified", ""); defaultPref("datareporting.healthreport.about.reportUrlUnified", "");
pref("datareporting.healthreport.documentServerURI", ""); defaultPref("datareporting.healthreport.documentServerURI", "");
pref("datareporting.healthreport.pendingDeleteRemoteData", true); defaultPref("datareporting.healthreport.pendingDeleteRemoteData", true);
pref("datareporting.healthreport.service.enabled", false); lockPref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false); defaultPref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false); defaultPref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false); pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled.v2", false); pref("datareporting.policy.dataSubmissionEnabled.v2", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false); pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
@ -164,35 +178,36 @@ pref("extensions.pocket.enabled", false);
pref("extensions.shownSelectionUI", true); pref("extensions.shownSelectionUI", true);
pref("extensions.ui.lastCategory", "addons://list/extension"); pref("extensions.ui.lastCategory", "addons://list/extension");
pref("extensions.update.autoUpdateDefault", false); pref("extensions.update.autoUpdateDefault", false);
pref("extensions.update.enabled", false); defaultPref("extensions.update.enabled", false);
pref("full-screen-api.approval-required", false); pref("full-screen-api.approval-required", false);
pref("full-screen-api.warning.timeout", 0); pref("full-screen-api.warning.timeout", 0);
pref("general.buildID.override", "19700101"); pref("general.buildID.override", "19700101");
pref("general.warnOnAboutConfig", false); pref("general.warnOnAboutConfig", false);
pref("geo.enabled", false); defaultPref("geo.enabled", false);
pref("geo.wifi.uri", ""); defaultPref("geo.wifi.uri", "");
pref("geo.wifi.logging.enabled", false); lockPref("geo.wifi.logging.enabled", false);
// pref("gfx.font_rendering.opentype_svg.enabled", false); // pref("gfx.font_rendering.opentype_svg.enabled", false);
pref("intl.locale.matchOS", true); lockPref("identity.fxaccounts.enabled", false);
defaultPref("intl.locale.matchOS", true);
// pref("javascript.options.asmjs", false); // pref("javascript.options.asmjs", false);
pref("javascript.use_us_english_locale", true); pref("javascript.use_us_english_locale", true);
pref("keyword.enabled", false); pref("keyword.enabled", false);
pref("lightweightThemes.update.enabled", false); pref("lightweightThemes.update.enabled", false);
pref("media.eme.enabled", false); defaultPref("media.eme.enabled", false);
pref("media.getusermedia.screensharing.enabled", false); defaultPref("media.getusermedia.screensharing.enabled", false);
pref("media.getusermedia.audiocapture.enabled", false); defaultPref("media.getusermedia.audiocapture.enabled", false);
pref("media.gmp-eme-adobe.enabled", false); pref("media.gmp-eme-adobe.enabled", false);
pref("media.gmp-gmpopenh264.enabled", false); pref("media.gmp-gmpopenh264.enabled", false);
pref("media.gmp-gmpopenh264.provider.enabled", false); pref("media.gmp-gmpopenh264.provider.enabled", false);
pref("media.gmp-manager.url", ""); pref("media.gmp-manager.url", "");
// pref("media.gmp-provider.enabled", false); // pref("media.gmp-provider.enabled", false);
pref("media.navigator.enabled", false); defaultPref("media.navigator.enabled", false);
pref("media.navigator.video.enabled", false); defaultPref("media.navigator.video.enabled", false);
pref("media.peerconnection.enabled", false); defaultPref("media.peerconnection.enabled", false);
pref("media.peerconnection.ice.no_host", true); defaultPref("media.peerconnection.ice.no_host", true);
pref("media.video_stats.enabled", false); defaultPref("media.video_stats.enabled", false);
pref("media.webspeech.recognition.enable", false); defaultPref("media.webspeech.recognition.enable", false);
pref("media.webspeech.synth.enabled", false); defaultPref("media.webspeech.synth.enabled", false);
pref("network.allow-experiments", false); pref("network.allow-experiments", false);
// pref("network.cookie.cookieBehavior", 1); // pref("network.cookie.cookieBehavior", 1);
// PREF: Cookies expires at the end of the session (when the browser closes) // PREF: Cookies expires at the end of the session (when the browser closes)
@ -200,11 +215,11 @@ pref("network.allow-experiments", false);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
// pref("network.cookie.thirdparty.sessionOnly", true); // pref("network.cookie.thirdparty.sessionOnly", true);
// pref("network.dns.blockDotOnion", true); // pref("network.dns.blockDotOnion", true);
pref("network.dns.disableIPv6", true); defaultPref("network.dns.disableIPv6", true);
pref("network.dns.disableprefetch", true); defaultPref("network.dns.disableprefetch", true);
pref("network.dns.disableprefetchFromHTTPS", true); defaultPref("network.dns.disableprefetchFromHTTPS", true);
pref("network.dns.disablePrefetch", true); defaultPref("network.dns.disablePrefetch", true);
pref("network.dns.disablePrefetchFromHTTPS", true); defaultPref("network.dns.disablePrefetchFromHTTPS", true);
// pref("network.http.referer.spoofSource", true); // pref("network.http.referer.spoofSource", true);
// pref("network.http.referer.XOriginPolicy", 2); // pref("network.http.referer.XOriginPolicy", 2);
pref("network.http.speculative-parallel-limit", 0); pref("network.http.speculative-parallel-limit", 0);
@ -213,7 +228,7 @@ pref("network.jar.open-unsafe-types", false);
pref("network.manage-offline-status", false); pref("network.manage-offline-status", false);
pref("network.negotiate-auth.allow-insecure-ntlm-v1", false); pref("network.negotiate-auth.allow-insecure-ntlm-v1", false);
pref("network.predictor.enabled", false); pref("network.predictor.enabled", false);
pref("network.prefetch-next", false); defaultPref("network.prefetch-next", false);
pref("network.protocol-handler.warn-external-default", true); pref("network.protocol-handler.warn-external-default", true);
pref("network.protocol-handler.external.http", false); pref("network.protocol-handler.external.http", false);
pref("network.protocol-handler.external.https", false); pref("network.protocol-handler.external.https", false);
@ -230,32 +245,31 @@ pref("network.protocol-handler.expose.moz-extension", true);
pref("network.protocol-handler.expose.ftp", true); pref("network.protocol-handler.expose.ftp", true);
pref("network.protocol-handler.expose.file", true); pref("network.protocol-handler.expose.file", true);
pref("network.protocol-handler.expose.about", true); pref("network.protocol-handler.expose.about", true);
pref("network.proxy.backup.ftp", "127.0.0.1"); lockPref("network.proxy.backup.ftp", "127.0.0.1");
pref("network.proxy.backup.ftp_port", 4444); lockPref("network.proxy.backup.ftp_port", 4444);
pref("network.proxy.backup.socks", "127.0.0.1"); lockPref("network.proxy.backup.socks", "127.0.0.1");
pref("network.proxy.backup.socks_port", 4444); lockPref("network.proxy.backup.socks_port", 4444);
pref("network.proxy.backup.ssl", "127.0.0.1"); lockPref("network.proxy.backup.ssl", "127.0.0.1");
pref("network.proxy.backup.ssl_port", 4444); lockPref("network.proxy.backup.ssl_port", 4444);
pref("network.proxy.ftp", "127.0.0.1"); lockPref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444); lockPref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1"); lockPref("network.proxy.http", "127.0.0.1");
pref("network.proxy.http_port", 4444); lockPref("network.proxy.http_port", 4444);
pref("network.proxy.share_proxy_settings", true); lockPref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "127.0.0.1"); lockPref("network.proxy.socks", "127.0.0.1");
pref("network.proxy.socks_port", 4444); lockPref("network.proxy.socks_port", 4444);
pref("network.proxy.socks_remote_dns", true); lockPref("network.proxy.socks_remote_dns", true);
pref("network.proxy.ssl", "127.0.0.1"); lockPref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444); lockPref("network.proxy.ssl_port", 4444);
pref("network.proxy.type", 1); lockPref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true); pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("noscript.firstRunRedirection.pending", "5.1.8.3");
pref("noscript.version", "5.1.8.3");
pref("noscript.visibleUIChecked", true);
pref("pdfjs.disabled", true); pref("pdfjs.disabled", true);
pref("pdfjs.enableWebGL", false); pref("pdfjs.enableWebGL", false);
pref("plugin.default_plugin_disabled", true); 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.flash", 0);
pref("plugin.state.java", 0); pref("plugin.state.java", 0);
pref("plugin.state.libgnome-shell-browser-plugin", 0); pref("plugin.state.libgnome-shell-browser-plugin", 0);
@ -283,6 +297,7 @@ pref("privacy.cpd.sessions", true);
pref("privacy.donottrackheader.enabled", true); pref("privacy.donottrackheader.enabled", true);
pref("privacy.resistFingerprinting", true); pref("privacy.resistFingerprinting", true);
pref("privacy.sanitize.timeSpan", 0); pref("privacy.sanitize.timeSpan", 0);
defaultPref("privacy.spoof_english", 2);
pref("privacy.trackingprotection.enabled", true); pref("privacy.trackingprotection.enabled", true);
pref("privacy.trackingprotection.pbmode.enabled", true); pref("privacy.trackingprotection.pbmode.enabled", true);
pref("privacy.userContext.enabled", true); pref("privacy.userContext.enabled", true);
@ -301,23 +316,23 @@ pref("services.blocklist.update_enabled", false);
pref("security.sri.enable", true); pref("security.sri.enable", true);
pref("security.ssl.errorReporting.automatic", false); pref("security.ssl.errorReporting.automatic", false);
pref("security.ssl.errorReporting.enabled", false); pref("security.ssl.errorReporting.enabled", false);
pref("services.sync.enabled", false); lockPref("services.sync.enabled", false);
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", 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.safebrowsing.enabled", false);
pref("services.sync.prefs.sync.browser.search.update", false); defaultPref("services.sync.prefs.sync.browser.search.update", false);
pref("services.sync.prefs.sync.extensions.update.enabled", false); defaultPref("services.sync.prefs.sync.extensions.update.enabled", false);
// pref("shumway.disabled", true); // pref("shumway.disabled", true);
pref("signon.autofillForms", false); pref("signon.autofillForms", false);
// PREF: Disable password manager // PREF: Disable password manager
pref("signon.rememberSignons", false); pref("signon.rememberSignons", false);
pref("startup.homepage_welcome_url", "about:blank"); defaultPref("startup.homepage_welcome_url", "http://i2pd.i2p/");
pref("startup.homepage_welcome_url.additional", "about:blank"); pref("startup.homepage_welcome_url.additional", "about:blank");
pref("toolkit.telemetry.archive.enabled", false); pref("toolkit.telemetry.archive.enabled", false);
pref("toolkit.telemetry.enabled", false); lockPref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.optoutSample", false); pref("toolkit.telemetry.optoutSample", false);
pref("toolkit.telemetry.reportingpolicy.firstRun", false); defaultPref("toolkit.telemetry.reportingpolicy.firstRun", false);
pref("toolkit.telemetry.server", ""); lockPref("toolkit.telemetry.server", "");
pref("toolkit.telemetry.unified", false); defaultPref("toolkit.telemetry.unified", false);
pref("toolkit.telemetry.unifiedIsOptIn", true); pref("toolkit.telemetry.unifiedIsOptIn", true);
pref("webgl.disabled", true); pref("webgl.disabled", true);
pref("webgl.disable-extensions", true); pref("webgl.disable-extensions", true);

12
windows/build/profile/prefs.js

@ -1,12 +0,0 @@
# Mozilla User Preferences
/* 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
*/
user_pref("browser.startup.homepage", "http://i2pd.i2p/");

2
windows/build/profile/xulstore.json

@ -1 +1 @@
{"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"urlbar-container,search-container,bookmarks-menu-button,downloads-button,home-button,noscript-tbb"},"sidebar-title":{"value":""}}} {"chrome://browser/content/browser.xul":{"navigator-toolbox":{"iconsize":"small"},"titlebar-placeholder-on-menubar-for-caption-buttons":{"width":"102"},"titlebar-placeholder-on-TabsToolbar-for-captions-buttons":{"width":"102"},"main-window":{"screenX":"30","screenY":"30","width":"1280","height":"720","sizemode":"normal"},"PersonalToolbar":{"collapsed":"false","currentset":"personal-bookmarks"},"toolbar-menubar":{"currentset":"menubar-items"},"TabsToolbar":{"currentset":"tabbrowser-tabs,new-tab-button,alltabs-button"},"addon-bar":{"currentset":"addonbar-closebutton,status-bar"},"nav-bar":{"currentset":"back-button,forward-button,stop-reload-button,urlbar-container,bookmarks-menu-button,downloads-button,_73a6fe31-595d-460b-a920-fcc0f8843232_-browser-action"},"sidebar-title":{"value":""}}}
Loading…
Cancel
Save