Browse Source

update to 52.1.0

Former-commit-id: 125f26d222
pull/43/head
R4SAS 8 years ago
parent
commit
92fbcd8850
  1. 6
      linux/build/build.sh
  2. 312
      linux/build/configs/prefs.js
  3. 2
      windows/StartI2PdBrowser.bat
  4. 30
      windows/build/build.cmd
  5. 177
      windows/build/preferences/syspref.js
  6. 165
      windows/build/profile/prefs.js
  7. BIN
      windows_prebuilt/StartI2PdBrowser.exe
  8. BIN
      windows_prebuilt/build/7zsd_LZMA2_i2pdbrowser_1.2.2.sfx
  9. 2
      windows_prebuilt/build/build_7z.bat
  10. 2
      windows_prebuilt/build/build_exe.bat
  11. 2
      windows_prebuilt/src/StartI2PdBrowser.bat

6
linux/build/build.sh

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
arch=$(uname -m)
language=$(echo $LANG | cut -c-5 | sed s/_/-/g)
version="45.8.0esr"
version="52.1.0esr"
application="firefox"
ftpmirror="https://ftp.mozilla.org/pub/$application/releases/$version"
@ -77,8 +77,8 @@ rm -r ../app/dictionaries @@ -77,8 +77,8 @@ rm -r ../app/dictionaries
# And edit some places
sed -i 's/Enabled=1/Enabled=0/g' ../app/application.ini
sed -i 's/ServerURL=.*/ServerURL=-/' ../app/application.ini
sed -i 's/Enabled=1/Enabled=0/g' ../app/webapprt/webapprt.ini
sed -i 's/ServerURL=.*/ServerURL=-/' ../app/webapprt/webapprt.ini
# sed -i 's/Enabled=1/Enabled=0/g' ../app/webapprt/webapprt.ini
# sed -i 's/ServerURL=.*/ServerURL=-/' ../app/webapprt/webapprt.ini
# Done!
echo "Downloading NoScript extension..."

312
linux/build/configs/prefs.js

