mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 11:53:44 +03:00
Restrict min version for FireFox. r/ /%20/g in an url. Add link to the generator to README
This commit is contained in:
parent
8f00516d44
commit
aac0182738
|
@ -35,6 +35,8 @@ cd ./build/extension-full
|
||||||
zip -r runet-censorship-bypass-full.zip ./*
|
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
|
# Release Instructions
|
||||||
|
|
||||||
1. `npm run release`
|
1. `npm run release`
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"name": "runet-censorship-bypass",
|
||||||
"version": "0.0.19",
|
"version": "0.0.19",
|
||||||
"license": "GPLv3",
|
"license": "GPLv3",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
${extra_permissions}
|
${extra_permissions}
|
||||||
],
|
],
|
||||||
"minimum_chrome_version": "55.0.0.0",
|
"minimum_chrome_version": "55.0.0.0",
|
||||||
|
"browser_specific_settings": {
|
||||||
|
"gecko": {
|
||||||
|
"strict_min_version": "91.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
"background": {
|
"background": {
|
||||||
${persistent}
|
${persistent}
|
||||||
|
|
|
@ -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)) {
|
if (decodeURIComponent(oldPopup).startsWith(popupPrefix)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user