Fix New York Magazine sites (timing cookies)

This commit is contained in:
magnolia1234 2022-12-26 21:10:18 +01:00
parent 51836c23ce
commit de3d3a48f0
4 changed files with 4 additions and 4 deletions

View file

@ -838,7 +838,7 @@ if (typeof browser !== 'object') {
ext_api.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
let tab_status = changeInfo.status;
if (/^http/.test(tab.url) && ((tab_status && tab_status === 'complete') || (!tab_status && changeInfo.url))) {
if (/^http/.test(tab.url) && ((tab_status && tab_status === 'complete') || (changeInfo.url))) {
if (matchUrlDomain(enabledSites, tab.url)) {
runOnTab(tab);
}

View file

@ -8,6 +8,7 @@ Add TheVillage.ru
Add Wiwo.de
Add Wonderzine (ru)
Remove Dvhn.nl & Mediahuis Belgie (fix obsolete)
Fix New York Magazine sites (timing cookies)
Update block general paywall script (Axate.io)
Update custom sites (block_js_inline)
Update custom sites (cs_code: remove/unhide in dom)

View file

@ -717,5 +717,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.8.7"
"version": "2.9.8.8"
}

View file

@ -1349,8 +1349,7 @@ var defaultSites = {
"thecut.com",
"vulture.com"
],
remove_cookies_select_drop: ["nymcid", "first-nymcid"],
block_regex: /fosse\.nymag\.com\/fosse\/.+\/scripts\/.+\.js/
remove_cookies_select_drop: ["nymcid", "first-nymcid"]
},
"New Zealand Herald": {
domain: "nzherald.co.nz",