Fix Mexico News Daily
This commit is contained in:
parent
ea7b3bc7fb
commit
0a80362235
@ -6,6 +6,7 @@ Add New Scientist
|
||||
Add The Chronicle of Philanthropy
|
||||
Fix Los Angeles Times & San Diego Union-Tribune
|
||||
Fix Madsack Mediengruppe
|
||||
Fix Mexico News Daily
|
||||
Fix NYTimes (Cooking)
|
||||
Fix The New York Review of Books (timing)
|
||||
Fix amp: Business of Fashion, Le Parisien & Groupe SudOuest.fr
|
||||
|
@ -1280,8 +1280,8 @@ else if (matchDomain(['lejdd.fr', 'parismatch.com'])) {
|
||||
}
|
||||
|
||||
else if (matchDomain('leparisien.fr')) {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
if (window.location.pathname.startsWith('/amp/')) {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
if (paywall) {
|
||||
let paywall_sticky = document.querySelector('div.paywall-sticky');
|
||||
removeDOMElement(paywall, paywall_sticky);
|
||||
@ -1293,7 +1293,6 @@ else if (matchDomain('leparisien.fr')) {
|
||||
mask.classList.remove('amp-premium-first-content');
|
||||
}
|
||||
} else {
|
||||
let paywall = document.querySelector('div.paywall');
|
||||
let amphtml = document.querySelector('link[rel="amphtml"]');
|
||||
if (paywall && amphtml) {
|
||||
removeDOMElement(paywall);
|
||||
@ -1501,7 +1500,6 @@ else if (matchDomain('science-et-vie.com')) {
|
||||
}
|
||||
|
||||
else if (matchDomain(['sudouest.fr', 'charentelibre.fr', 'larepubliquedespyrenees.fr'])) {
|
||||
let url = window.location.href;
|
||||
let paywall = document.querySelectorAll('.visible-not-premium');
|
||||
if (paywall.length) {
|
||||
removeDOMElement(...paywall);
|
||||
|
2
sites.js
2
sites.js
@ -1185,7 +1185,7 @@ var defaultSites = {
|
||||
"Mexico News Daily": {
|
||||
domain: "mexiconewsdaily.com",
|
||||
allow_cookies: 1,
|
||||
block_regex: /\.mexiconewsdaily\.com\/c\/assets\/pigeon\.js/
|
||||
block_regex: /\.piano\.io\/api\/tinypass\.min\.js/
|
||||
},
|
||||
"Mid-Day": {
|
||||
domain: "mid-day.com",
|
||||
|
@ -65,6 +65,11 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"Mexico News Daily": {
|
||||
"domain": "mexiconewsdaily.com",
|
||||
"allow_cookies": 1,
|
||||
"block_regex": "\\.piano\\.io\\/api\\/tinypass\\.min\\.js"
|
||||
},
|
||||
"Neue Westfälische": {
|
||||
"domain": "nw.de",
|
||||
"allow_cookies": 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user