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) => { ext_api.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
let tab_status = changeInfo.status; 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)) { if (matchUrlDomain(enabledSites, tab.url)) {
runOnTab(tab); runOnTab(tab);
} }

View File

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

View File

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

View File

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