diff --git a/background.js b/background.js index 9b114ce..d35be6c 100644 --- a/background.js +++ b/background.js @@ -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 }); } diff --git a/changelog.txt b/changelog.txt index ea27c16..af1a902 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/manifest.json b/manifest.json index 21fd50a..9e5f13e 100644 --- a/manifest.json +++ b/manifest.json @@ -329,5 +329,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.9.1.0" + "version": "1.9.1.1" } \ No newline at end of file diff --git a/updates.json b/updates.json index 807a429..6d37f5b 100644 --- a/updates.json +++ b/updates.json @@ -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" } ] } }