Release v1.9.1.1

Hotfix remove cookies (www)
This commit is contained in:
magnolia1234 2020-10-19 09:32:50 +02:00
parent 71e6f45ef3
commit 36cc0519fe
4 changed files with 9 additions and 5 deletions

View file

@ -491,7 +491,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(
},
["blocking", "requestHeaders"]);
var block_js_default = ["*://cdn.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn\.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.onecount.net/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"];
var block_js_default = ["*://cdn.tinypass.com/*", "*://*.piano.io/*", "*://*.poool.fr/*", "*://cdn.ampproject.org/v*/amp-access-*.js", "*://*.blueconic.net/*", "*://*.cxense.com/*", "*://*.evolok.net/*", "*://js.matheranalytics.com/*", "*://*.onecount.net/*", "*://*.qiota.com/*", "*://*.tribdss.com/*"];
var block_js_custom = [];
var block_js_custom_ext = [];
var block_js = block_js_default.concat(block_js_custom);
@ -773,8 +773,9 @@ ext_api.webRequest.onCompleted.addListener(function (details) {
if ((rc_domain in remove_cookies_select_drop) && !(remove_cookies_select_drop[rc_domain].includes(cookie.name))) {
continue; // only remove specific cookie
}
cookie.domain = cookie.domain.replace(/^\./, '');
ext_api.cookies.remove({
url: (cookie.secure ? "https://" : "http://") + rc_domain + cookie.path,
url: (cookie.secure ? "https://" : "http://") + cookie.domain + cookie.path,
name: cookie.name
});
}

View file

@ -3,6 +3,9 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
* v1.9.1.1 (2020-10-19)
Hotfix remove cookies (www)
* v1.9.1.0 (2020-10-18)
Add NYmag-sites Grub Street, The Cut & Vulture
Add Quotidiano.net (Italy)

View file

@ -329,5 +329,5 @@
"webRequest",
"webRequestBlocking"
],
"version": "1.9.1.0"
"version": "1.9.1.1"
}

View file

@ -2,8 +2,8 @@
"addons": {
"magnolia@12.34": {
"updates": [
{ "version": "1.9.1.0",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.1.0.xpi" }
{ "version": "1.9.1.1",
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.1.1.xpi" }
]
}
}