Fix Mexico News Daily

This commit is contained in:
magnolia1234 2023-09-26 08:24:14 +02:00
parent 25399192db
commit 89b44dd688
6 changed files with 16 additions and 3 deletions

View File

@ -5,6 +5,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add Conde Nast Traveler
Fix Mediahuis Noord (json)
Fix Mexico News Daily
* v3.3.5.0 (2023-09-24)
Add Arkansas Democrat-Gazette

View File

@ -4256,6 +4256,12 @@ else if (matchDomain('medscape.com')) {
hideDOMElement(...ads);
}
else if (matchDomain('mexiconewsdaily.com')) {
let div_hidden = document.querySelector('body.single div.td-post-content > div.tdb-block-inner');
if (div_hidden)
div_hidden.classList.remove('tdb-block-inner');
}
else if (matchDomain('mid-day.com')) {
if (window.location.pathname.startsWith('/amp/')) {
amp_unhide_access_hide('="granted"', '="NOT granted"', 'amp-ad, amp-embed, [class*="BannerAd"]');

View File

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.3.5.1"
"version": "3.3.5.2"
}

View File

@ -794,5 +794,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.3.5.1"
"version": "3.3.5.2"
}

View File

@ -1502,7 +1502,7 @@ var defaultSites = {
"Mexico News Daily": {
domain: "mexiconewsdaily.com",
allow_cookies: 1,
block_regex: /\.piano\.io\/api\/tinypass\.min\.js/
block_regex: /\/mexiconewsdaily\.com\/wp-content\/plugins\/leaky-paywall\/js\/leaky-paywall-cookie\.js/
},
"Mid-Day": {
domain: "mid-day.com",

View File

@ -33,6 +33,12 @@
"useragent": "googlebot",
"upd_version": "3.3.5.1"
},
"Mexico News Daily": {
"domain": "mexiconewsdaily.com",
"allow_cookies": 1,
"block_regex": "\\/mexiconewsdaily\\.com\\/wp-content\\/plugins\\/leaky-paywall\\/js\\/leaky-paywall-cookie\\.js",
"upd_version": "3.3.5.2"
},
"South China Morning Post": {
"domain": "scmp.com",
"block_regex": "(\\.tinypass\\.com\\/|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|subscriptions)-.+\\.js)",