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 Jacobin.de
|
||||||
Add Substack (link to Google Search Tool; opt-in to custom sites for custom domains)
|
Add Substack (link to Google Search Tool; opt-in to custom sites for custom domains)
|
||||||
Fix Berlingske.dk
|
Fix Berlingske.dk
|
||||||
|
Fix NYTimes
|
||||||
Remove Zeit.de (fix obsolete)
|
Remove Zeit.de (fix obsolete)
|
||||||
Update block general paywall script (Ippen.space)
|
Update block general paywall script (Ippen.space)
|
||||||
Update popup (12ft.io)
|
Update popup (12ft.io)
|
||||||
|
@ -3847,7 +3847,7 @@ else if (matchDomain('nybooks.com')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
else if (matchDomain('nytimes.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);
|
removeDOMElement(...banners);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,5 +51,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"*://*/*"
|
"*://*/*"
|
||||||
],
|
],
|
||||||
"version": "3.1.3.4"
|
"version": "3.1.3.5"
|
||||||
}
|
}
|
||||||
|
@ -753,5 +753,5 @@
|
|||||||
"*://html.onlineviewer.net/*",
|
"*://html.onlineviewer.net/*",
|
||||||
"*://webcache.googleusercontent.com/*"
|
"*://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": {
|
"The New York Times": {
|
||||||
domain: "nytimes.com",
|
domain: "nytimes.com",
|
||||||
allow_cookies: 1,
|
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": {
|
"The Philadelphia Inquirer": {
|
||||||
domain: "inquirer.com",
|
domain: "inquirer.com",
|
||||||
|
@ -102,6 +102,11 @@
|
|||||||
"block_regex": "\\/blink\\.net\\/.+\\/blink-sdk\\.js",
|
"block_regex": "\\/blink\\.net\\/.+\\/blink-sdk\\.js",
|
||||||
"cs_code": "[{\"cond\":\"div.article-scheduled-modal\",\"rm_elem\":1}]"
|
"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": {
|
"The Spectator World - new domain": {
|
||||||
"domain": "thespectator.com",
|
"domain": "thespectator.com",
|
||||||
"allow_cookies": 1,
|
"allow_cookies": 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user