update noscript, fix build scripts

Former-commit-id: bf078e96a88d009698354a58e52599c1f101b9cd
This commit is contained in:
R4SAS 2018-01-23 11:50:18 +03:00
parent 6423760c3c
commit 22e7f39ef9
9 changed files with 32 additions and 17 deletions

View file

@ -13,5 +13,6 @@ Links to software used for building i2pdbrowser
* Curl: https://winampplugins.co.uk/curl/
* CA Root Certificates: https://raw.githubusercontent.com/bagder/ca-bundle/master/ca-bundle.crt
* sed: http://unxutils.sourceforge.net/
* Firefox Portable launcher: https://portableapps.com/apps/internet/firefox-portable-esr
SHA512SUMS created with `find * -type f -print0 | xargs -0 -i sha512sum {}` command

View file

@ -59,16 +59,24 @@ if "%locale%"=="ru" (
sed -i "s/Enabled=1/Enabled=0/g" ..\Firefox\App\Firefox\application.ini
sed -i "s/ServerURL=.*/ServerURL=-/" ..\Firefox\App\Firefox\application.ini
if "%locale%"=="ru" (
echo ‡ £à㧪  ï§ëª®¢ëå ¯ ª¥â®¢
) else (
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
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
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
echo.
if "%locale%"=="ru" (
echo <20><><EFBFBD><EFBFBD><E7A491><><E3818E><EFBFBD> NoScript
) else (
echo Downloading NoScript extension
)
"%CURL%" -L -f -# -O https://secure.informaction.com/download/releases/noscript-5.1.8.2.xpi
"%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
if errorlevel 1 ( echo ERROR:%ErrorLevel% && pause && exit ) else (echo OK!)
copy /Y noscript-5.1.8.2.xpi ..\Firefox\App\Firefox\browser\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi > nul
del /Q noscript-5.1.8.2.xpi
echo.
if "%locale%"=="ru" (
@ -124,7 +132,7 @@ goto :eof
:GET_ARCH
set xOS=win32
if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set xOS=win64
REM if defined PROCESSOR_ARCHITEW6432 (set xOS=x64) else if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set xOS=win64
goto :eof
:eof

View file

@ -250,8 +250,8 @@ pref("network.proxy.type", 1);
pref("network.cookie.prefsMigrated", true);
pref("noscript.ABE.enabled", false);
pref("noscript.ABE.wanIpAsLocal", false);
pref("noscript.firstRunRedirection.pending", "5.1.8.2");
pref("noscript.version", "5.1.8.2");
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.enableWebGL", false);