Merge branch 'development' into production

This commit is contained in:
Ilya Ig. Petrov 2018-05-05 11:18:31 +05:00
commit 5ed0ced254
5 changed files with 14 additions and 5 deletions

View File

@ -1 +1 @@
grep -r $@ ./src --exclude-dir=vendor --exclude-dir=node_modules --exclude-dir=dist
grep -r "$@" ./src --exclude-dir=vendor --exclude-dir=node_modules --exclude-dir=dist

View File

@ -284,7 +284,7 @@
chrome.proxy.settings.onChange.addListener( timeouted( (details) => {
console.log('Proxy settings changed.', details);
console.log('Proxy settings changed:', details.levelOfControl);
const noCon = 'no-control';
const ifWasControllable = handlers.ifControllable;
if ( !handlers.isControllable(details) && ifWasControllable ) {

View File

@ -49,7 +49,13 @@ chrome.runtime.getBackgroundPage( (bgWindow) =>
);
// READY TO RENDER
document.documentElement.style.display = 'initial';
const show = () => { document.documentElement.style.display = 'initial'; };
if (theState.flags.ifInsideOptionsPage) {
show();
} else {
setTimeout(show, 200); // Mac bug: https://bugs.chromium.org/p/chromium/issues/detail?id=428044
}
}
)

View File

@ -75,8 +75,11 @@
Encoded to counter abuse. */
host: '\x70\x72\x6f\x78\x79\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67',
};
const proxyForRanges =
'\x63\x63\x61\x68\x69\x68\x61\x2e\x61\x6e\x74\x69\x7a\x61\x70\x72\x65\x74\x2e\x70\x72\x6f\x73\x74\x6f\x76\x70\x6e\x2e\x6f\x72\x67';
privates._strToHostObj = {
[_antizapret.host]: _antizapret,
[proxyForRanges]: { host: proxyForRanges },
};
privates._ipToHostObj = {};

View File

@ -12,7 +12,7 @@ const pacUrls = [
];
const commonContext = {
version: '1.21',
version: '1.23',
anticensorityPacUrls: [
...pacUrls,
],
@ -57,7 +57,7 @@ exports.contexts.firefox = Object.assign({}, commonContext, {
exports.contexts.beta = Object.assign({}, commonContext, {
anticensorityPacUrls: [
// 'https://rebrand.ly/ac-beta-pac',
'https://rebrand.ly/ac-beta-pac',
...pacUrls,
],
version: '1.14',