Add TheNewEuropean.co.uk

merge-requests/8/merge
magnolia1234 2 years ago
parent 71f03cf321
commit 8b8e3a2906

@ -377,6 +377,7 @@ Grouped in options:\
[The Economist](https://www.economist.com) -
[The Independent](https://www.independent.co.uk) -
[The Irish Times](https://www.irishtimes.com) -
[The New European](https://www.theneweuropean.co.uk) -
[The New Statesman](https://www.newstatesman.com) -
[The Spectator](https://www.spectator.co.uk) -
[The Telegraph](https://www.telegraph.co.uk) -

@ -5,6 +5,7 @@ Post-release
Add 60 Millions de consommateurs
Add BusinessPost.ie
Add Private Equity News
Add TheNewEuropean.co.uk
Add Weltkunst.de
Fix Esprit.presse.fr
Fix Grupo El Comercio

@ -2225,6 +2225,18 @@ else if (matchDomain('the-tls.co.uk')) {
removeDOMElement(paywall);
}
else if (matchDomain('theneweuropean.co.uk')) {
let paywall = document.querySelector('div[data-show-fade-on-noaccess]');
if (paywall) {
removeDOMElement(paywall);
let content = document.querySelector('div[data-show-has-access]');
if (content)
content.removeAttribute('data-show-has-access');
}
let banners = document.querySelectorAll('div[data-show-subs-blocked]');
removeDOMElement(...banners);
}
else if (matchDomain('thetimes.co.uk')) {
let url = window.location.href;
if (window.location.hostname !== 'epaper.thetimes.co.uk') {
@ -3629,7 +3641,8 @@ else if (matchDomain('theathletic.com')) {
amp_unhide_access_hide('', '*="NOT granted"');
}
let apron = document.querySelector('div#free-apron-cta, div.slideup-free-apron-container');
removeDOMElement(apron);
let ads = document.querySelectorAll('div.ad-container');
removeDOMElement(apron, ...ads);
}
else if (matchDomain('theatlantic.com')) {

@ -583,6 +583,7 @@
"*://*.themercury.com.au/*",
"*://*.thenation.com/*",
"*://*.thenewatlantis.com/*",
"*://*.theneweuropean.co.uk/*",
"*://*.thepeterboroughexaminer.com/*",
"*://*.thepointmag.com/*",
"*://*.theprovince.com/*",
@ -706,5 +707,5 @@
"*://gcm.omerlocdn.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.8.4.6"
"version": "2.8.4.7"
}

@ -1804,6 +1804,11 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.thenewatlantis\.com\/.+\/thenewatlantis\/js\/(gate|donate)\.js/
},
"The New European": {
domain: "theneweuropean.co.uk",
allow_cookies: 1,
block_regex: /cdn\.tinypass\.com\//
},
"The New Republic": {
domain: "newrepublic.com",
allow_cookies: 1,

@ -33,6 +33,21 @@
"domain": "penews.com",
"useragent": "googlebot"
},
"The New European": {
"domain": "theneweuropean.co.uk",
"allow_cookies": 1,
"block_regex": "cdn\\.tinypass\\.com\\/",
"cs_code": [{
"cond": "div[data-show-fade-on-noaccess]",
"rm_elem": 1,
"elems": [{
"cond": "div[data-show-has-access]",
"rm_attrib": "data-show-has-access"
}
]
}
]
},
"Weltkunst": {
"domain": "weltkunst.de",
"allow_cookies": 1,

Loading…
Cancel
Save