mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-13 19:11:59 +00:00
Fix NYTimes
This commit is contained in:
parent
901db58548
commit
9e236d98b1
@ -7,6 +7,7 @@ Add El Observador, El Pais & La Diaria (Uruguay)
|
||||
Add Jacobin.de
|
||||
Add Substack (link to Google Search Tool; opt-in to custom sites for custom domains)
|
||||
Fix Berlingske.dk
|
||||
Fix NYTimes
|
||||
Remove Zeit.de (fix obsolete)
|
||||
Update block general paywall script (Ippen.space)
|
||||
Update popup (12ft.io)
|
||||
|
@ -3847,7 +3847,7 @@ else if (matchDomain('nybooks.com')) {
|
||||
}
|
||||
|
||||
else if (matchDomain('nytimes.com')) {
|
||||
let banners = document.querySelectorAll('div[data-testid="inline-message"], div[id^="ad-"], div.expanded-dock');
|
||||
let banners = document.querySelectorAll('div[data-testid="inline-message"], div[id^="ad-"], div.expanded-dock, div[id$="-wrapper"]');
|
||||
removeDOMElement(...banners);
|
||||
}
|
||||
|
||||
|
@ -51,5 +51,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.1.3.4"
|
||||
"version": "3.1.3.5"
|
||||
}
|
||||
|
@ -753,5 +753,5 @@
|
||||
"*://html.onlineviewer.net/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.1.3.4"
|
||||
"version": "3.1.3.5"
|
||||
}
|
||||
|
2
sites.js
2
sites.js
@ -2053,7 +2053,7 @@ var defaultSites = {
|
||||
"The New York Times": {
|
||||
domain: "nytimes.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(meter-svc\.nytimes\.com\/meter\.js|mwcm\.nyt\.com\/.+\.js|cooking\.nytimes\.com\/api\/.+\/access)/
|
||||
block_regex: /(\.nytimes\.com\/(meter\.js|graphql\/v\d)|mwcm\.nyt\.com\/.+\.js|cooking\.nytimes\.com\/api\/.+\/access)/
|
||||
},
|
||||
"The Philadelphia Inquirer": {
|
||||
domain: "inquirer.com",
|
||||
|
@ -102,6 +102,11 @@
|
||||
"block_regex": "\\/blink\\.net\\/.+\\/blink-sdk\\.js",
|
||||
"cs_code": "[{\"cond\":\"div.article-scheduled-modal\",\"rm_elem\":1}]"
|
||||
},
|
||||
"The New York Times": {
|
||||
"domain": "nytimes.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.nytimes\\.com\\/(meter\\.js|graphql\\/v\\d)|mwcm\\.nyt\\.com\\/.+\\.js|cooking\\.nytimes\\.com\\/api\\/.+\\/access)"
|
||||
},
|
||||
"The Spectator World - new domain": {
|
||||
"domain": "thespectator.com",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
Reference in New Issue
Block a user