Restrict min version for FireFox. r/ /%20/g in an url. Add link to the generator to README

This commit is contained in:
ilyaigpetrov 2021-11-08 16:19:44 +00:00
parent 8f00516d44
commit aac0182738
4 changed files with 9 additions and 1 deletions

View File

@ -35,6 +35,8 @@ cd ./build/extension-full
zip -r runet-censorship-bypass-full.zip ./*
```
https://antizapret.prostovpn.org/proxy.pac is generated by https://bitbucket.org/anticensority/antizapret-pac-generator-light/, reviewers may find justifications related to this PAC-script in that repo.
# Release Instructions
1. `npm run release`

View File

@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "runet-censorship-bypass",
"version": "0.0.19",
"license": "GPLv3",
"dependencies": {

View File

@ -22,6 +22,11 @@
${extra_permissions}
],
"minimum_chrome_version": "55.0.0.0",
"browser_specific_settings": {
"gecko": {
"strict_min_version": "91.1.0"
}
},
"background": {
${persistent}

View File

@ -68,7 +68,7 @@
)
);
const popupPrefix = chrome.runtime.getURL(`/pages/options/index.html?status=<span style="color: red">🔥 Прокси-сервер отказался обслуживать запрос к `);
const popupPrefix = chrome.runtime.getURL(`/pages/options/index.html?status=<span style="color: red">🔥 Прокси-сервер отказался обслуживать запрос к%20`);
if (decodeURIComponent(oldPopup).startsWith(popupPrefix)) {
return true;
}