mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix New York Magazine sites (timing cookies)
This commit is contained in:
parent
51836c23ce
commit
de3d3a48f0
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
@ -717,5 +717,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://webcache.googleusercontent.com/*"
|
||||||
],
|
],
|
||||||
"version": "2.9.8.7"
|
"version": "2.9.8.8"
|
||||||
}
|
}
|
||||||
|
3
sites.js
3
sites.js
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user