mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 05:57:48 +01:00
Release v1.9.1.1
Hotfix remove cookies (www)
This commit is contained in:
parent
71e6f45ef3
commit
36cc0519fe
4 changed files with 9 additions and 5 deletions
|
@ -491,7 +491,7 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(
|
||||||
},
|
},
|
||||||
["blocking", "requestHeaders"]);
|
["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 = [];
|
||||||
var block_js_custom_ext = [];
|
var block_js_custom_ext = [];
|
||||||
var block_js = block_js_default.concat(block_js_custom);
|
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))) {
|
if ((rc_domain in remove_cookies_select_drop) && !(remove_cookies_select_drop[rc_domain].includes(cookie.name))) {
|
||||||
continue; // only remove specific cookie
|
continue; // only remove specific cookie
|
||||||
}
|
}
|
||||||
|
cookie.domain = cookie.domain.replace(/^\./, '');
|
||||||
ext_api.cookies.remove({
|
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
|
name: cookie.name
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,9 @@ Changelog Bypass Paywalls Clean - Firefox
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
|
||||||
|
* v1.9.1.1 (2020-10-19)
|
||||||
|
Hotfix remove cookies (www)
|
||||||
|
|
||||||
* v1.9.1.0 (2020-10-18)
|
* v1.9.1.0 (2020-10-18)
|
||||||
Add NYmag-sites Grub Street, The Cut & Vulture
|
Add NYmag-sites Grub Street, The Cut & Vulture
|
||||||
Add Quotidiano.net (Italy)
|
Add Quotidiano.net (Italy)
|
||||||
|
|
|
@ -329,5 +329,5 @@
|
||||||
"webRequest",
|
"webRequest",
|
||||||
"webRequestBlocking"
|
"webRequestBlocking"
|
||||||
],
|
],
|
||||||
"version": "1.9.1.0"
|
"version": "1.9.1.1"
|
||||||
}
|
}
|
|
@ -2,8 +2,8 @@
|
||||||
"addons": {
|
"addons": {
|
||||||
"magnolia@12.34": {
|
"magnolia@12.34": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{ "version": "1.9.1.0",
|
{ "version": "1.9.1.1",
|
||||||
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.1.0.xpi" }
|
"update_link": "https://bitbucket.org/magnolia1234/bypass-paywalls-firefox-clean/downloads/bypass_paywalls_clean-1.9.1.1.xpi" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue