mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:27:48 +01:00
Add TheNewEuropean.co.uk
This commit is contained in:
parent
71f03cf321
commit
8b8e3a2906
6 changed files with 38 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
|
5
sites.js
5
sites.js
|
@ -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…
Reference in a new issue