@ -17,159 +17,161 @@ @@ -17,159 +17,161 @@
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/
user_pref("app.update.auto", false);
user_pref("app.update.channel", "no");
user_pref("app.update.enabled", false);
user_pref("app.update.interval", 0);
user_pref("app.update.service.enabled", false);
user_pref("app.update.staging.enabled", false);
user_pref("app.update.timer", 0);
user_pref("browser.cache.disk.capacity", 131072);
user_pref("browser.casting.enabled", false);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.feeds.showFirstRunUI", false);
user_pref("browser.fixup.alternate.enabled", false);
user_pref("browser.newtabpage.enhanced", false);
user_pref("browser.newtabpage.introShown", true);
user_pref("browser.pocket.enabled", false);
user_pref("browser.pocket.useLocaleList", false);
user_pref("browser.reader.detectedFirstArticle", false);
user_pref("browser.rights.3.shown", true);
user_pref("browser.safebrowsing.appRepURL", "");
user_pref("browser.safebrowsing.downloads.enabled", false);
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
user_pref("browser.safebrowsing.enabled", false);
user_pref("browser.safebrowsing.gethashURL", "");
user_pref("browser.safebrowsing.keyURL", "localhost");
user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.safebrowsing.malware.reportURL", "");
user_pref("browser.safebrowsing.provider.google.appRepURL", "");
user_pref("browser.safebrowsing.provider.google.gethashURL", "");
user_pref("browser.safebrowsing.provider.google.lists", "");
user_pref("browser.safebrowsing.provider.google.reportURL", "");
user_pref("browser.safebrowsing.provider.google.updateURL", "");
user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
user_pref("browser.safebrowsing.provider.mozilla.lists", "");
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
user_pref("browser.safebrowsing.reportErrorURL", "");
user_pref("browser.safebrowsing.reportGenericURL", "");
user_pref("browser.safebrowsing.reportMalwareErrorURL", "");
user_pref("browser.safebrowsing.reportMalwareURL", "");
user_pref("browser.safebrowsing.reportPhishURL", "");
user_pref("browser.safebrowsing.reportURL", "");
user_pref("browser.safebrowsing.updateURL", "");
user_pref("browser.safebrowsing.warning.infoURL", "");
user_pref("browser.search.geoSpecificDefaults", true);
user_pref("browser.search.geoSpecificDefaults.url", "");
user_pref("browser.search.geoip.url", false);
user_pref("browser.search.redirectWindowsSearch", false);
user_pref("browser.search.searchEnginesURL", "");
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.search.update", false);
user_pref("browser.selfsupport.url", "");
user_pref("browser.shell.checkDefaultBrowser", false);
pref("app.update.auto", false);
pref("app.update.channel", "no");
pref("app.update.enabled", false);
pref("app.update.interval", 0);
pref("app.update.service.enabled", false);
pref("app.update.staging.enabled", false);
pref("app.update.timer", 0);
pref("browser.cache.disk.capacity", 131072);
pref("browser.casting.enabled", false);
pref("browser.download.useDownloadDir", false);
pref("browser.feeds.showFirstRunUI", false);
pref("browser.fixup.alternate.enabled", false);
pref("browser.newtabpage.enhanced", false);
pref("browser.newtabpage.introShown", true);
pref("browser.places.smartBookmarksVersion", -1);
pref("browser.pocket.enabled", false);
pref("browser.pocket.useLocaleList", false);
pref("browser.reader.detectedFirstArticle", false);
pref("browser.rights.3.shown", true);
pref("browser.safebrowsing.appRepURL", "");
pref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.gethashURL", "");
pref("browser.safebrowsing.keyURL", "localhost");
pref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.malware.reportURL", "");
pref("browser.safebrowsing.provider.google.appRepURL", "");
pref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.lists", "");
pref("browser.safebrowsing.provider.google.reportURL", "");
pref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.lists", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.safebrowsing.reportErrorURL", "");
pref("browser.safebrowsing.reportGenericURL", "");
pref("browser.safebrowsing.reportMalwareErrorURL", "");
pref("browser.safebrowsing.reportMalwareURL", "");
pref("browser.safebrowsing.reportPhishURL", "");
pref("browser.safebrowsing.reportURL", "");
pref("browser.safebrowsing.updateURL", "");
pref("browser.safebrowsing.warning.infoURL", "");
pref("browser.search.geoSpecificDefaults", true);
pref("browser.search.geoSpecificDefaults.url", "");
pref("browser.search.geoip.url", false);
pref("browser.search.redirectWindowsSearch", false);
pref("browser.search.searchEnginesURL", "");
pref("browser.search.suggest.enabled", false);
pref("browser.search.update", false);
pref("browser.selfsupport.url", "");
pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/");
user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.tabs.crashReporting.sendReport", false);
user_pref("browser.tabs.loadInBackground", true);
user_pref("browser.urlbar.formatting.enabled", false);
user_pref("browser.urlbar.maxRichResults", 12);
user_pref("browser.urlbar.trimURLs", false);
user_pref("browser.usedOnWindows10", false);
user_pref("browser.usedOnWindows10.introURL", "");
user_pref("canvas.capturestream.enabled", false);
user_pref("datareporting.healthreport.about.reportUrl", "");
user_pref("datareporting.healthreport.about.reportUrlUnified", "");
user_pref("datareporting.healthreport.documentServerURI", "");
user_pref("datareporting.healthreport.pendingDeleteRemoteData", true);
user_pref("datareporting.healthreport.service.enabled", false);
user_pref("datareporting.healthreport.service.firstRun", false);
user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled.v2", false);
user_pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
user_pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false);
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
user_pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed");
user_pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0");
user_pref("datareporting.policy.firstRunTime", "0");
user_pref("datareporting.sessions.current.clean", true);
user_pref("dom.battery.enabled", false);
user_pref("dom.disable_open_during_load", true);
user_pref("dom.enable_performance", false);
user_pref("dom.event.clipboardevents.enabled", false);
user_pref("dom.network.enabled", false);
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.getAddons.cache.enabled", false);
user_pref("extensions.getAddons.showPane", false);
user_pref("extensions.lazarus.showDonateNotification", false);
user_pref("extensions.shownSelectionUI", true);
user_pref("extensions.ui.lastCategory", "addons://list/extension");
user_pref("extensions.update.autoUpdateDefault", false);
user_pref("extensions.update.enabled", false);
user_pref("full-screen-api.approval-required", false);
user_pref("full-screen-api.warning.timeout", 0);
user_pref("general.buildID.override", "0");
user_pref("general.warnOnAboutConfig", false);
user_pref("geo.enabled", false);
user_pref("intl.locale.matchOS", true);
user_pref("keyword.enabled", false);
user_pref("media.eme.enabled", false);
user_pref("media.gmp-eme-adobe.enabled", false);
user_pref("media.gmp-gmpopenh264.enabled", false);
user_pref("media.gmp-gmpopenh264.provider.enabled", false);
user_pref("media.gmp-manager.url", "");
user_pref("media.peerconnection.enabled", false);
user_pref("network.cookie.prefsMigrated", true);
user_pref("network.dns.disableIPv6", true);
user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("network.protocol-handler.external.mailto", false);
user_pref("network.protocol-handler.external.news", false);
user_pref("network.protocol-handler.external.nntp", false);
user_pref("network.protocol-handler.external.snews", false);
user_pref("network.proxy.backup.ftp", "127.0.0.1");
user_pref("network.proxy.backup.ftp_port", 4444);
user_pref("network.proxy.backup.socks", "127.0.0.1");
user_pref("network.proxy.backup.socks_port", 4444);
user_pref("network.proxy.backup.ssl", "127.0.0.1");
user_pref("network.proxy.backup.ssl_port", 4444);
user_pref("network.proxy.ftp", "127.0.0.1");
user_pref("network.proxy.ftp_port", 4444);
user_pref("network.proxy.http", "127.0.0.1");
user_pref("network.proxy.http_port", 4444);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "127.0.0.1");
user_pref("network.proxy.socks_port", 4444);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.ssl", "127.0.0.1");
user_pref("network.proxy.ssl_port", 4444);
user_pref("network.proxy.type", 1);
user_pref("network.cookie.prefsMigrated", true);
user_pref("noscript.ABE.enabled", false);
user_pref("noscript.ABE.wanIpAsLocal", false);
user_pref("plugin.default_plugin_disabled", true);
user_pref("plugins.load_appdir_plugins", false);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("privacy.trackingprotection.enabled", true);
user_pref("reader.parse-on-load.enabled", false);
user_pref("reader.parse-on-load.force-enabled", false);
user_pref("security.ssl.errorReporting.automatic", false);
user_pref("security.ssl.errorReporting.enabled", false);
user_pref("services.sync.enabled", false);
user_pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
user_pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
user_pref("services.sync.prefs.sync.browser.search.update", false);
user_pref("services.sync.prefs.sync.extensions.update.enabled", false);
user_pref("startup.homepage_welcome_url", "about:blank");
user_pref("startup.homepage_welcome_url.additional", "about:blank");
user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.enabled", false);
user_pref("toolkit.telemetry.optoutSample", false);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.unifiedIsOptIn", true);
user_pref("webgl.disable-extensions", true);
user_pref("webgl.min_capability_mode", true);
pref("browser.tabs.closeWindowWithLastTab", false);
pref("browser.tabs.crashReporting.sendReport", false);
pref("browser.tabs.loadInBackground", true);
pref("browser.urlbar.formatting.enabled", false);
pref("browser.urlbar.maxRichResults", 12);
pref("browser.urlbar.trimURLs", false);
pref("browser.usedOnWindows10", false);
pref("browser.usedOnWindows10.introURL", "");
pref("canvas.capturestream.enabled", false);
pref("datareporting.healthreport.about.reportUrl", "");
pref("datareporting.healthreport.about.reportUrlUnified", "");
pref("datareporting.healthreport.documentServerURI", "");
pref("datareporting.healthreport.pendingDeleteRemoteData", true);
pref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled.v2", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false);
pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed");
pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0");
pref("datareporting.policy.firstRunTime", "0");
pref("datareporting.sessions.current.clean", true);
pref("dom.battery.enabled", false);
pref("dom.disable_open_during_load", true);
pref("dom.enable_performance", false);
pref("dom.event.clipboardevents.enabled", false);
pref("dom.network.enabled", false);
pref("extensions.autoDisableScopes", 0);
pref("extensions.blocklist.enabled", false);
pref("extensions.getAddons.cache.enabled", false);
pref("extensions.getAddons.showPane", false);
pref("extensions.lazarus.showDonateNotification", false);
pref("extensions.shownSelectionUI", true);
pref("extensions.ui.lastCategory", "addons://list/extension");
pref("extensions.update.autoUpdateDefault", false);
pref("extensions.update.enabled", false);
pref("full-screen-api.approval-required", false);
pref("full-screen-api.warning.timeout", 0);
pref("general.buildID.override", "0");
pref("general.warnOnAboutConfig", false);
pref("geo.enabled", false);
pref("intl.locale.matchOS", true);
pref("keyword.enabled", false);
pref("media.eme.enabled", false);
pref("media.gmp-eme-adobe.enabled", false);
pref("media.gmp-gmpopenh264.enabled", false);
pref("media.gmp-gmpopenh264.provider.enabled", false);
pref("media.gmp-manager.url", "");
pref("media.peerconnection.enabled", false);
pref("network.cookie.prefsMigrated", true);
pref("network.dns.disableIPv6", true);
pref("network.dns.disablePrefetch", true);
pref("network.dns.disablePrefetchFromHTTPS", true);
pref("network.protocol-handler.external.mailto", false);
pref("network.protocol-handler.external.news", false);
pref("network.protocol-handler.external.nntp", false);
pref("network.protocol-handler.external.snews", false);
pref("network.proxy.backup.ftp", "127.0.0.1");
pref("network.proxy.backup.ftp_port", 4444);
pref("network.proxy.backup.socks", "127.0.0.1");
pref("network.proxy.backup.socks_port", 4444);
pref("network.proxy.backup.ssl", "127.0.0.1");
pref("network.proxy.backup.ssl_port", 4444);
pref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1");
pref("network.proxy.http_port", 4444);
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "127.0.0.1");
pref("network.proxy.socks_port", 4444);
pref("network.proxy.socks_remote_dns", true);
pref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444);
pref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("plugin.default_plugin_disabled", true);
pref("plugins.load_appdir_plugins", false);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.trackingprotection.enabled", true);
pref("reader.parse-on-load.enabled", false);
pref("reader.parse-on-load.force-enabled", false);
pref("security.insecure_field_warning.contextual.enabled", false);
pref("security.ssl.errorReporting.automatic", false);
pref("security.ssl.errorReporting.enabled", false);
pref("services.sync.enabled", false);
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
pref("services.sync.prefs.sync.browser.search.update", false);
pref("services.sync.prefs.sync.extensions.update.enabled", false);
pref("startup.homepage_welcome_url", "about:blank");
pref("startup.homepage_welcome_url.additional", "about:blank");
pref("toolkit.telemetry.archive.enabled", false);
pref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.optoutSample", false);
pref("toolkit.telemetry.reportingpolicy.firstRun", false);
pref("toolkit.telemetry.server", "");
pref("toolkit.telemetry.unified", false);
pref("toolkit.telemetry.unifiedIsOptIn", true);
pref("webgl.disable-extensions", true);
pref("webgl.min_capability_mode", true);

