mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 01:11:04 +00:00
Fix Mexico News Daily
This commit is contained in:
parent
25399192db
commit
89b44dd688
@ -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
|
||||
|
@ -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"]');
|
||||
|
@ -51,5 +51,5 @@
|
||||
"webRequestBlocking",
|
||||
"*://*/*"
|
||||
],
|
||||
"version": "3.3.5.1"
|
||||
"version": "3.3.5.2"
|
||||
}
|
||||
|
@ -794,5 +794,5 @@
|
||||
"*://*.wyleex.com/*",
|
||||
"*://webcache.googleusercontent.com/*"
|
||||
],
|
||||
"version": "3.3.5.1"
|
||||
"version": "3.3.5.2"
|
||||
}
|
||||
|
2
sites.js
2
sites.js
@ -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",
|
||||
|
@ -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)",
|
||||
|
Loading…
Reference in New Issue
Block a user