mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-09-20 01:51:08 +02:00
Fix The Dallas Morning News
This commit is contained in:
parent
ee5ebd86d3
commit
d5f2020df1
4 changed files with 15 additions and 1 deletions
|
@ -5,6 +5,7 @@ Post-release
|
|||
Add UnHerd (UK)
|
||||
Remove The Japan Times (fix obsolete)
|
||||
Fix Lequipe.fr (json)
|
||||
Fix The Dallas Morning News
|
||||
|
||||
* v2.6.8.0 (2022-05-08)
|
||||
Add De Tijd & L'Echo
|
||||
|
|
|
@ -2514,6 +2514,12 @@ else if (matchDomain('dailywire.com')) {
|
|||
else if (matchDomain('dallasnews.com')) {
|
||||
if (window.location.search.startsWith('?outputType=amp')) {
|
||||
amp_unhide_subscr_section('amp-ad, amp-embed');
|
||||
} else {
|
||||
let overlay = document.querySelector('div.sl-overlay');
|
||||
removeDOMElement(overlay);
|
||||
let noscroll = document.querySelector('div#courier-body-wrapper[style]');
|
||||
if (noscroll)
|
||||
noscroll.removeAttribute('style');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
3
sites.js
3
sites.js
|
@ -1604,7 +1604,8 @@ var defaultSites = {
|
|||
"The Dallas Morning News": {
|
||||
domain: "dallasnews.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /(\.blueconic\.net\/|js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/
|
||||
block_regex: /(\.blueconic\.net\/|js\.matheranalytics\.com\/|cdn\.ampproject\.org\/v\d\/amp-subscriptions-.+\.js)/,
|
||||
useragent: "googlebot"
|
||||
},
|
||||
"The Diplomat": {
|
||||
domain: "thediplomat.com",
|
||||
|
|
|
@ -63,6 +63,12 @@
|
|||
],
|
||||
"new_site": 1
|
||||
},
|
||||
"The Dallas Morning News": {
|
||||
"domain": "dallasnews.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "(\\.blueconic\\.net\\/|js\\.matheranalytics\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-subscriptions-.+\\.js)",
|
||||
"useragent": "googlebot"
|
||||
},
|
||||
"UnHerd": {
|
||||
"domain": "unherd.com",
|
||||
"allow_cookies": 1,
|
||||
|
|
Loading…
Reference in a new issue