2
windows/StartI2PdBrowser.bat

@ -28,6 +28,8 @@ set fire=firefox.exe @@ -28,6 +28,8 @@ set fire=firefox.exe
set port=FirefoxPortable.exe
set i2pd=i2pd.exe
if not exist Firefox ( cd build && call build.cmd )
taskList|find /i "%port%">nul&&(taskkill /im "%port%" /t>nul)&&(%$pause% 2 >nul)
REM taskList|find /i "%fire%">nul&&(taskkill /im "%fire%" >nul)
taskList|find /i "%i2pd%">nul&&(goto runfox)||(goto starti2p)

30
windows/build/build.cmd

@ -23,7 +23,7 @@ if "%locale%"=="Russian" ( @@ -23,7 +23,7 @@ if "%locale%"=="Russian" (
echo Downloading Firefox Portable ESR installer
)
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2045.8.0/FirefoxPortableESR_45.8.0_%locale%.paf.exe %$X%
"%CURL%" -L -f -# -O https://downloads.sourceforge.net/project/portableapps/Mozilla%%20Firefox%%2C%%20Portable%%20Ed./Mozilla%%20Firefox%%20ESR%%2C%%20Portable%%20Edition%%2052.1.0/FirefoxPortableESR_52.1.0_%locale%.paf.exe %$X%
if errorlevel 1 (
echo ERROR:%ErrorLevel%
pause
@ -37,14 +37,15 @@ if "%locale%"=="Russian" ( @@ -37,14 +37,15 @@ if "%locale%"=="Russian" (
echo Unpacking the installer and delete unnecessary files
)
7z x -y -o..\Firefox FirefoxPortableESR_45.8.0_%locale%.paf.exe > nul
del /Q FirefoxPortableESR_45.8.0_%locale%.paf.exe
7z x -y -o..\Firefox FirefoxPortableESR_52.1.0_%locale%.paf.exe > nul
del /Q FirefoxPortableESR_52.1.0_%locale%.paf.exe
rmdir /S /Q ..\Firefox\$PLUGINSDIR
rmdir /S /Q ..\Firefox\App\AppInfo
rmdir /S /Q ..\Firefox\App\Bin
rmdir /S /Q ..\Firefox\App\DefaultData\plugins
rmdir /S /Q ..\Firefox\App\DefaultData\settings
rmdir /S /Q ..\Firefox\Other
del /Q ..\Firefix\App\DefaultData\profile\*
del /Q ..\Firefox\App\readme.txt
del /Q ..\Firefox\help.html
rem if "xOS"=="x86" (
@ -73,13 +74,9 @@ if "%locale%"=="Russian" ( @@ -73,13 +74,9 @@ if "%locale%"=="Russian" (
rem if "xOS"=="x86" (
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\application.ini
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\application.ini
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\webapprt\webapprt.ini
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\webapprt\webapprt.ini
rem ) else (
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox64\application.ini
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox64\application.ini
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox64\webapprt\webapprt.ini
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox64\webapprt\webapprt.ini
rem )
if "%locale%"=="Russian" (
@ -103,21 +100,26 @@ if "%locale%"=="Russian" ( @@ -103,21 +100,26 @@ if "%locale%"=="Russian" (
copy /Y profile\* ..\Firefox\App\DefaultData\profile\ > nul
copy /Y settings\FirefoxPortable.ini ..\Firefox\ > nul
mkdir ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul
mkdir ..\Firefox\App\Firefox64\browser\defaults\preferences\ > nul
copy /Y preferences\* ..\Firefox\App\Firefox\browser\defaults\preferences\ > nul
copy /Y preferences\* ..\Firefox\App\Firefox64\browser\defaults\preferences\ > nul
if "%locale%"=="Russian" (
echo £à㧪  I2Pd
) else (
echo Downloading I2Pd
)
if "%xOS%"=="x86" (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.12.0/i2pd_2.12.0_win32_mingw.zip
if "xOS"=="x86" (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.13.0/i2pd_2.13.0_win32_mingw.zip
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
7z x -y -o..\i2pd i2pd_2.12.0_win32_mingw.zip > nul
del /Q i2pd_2.12.0_win32_mingw.zip
7z x -y -o..\i2pd i2pd_2.13.0_win32_mingw.zip > nul
del /Q i2pd_2.13.0_win32_mingw.zip
) else (
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.12.0/i2pd_2.12.0_win64_mingw.zip
"%CURL%" -L -f -# -O https://github.com/PurpleI2P/i2pd/releases/download/2.13.0/i2pd_2.13.0_win64_mingw.zip
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
7z x -y -o..\i2pd i2pd_2.12.0_win64_mingw.zip > nul
del /Q i2pd_2.12.0_win64_mingw.zip
7z x -y -o..\i2pd i2pd_2.13.0_win64_mingw.zip > nul
del /Q i2pd_2.13.0_win64_mingw.zip
)
xcopy /E /I /Y i2pd ..\i2pd > nul

177
windows/build/preferences/syspref.js

@ -0,0 +1,177 @@ @@ -0,0 +1,177 @@
# Mozilla User Preferences
/*
* Copyright (c) 2013-2017, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
* the changes will be overwritten when the browser exits.
*
* To make a manual change to preferences, you can visit the URL about:config
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/
pref("app.update.auto", false);
pref("app.update.channel", "no");
pref("app.update.enabled", false);
pref("app.update.interval", 0);
pref("app.update.service.enabled", false);
pref("app.update.staging.enabled", false);
pref("app.update.timer", 0);
pref("browser.cache.disk.capacity", 131072);
pref("browser.casting.enabled", false);
pref("browser.download.useDownloadDir", false);
pref("browser.feeds.showFirstRunUI", false);
pref("browser.fixup.alternate.enabled", false);
pref("browser.newtabpage.enhanced", false);
pref("browser.newtabpage.introShown", true);
pref("browser.places.smartBookmarksVersion", -1);
pref("browser.pocket.enabled", false);
pref("browser.pocket.useLocaleList", false);
pref("browser.reader.detectedFirstArticle", false);
pref("browser.rights.3.shown", true);
pref("browser.safebrowsing.appRepURL", "");
pref("browser.safebrowsing.downloads.enabled", false);
pref("browser.safebrowsing.downloads.remote.enabled", false);
pref("browser.safebrowsing.enabled", false);
pref("browser.safebrowsing.gethashURL", "");
pref("browser.safebrowsing.keyURL", "localhost");
pref("browser.safebrowsing.malware.enabled", false);
pref("browser.safebrowsing.malware.reportURL", "");
pref("browser.safebrowsing.provider.google.appRepURL", "");
pref("browser.safebrowsing.provider.google.gethashURL", "");
pref("browser.safebrowsing.provider.google.lists", "");
pref("browser.safebrowsing.provider.google.reportURL", "");
pref("browser.safebrowsing.provider.google.updateURL", "");
pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
pref("browser.safebrowsing.provider.mozilla.lists", "");
pref("browser.safebrowsing.provider.mozilla.updateURL", "");
pref("browser.safebrowsing.reportErrorURL", "");
pref("browser.safebrowsing.reportGenericURL", "");
pref("browser.safebrowsing.reportMalwareErrorURL", "");
pref("browser.safebrowsing.reportMalwareURL", "");
pref("browser.safebrowsing.reportPhishURL", "");
pref("browser.safebrowsing.reportURL", "");
pref("browser.safebrowsing.updateURL", "");
pref("browser.safebrowsing.warning.infoURL", "");
pref("browser.search.geoSpecificDefaults", true);
pref("browser.search.geoSpecificDefaults.url", "");
pref("browser.search.geoip.url", false);
pref("browser.search.redirectWindowsSearch", false);
pref("browser.search.searchEnginesURL", "");
pref("browser.search.suggest.enabled", false);
pref("browser.search.update", false);
pref("browser.selfsupport.url", "");
pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/");
pref("browser.tabs.closeWindowWithLastTab", false);
pref("browser.tabs.crashReporting.sendReport", false);
pref("browser.tabs.loadInBackground", true);
pref("browser.urlbar.formatting.enabled", false);
pref("browser.urlbar.maxRichResults", 12);
pref("browser.urlbar.trimURLs", false);
pref("browser.usedOnWindows10", false);
pref("browser.usedOnWindows10.introURL", "");
pref("canvas.capturestream.enabled", false);
pref("datareporting.healthreport.about.reportUrl", "");
pref("datareporting.healthreport.about.reportUrlUnified", "");
pref("datareporting.healthreport.documentServerURI", "");
pref("datareporting.healthreport.pendingDeleteRemoteData", true);
pref("datareporting.healthreport.service.enabled", false);
pref("datareporting.healthreport.service.firstRun", false);
pref("datareporting.healthreport.uploadEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled", false);
pref("datareporting.policy.dataSubmissionEnabled.v2", false);
pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false);
pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed");
pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0");
pref("datareporting.policy.firstRunTime", "0");
pref("datareporting.sessions.current.clean", true);
pref("dom.battery.enabled", false);
pref("dom.disable_open_during_load", true);
pref("dom.enable_performance", false);
pref("dom.event.clipboardevents.enabled", false);
pref("dom.network.enabled", false);
pref("extensions.autoDisableScopes", 0);
pref("extensions.blocklist.enabled", false);
pref("extensions.getAddons.cache.enabled", false);
pref("extensions.getAddons.showPane", false);
pref("extensions.lazarus.showDonateNotification", false);
pref("extensions.shownSelectionUI", true);
pref("extensions.ui.lastCategory", "addons://list/extension");
pref("extensions.update.autoUpdateDefault", false);
pref("extensions.update.enabled", false);
pref("full-screen-api.approval-required", false);
pref("full-screen-api.warning.timeout", 0);
pref("general.buildID.override", "0");
pref("general.warnOnAboutConfig", false);
pref("geo.enabled", false);
pref("intl.locale.matchOS", true);
pref("keyword.enabled", false);
pref("media.eme.enabled", false);
pref("media.gmp-eme-adobe.enabled", false);
pref("media.gmp-gmpopenh264.enabled", false);
pref("media.gmp-gmpopenh264.provider.enabled", false);
pref("media.gmp-manager.url", "");
pref("media.peerconnection.enabled", false);
pref("network.cookie.prefsMigrated", true);
pref("network.dns.disableIPv6", true);
pref("network.dns.disablePrefetch", true);
pref("network.dns.disablePrefetchFromHTTPS", true);
pref("network.protocol-handler.external.mailto", false);
pref("network.protocol-handler.external.news", false);
pref("network.protocol-handler.external.nntp", false);
pref("network.protocol-handler.external.snews", false);
pref("network.proxy.backup.ftp", "127.0.0.1");
pref("network.proxy.backup.ftp_port", 4444);
pref("network.proxy.backup.socks", "127.0.0.1");
pref("network.proxy.backup.socks_port", 4444);
pref("network.proxy.backup.ssl", "127.0.0.1");
pref("network.proxy.backup.ssl_port", 4444);
pref("network.proxy.ftp", "127.0.0.1");
pref("network.proxy.ftp_port", 4444);
pref("network.proxy.http", "127.0.0.1");
pref("network.proxy.http_port", 4444);
pref("network.proxy.share_proxy_settings", true);
pref("network.proxy.socks", "127.0.0.1");
pref("network.proxy.socks_port", 4444);
pref("network.proxy.socks_remote_dns", true);
pref("network.proxy.ssl", "127.0.0.1");
pref("network.proxy.ssl_port", 4444);
pref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("plugin.default_plugin_disabled", true);
pref("plugins.load_appdir_plugins", false);
pref("privacy.donottrackheader.enabled", true);
pref("privacy.trackingprotection.enabled", true);
pref("reader.parse-on-load.enabled", false);
pref("reader.parse-on-load.force-enabled", false);
pref("security.insecure_field_warning.contextual.enabled", false);
pref("security.ssl.errorReporting.automatic", false);
pref("security.ssl.errorReporting.enabled", false);
pref("services.sync.enabled", false);
pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
pref("services.sync.prefs.sync.browser.search.update", false);
pref("services.sync.prefs.sync.extensions.update.enabled", false);
pref("startup.homepage_welcome_url", "about:blank");
pref("startup.homepage_welcome_url.additional", "about:blank");
pref("toolkit.telemetry.archive.enabled", false);
pref("toolkit.telemetry.enabled", false);
pref("toolkit.telemetry.optoutSample", false);
pref("toolkit.telemetry.reportingpolicy.firstRun", false);
pref("toolkit.telemetry.server", "");
pref("toolkit.telemetry.unified", false);
pref("toolkit.telemetry.unifiedIsOptIn", true);
pref("webgl.disable-extensions", true);
pref("webgl.min_capability_mode", true);

165
windows/build/profile/prefs.js

@ -1,13 +1,5 @@ @@ -1,13 +1,5 @@
# Mozilla User Preferences
/*
* Copyright (c) 2013-2017, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
* See full license text in LICENSE file at top of project tree
*/
/* Do not edit this file.
*
* If you make changes to this file while the browser is running,
@ -17,159 +9,4 @@ @@ -17,159 +9,4 @@
* For more information, see http://www.mozilla.org/unix/customizing.html#prefs
*/
user_pref("app.update.auto", false);
user_pref("app.update.channel", "no");
user_pref("app.update.enabled", false);
user_pref("app.update.interval", 0);
user_pref("app.update.service.enabled", false);
user_pref("app.update.staging.enabled", false);
user_pref("app.update.timer", 0);
user_pref("browser.cache.disk.capacity", 131072);
user_pref("browser.casting.enabled", false);
user_pref("browser.download.useDownloadDir", false);
user_pref("browser.feeds.showFirstRunUI", false);
user_pref("browser.fixup.alternate.enabled", false);
user_pref("browser.newtabpage.enhanced", false);
user_pref("browser.newtabpage.introShown", true);
user_pref("browser.pocket.enabled", false);
user_pref("browser.pocket.useLocaleList", false);
user_pref("browser.reader.detectedFirstArticle", false);
user_pref("browser.rights.3.shown", true);
user_pref("browser.safebrowsing.appRepURL", "");
user_pref("browser.safebrowsing.downloads.enabled", false);
user_pref("browser.safebrowsing.downloads.remote.enabled", false);
user_pref("browser.safebrowsing.enabled", false);
user_pref("browser.safebrowsing.gethashURL", "");
user_pref("browser.safebrowsing.keyURL", "localhost");
user_pref("browser.safebrowsing.malware.enabled", false);
user_pref("browser.safebrowsing.malware.reportURL", "");
user_pref("browser.safebrowsing.provider.google.appRepURL", "");
user_pref("browser.safebrowsing.provider.google.gethashURL", "");
user_pref("browser.safebrowsing.provider.google.lists", "");
user_pref("browser.safebrowsing.provider.google.reportURL", "");
user_pref("browser.safebrowsing.provider.google.updateURL", "");
user_pref("browser.safebrowsing.provider.mozilla.gethashURL", "");
user_pref("browser.safebrowsing.provider.mozilla.lists", "");
user_pref("browser.safebrowsing.provider.mozilla.updateURL", "");
user_pref("browser.safebrowsing.reportErrorURL", "");
user_pref("browser.safebrowsing.reportGenericURL", "");
user_pref("browser.safebrowsing.reportMalwareErrorURL", "");
user_pref("browser.safebrowsing.reportMalwareURL", "");
user_pref("browser.safebrowsing.reportPhishURL", "");
user_pref("browser.safebrowsing.reportURL", "");
user_pref("browser.safebrowsing.updateURL", "");
user_pref("browser.safebrowsing.warning.infoURL", "");
user_pref("browser.search.geoSpecificDefaults", true);
user_pref("browser.search.geoSpecificDefaults.url", "");
user_pref("browser.search.geoip.url", false);
user_pref("browser.search.redirectWindowsSearch", false);
user_pref("browser.search.searchEnginesURL", "");
user_pref("browser.search.suggest.enabled", false);
user_pref("browser.search.update", false);
user_pref("browser.selfsupport.url", "");
user_pref("browser.shell.checkDefaultBrowser", false);
user_pref("browser.startup.homepage", "http://i2pd.i2p/");
user_pref("browser.tabs.closeWindowWithLastTab", false);
user_pref("browser.tabs.crashReporting.sendReport", false);
user_pref("browser.tabs.loadInBackground", true);
user_pref("browser.urlbar.formatting.enabled", false);
user_pref("browser.urlbar.maxRichResults", 12);
user_pref("browser.urlbar.trimURLs", false);
user_pref("browser.usedOnWindows10", false);
user_pref("browser.usedOnWindows10.introURL", "");
user_pref("canvas.capturestream.enabled", false);
user_pref("datareporting.healthreport.about.reportUrl", "");
user_pref("datareporting.healthreport.about.reportUrlUnified", "");
user_pref("datareporting.healthreport.documentServerURI", "");
user_pref("datareporting.healthreport.pendingDeleteRemoteData", true);
user_pref("datareporting.healthreport.service.enabled", false);
user_pref("datareporting.healthreport.service.firstRun", false);
user_pref("datareporting.healthreport.uploadEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled", false);
user_pref("datareporting.policy.dataSubmissionEnabled.v2", false);
user_pref("datareporting.policy.dataSubmissionPolicyAccepted", false);
user_pref("datareporting.policy.dataSubmissionPolicyBypassAcceptance", false);
user_pref("datareporting.policy.dataSubmissionPolicyNotifiedTime", "0");
user_pref("datareporting.policy.dataSubmissionPolicyResponseType", "accepted-info-bar-dismissed");
user_pref("datareporting.policy.dataSubmissionPolicyResponseTime", "0");
user_pref("datareporting.policy.firstRunTime", "0");
user_pref("datareporting.sessions.current.clean", true);
user_pref("dom.battery.enabled", false);
user_pref("dom.disable_open_during_load", true);
user_pref("dom.enable_performance", false);
user_pref("dom.event.clipboardevents.enabled", false);
user_pref("dom.network.enabled", false);
user_pref("extensions.autoDisableScopes", 0);
user_pref("extensions.blocklist.enabled", false);
user_pref("extensions.getAddons.cache.enabled", false);
user_pref("extensions.getAddons.showPane", false);
user_pref("extensions.lazarus.showDonateNotification", false);
user_pref("extensions.shownSelectionUI", true);
user_pref("extensions.ui.lastCategory", "addons://list/extension");
user_pref("extensions.update.autoUpdateDefault", false);
user_pref("extensions.update.enabled", false);
user_pref("full-screen-api.approval-required", false);
user_pref("full-screen-api.warning.timeout", 0);
user_pref("general.buildID.override", "0");
user_pref("general.warnOnAboutConfig", false);
user_pref("geo.enabled", false);
user_pref("intl.locale.matchOS", true);
user_pref("keyword.enabled", false);
user_pref("media.eme.enabled", false);
user_pref("media.gmp-eme-adobe.enabled", false);
user_pref("media.gmp-gmpopenh264.enabled", false);
user_pref("media.gmp-gmpopenh264.provider.enabled", false);
user_pref("media.gmp-manager.url", "");
user_pref("media.peerconnection.enabled", false);
user_pref("network.cookie.prefsMigrated", true);
user_pref("network.dns.disableIPv6", true);
user_pref("network.dns.disablePrefetch", true);
user_pref("network.dns.disablePrefetchFromHTTPS", true);
user_pref("network.protocol-handler.external.mailto", false);
user_pref("network.protocol-handler.external.news", false);
user_pref("network.protocol-handler.external.nntp", false);
user_pref("network.protocol-handler.external.snews", false);
user_pref("network.proxy.backup.ftp", "127.0.0.1");
user_pref("network.proxy.backup.ftp_port", 4444);
user_pref("network.proxy.backup.socks", "127.0.0.1");
user_pref("network.proxy.backup.socks_port", 4444);
user_pref("network.proxy.backup.ssl", "127.0.0.1");
user_pref("network.proxy.backup.ssl_port", 4444);
user_pref("network.proxy.ftp", "127.0.0.1");
user_pref("network.proxy.ftp_port", 4444);
user_pref("network.proxy.http", "127.0.0.1");
user_pref("network.proxy.http_port", 4444);
user_pref("network.proxy.share_proxy_settings", true);
user_pref("network.proxy.socks", "127.0.0.1");
user_pref("network.proxy.socks_port", 4444);
user_pref("network.proxy.socks_remote_dns", true);
user_pref("network.proxy.ssl", "127.0.0.1");
user_pref("network.proxy.ssl_port", 4444);
user_pref("network.proxy.type", 1);
user_pref("network.cookie.prefsMigrated", true);
user_pref("noscript.ABE.enabled", false);
user_pref("noscript.ABE.wanIpAsLocal", false);
user_pref("plugin.default_plugin_disabled", true);
user_pref("plugins.load_appdir_plugins", false);
user_pref("privacy.donottrackheader.enabled", true);
user_pref("privacy.trackingprotection.enabled", true);
user_pref("reader.parse-on-load.enabled", false);
user_pref("reader.parse-on-load.force-enabled", false);
user_pref("security.ssl.errorReporting.automatic", false);
user_pref("security.ssl.errorReporting.enabled", false);
user_pref("services.sync.enabled", false);
user_pref("services.sync.prefs.sync.browser.download.manager.scanWhenDone", false);
user_pref("services.sync.prefs.sync.browser.safebrowsing.enabled", false);
user_pref("services.sync.prefs.sync.browser.search.update", false);
user_pref("services.sync.prefs.sync.extensions.update.enabled", false);
user_pref("startup.homepage_welcome_url", "about:blank");
user_pref("startup.homepage_welcome_url.additional", "about:blank");
user_pref("toolkit.telemetry.archive.enabled", false);
user_pref("toolkit.telemetry.enabled", false);
user_pref("toolkit.telemetry.optoutSample", false);
user_pref("toolkit.telemetry.reportingpolicy.firstRun", false);
user_pref("toolkit.telemetry.server", "");
user_pref("toolkit.telemetry.unified", false);
user_pref("toolkit.telemetry.unifiedIsOptIn", true);
user_pref("webgl.disable-extensions", true);
user_pref("webgl.min_capability_mode", true);
user_pref("browser.startup.homepage", "http://i2pd.i2p/");

BIN
windows_prebuilt/StartI2PdBrowser.exe

Binary file not shown.

BIN
windows_prebuilt/build/7zsd_LZMA2_i2pdbrowser_1.2.1.sfx → windows_prebuilt/build/7zsd_LZMA2_i2pdbrowser_1.2.2.sfx

Binary file not shown.

2
windows_prebuilt/build/build_7z.bat

@ -6,7 +6,7 @@ REM See full license text in LICENSE file at top of project tree @@ -6,7 +6,7 @@ REM See full license text in LICENSE file at top of project tree
echo ‘®§¤ ¥¬ 7z  à娢 á ­ ¡®à®¬...
REM <EFBFBD>  ¢ë室¥ ¯®«ãç ¥¬ 7z  à娢, ¢ ª®â®à®¬ ¡ã¤ãâ «¥¦ âì ¯ ¯ª¨ Firefox, I2Pd ¨ StartI2PdBrowser.bat ¨§ ¯ ¯ª¨ src ã஢­¥¬ ¢ëè¥.
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable_1.2.1.7z ..\Firefox ..\I2Pd ..\src\StartI2PdBrowser.bat
7z a -t7z -m0=lzma2 -mx=9 -aoa -mfb=273 -md=512m -ms=on I2PdBrowserPortable_1.2.2.7z ..\Firefox ..\I2Pd ..\src\StartI2PdBrowser.bat
echo ƒ®â®¢®!
pause

2
windows_prebuilt/build/build_exe.bat

@ -10,7 +10,7 @@ REM @@ -10,7 +10,7 @@ REM
echo ‘®§¤ ¥¬ 7z SFX - á ¬®à á¯ ª®¢ë¢ î騩áï  à娢...
REM <EFBFBD>  ¢ë室¥ ¯®«ãç ¥¬ á ¬®à á¯ ª®¢ë¢ î騩áï  à娢,  à娢 ¯®á«¥ í⮣® 㤠«ï¥¬.
copy /b 7zsd_LZMA2_i2pdbrowser_1.2.1.sfx + config.txt + I2PdBrowserPortable.7z I2PdBrowserPortable_1.2.1.exe >> nul
copy /b 7zsd_LZMA2_i2pdbrowser_1.2.2.sfx + config.txt + I2PdBrowserPortable.7z I2PdBrowserPortable_1.2.2.exe >> nul
del I2PdBrowserPortable.7z >> nul
echo ƒ®â®¢®!

2
windows_prebuilt/src/StartI2PdBrowser.bat

@ -9,7 +9,7 @@ REM BFCPEEMBEDDELETE=1 @@ -9,7 +9,7 @@ REM BFCPEEMBEDDELETE=1
REM BFCPEADMINEXE=0
REM BFCPEINVISEXE=0
REM BFCPEVERINCLUDE=1
REM BFCPEVERVERSION=1.2.1.0
REM BFCPEVERVERSION=1.2.2.0
REM BFCPEVERPRODUCT=I2Pd Browser Portable
REM BFCPEVERDESC=I2Pd Browser
REM BFCPEVERCOMPANY=PurpleI2P

Loading…
Cancel
Save