mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 07:47:49 +01:00
Release v2.9.4.0
This commit is contained in:
parent
f74ab55d18
commit
bdf37272b4
4 changed files with 13 additions and 11 deletions
|
@ -377,10 +377,10 @@ ext_api.storage.local.get({
|
||||||
excludedSites = items.sites_excluded;
|
excludedSites = items.sites_excluded;
|
||||||
|
|
||||||
enabledSites = Object.values(sites).filter(function (val) {
|
enabledSites = Object.values(sites).filter(function (val) {
|
||||||
return (val !== '' && val !== '###');
|
return (val && val !== '###' && (defaultSites_domains.concat(customSites_domains, updatedSites_domains_new).includes(val)));
|
||||||
}).map(function (val) {
|
}).map(function (val) {
|
||||||
return val.toLowerCase();
|
return val.toLowerCase();
|
||||||
});
|
});
|
||||||
|
|
||||||
// Enable new sites by default (opt-in)
|
// Enable new sites by default (opt-in)
|
||||||
updatedSites_new = Object.keys(updatedSites).filter(x => updatedSites[x].domain && !defaultSites_domains.includes(updatedSites[x].domain));
|
updatedSites_new = Object.keys(updatedSites).filter(x => updatedSites[x].domain && !defaultSites_domains.includes(updatedSites[x].domain));
|
||||||
|
@ -435,10 +435,10 @@ ext_api.storage.onChanged.addListener(function (changes, namespace) {
|
||||||
var sites = storageChange.newValue;
|
var sites = storageChange.newValue;
|
||||||
optionSites = sites;
|
optionSites = sites;
|
||||||
enabledSites = Object.values(sites).filter(function (val) {
|
enabledSites = Object.values(sites).filter(function (val) {
|
||||||
return (val !== '' && val !== '###');
|
return (val && val !== '###' && (defaultSites_domains.concat(customSites_domains, updatedSites_domains_new).includes(val)));
|
||||||
}).map(function (val) {
|
}).map(function (val) {
|
||||||
return val.toLowerCase();
|
return val.toLowerCase();
|
||||||
});
|
});
|
||||||
disabledSites = defaultSites_grouped_domains.concat(customSites_domains).filter(x => !enabledSites.includes(x));
|
disabledSites = defaultSites_grouped_domains.concat(customSites_domains).filter(x => !enabledSites.includes(x));
|
||||||
add_grouped_enabled_domains(grouped_sites);
|
add_grouped_enabled_domains(grouped_sites);
|
||||||
set_rules(sites, updatedSites, customSites);
|
set_rules(sites, updatedSites, customSites);
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
Changelog Bypass Paywalls Clean - Firefox
|
Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
|
||||||
|
* v2.9.4.0 (2022-11-20)
|
||||||
Add CNBC (Pro text)
|
Add CNBC (Pro text)
|
||||||
Add Etc.se
|
Add Etc.se
|
||||||
Add Project Syndicate (link to archive.is)
|
Add Project Syndicate (link to archive.is)
|
||||||
|
|
|
@ -730,5 +730,5 @@
|
||||||
"*://gcm.omerlocdn.com/*",
|
"*://gcm.omerlocdn.com/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.9.3.6"
|
"version": "2.9.4.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
"addons": {
|
"addons": {
|
||||||
"magnolia@12.34": {
|
"magnolia@12.34": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{ "version": "2.9.3.0",
|
{ "version": "2.9.4.0",
|
||||||
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.9.3.0.xpi" }
|
"update_link": "https://gitlab.com/magnolia1234/bpc-uploads/-/raw/master/bypass_paywalls_clean-2.9.4.0.xpi" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue