mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-27 20:03:45 +03:00
Merge branch 'development' into production
This commit is contained in:
commit
8dbb777a18
|
@ -21,6 +21,7 @@
|
||||||
, "notifications"
|
, "notifications"
|
||||||
${extra_permissions}
|
${extra_permissions}
|
||||||
],
|
],
|
||||||
|
"minimum_chrome_version": "55.0.0.0",
|
||||||
|
|
||||||
"background": {
|
"background": {
|
||||||
${persistent}
|
${persistent}
|
||||||
|
|
|
@ -505,6 +505,7 @@ PROXY foobar.com:8080; # Not HTTP!`.trim()}
|
||||||
|
|
||||||
return proxyStringRaw
|
return proxyStringRaw
|
||||||
.replace(/#.*$/mg, '') // Strip comments.
|
.replace(/#.*$/mg, '') // Strip comments.
|
||||||
|
.replace(/\s*DIRECT\s*/g, '') // Remove DIRECT from old versions.
|
||||||
.split( /(?:[^\S\r\n]*(?:;|\r?\n)+[^\S\r\n]*)+/g )
|
.split( /(?:[^\S\r\n]*(?:;|\r?\n)+[^\S\r\n]*)+/g )
|
||||||
.map( (p) => p.trim() )
|
.map( (p) => p.trim() )
|
||||||
.filter((p) => p)
|
.filter((p) => p)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const commonContext = {
|
const commonContext = {
|
||||||
version: '1.0',
|
version: '1.1',
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.contexts = {};
|
exports.contexts = {};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user