Fix New York Magazine sites (timing cookies)

merge-requests/10/head
magnolia1234 1 year ago
parent 51836c23ce
commit de3d3a48f0

@ -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);
}

@ -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)

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

@ -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",

Loading…
Cancel
Save