Fix Nikkei Asian Review (cookies)

merge-requests/2/head
magnolia1234 3 years ago
parent 97e1e3c120
commit 05225f658e

@ -1440,8 +1440,9 @@ function remove_cookies_fn(domainVar, exclusions = false) {
// remove cookies after page load
ext_api.webRequest.onCompleted.addListener(function (details) {
let domainVar = matchUrlDomain(remove_cookies, details.url);
if (domainVar && ['main_frame', 'sub_frame', 'xmlhttprequest', 'other'].includes(details.type) && enabledSites.includes(domainVar))
if (domainVar && !['font', 'stylesheet'].includes(details.type) && enabledSites.includes(domainVar)) {
remove_cookies_fn(domainVar, true);
}
}, {
urls: ["<all_urls>"]
});

@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Southern Weekly (China)
Fix Bloomberg
Fix Nikkei Asian Review (cookies)
Fix The Daily Telegraph (au)
* v2.2.9.0 (2021-07-11)

@ -535,5 +535,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.2.9.3"
"version": "2.2.9.4"
}
Loading…
Cancel
Save