mirror of
https://github.com/anticensority/runet-censorship-bypass.git
synced 2024-11-24 02:13:43 +03:00
Take onlyOwnSites into account when updating
This commit is contained in:
parent
5a4d52b0ad
commit
e4dbdd3736
|
@ -540,9 +540,11 @@
|
|||
// UPDATE & MIGRATION
|
||||
console.log('Updating from ', oldStorage.version, 'to', antiCensorRu.version);
|
||||
const key = antiCensorRu._currentPacProviderKey;
|
||||
if (key !== null) {
|
||||
if (oldStorage.version === ' 0.0.1.2') {
|
||||
if (key !== null && key !== 'onlyOwnSites') {
|
||||
antiCensorRu._currentPacProviderKey = 'Антицензорити';
|
||||
}
|
||||
}
|
||||
|
||||
antiCensorRu.pushToStorageAsync(() => {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user