Add The Economic Times (text/India)

This commit is contained in:
magnolia1234 2021-05-03 22:13:22 +02:00
parent f9edcb76b5
commit 52cb539c24
6 changed files with 18 additions and 1 deletions

View file

@ -523,6 +523,7 @@ Grupo Vocento (ABC) regional sites like
[Bloomberg Quint](https://www.bloombergquint.com)* -
[Business Standard](https://www.business-standard.com) -
[LiveMint](https://www.livemint.com) -
[The Economic Times (ET Prime)](https://economictimes.indiatimes.com) -
[The Hindu](https://www.thehindu.com) -
[The Hindu BusinessLine](https://www.thehindubusinessline.com)

View file

@ -54,6 +54,7 @@ var allow_cookies_default = [
'di.se',
'dn.se',
'dvhn.nl',
'economictimes.indiatimes.com',
'editorialedomani.it',
'elconfidencial.com',
'elespanol.com',
@ -219,6 +220,7 @@ var use_google_bot_default = [
'nouvelobs.com',
'nzz.ch',
'piqd.de',
'economictimes.indiatimes.com',
'quora.com',
'republic.ru',
'rhein-zeitung.de',

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add The Economic Times (text/India)
* v2.1.9.0 (2021-05-02)
Add GenomeWeb, 360Dx & Precision Oncology News

View file

@ -1702,6 +1702,17 @@ else if (matchDomain('discovermagazine.com')) {
}, 1000); // Delay (in milliseconds)
}
else if (matchDomain('economictimes.indiatimes.com')) {
let paywall = document.querySelector('section.prime_paywall');
if (paywall) {
removeDOMElement(paywall);
let content = document.querySelector('div.content1, div.artText');
let full_text = document.querySelector('div.paywall.p1');
if (content && full_text)
content.innerText = full_text.innerText;
}
}
else if (matchDomain('economist.com')) {
document.addEventListener('DOMContentLoaded', () => {
let subscribe = document.querySelector('.subscription-proposition');

View file

@ -129,6 +129,7 @@
"*://*.dn.se/*",
"*://*.dna.fr/*",
"*://*.dvhn.nl/*",
"*://*.economictimes.indiatimes.com/*",
"*://*.economist.com/*",
"*://*.ed.nl/*",
"*://*.editorialedomani.it/*",
@ -508,5 +509,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.1.9.0"
"version": "2.1.9.1"
}

View file

@ -245,6 +245,7 @@ var defaultSites =
"The Dallas Morning News": "dallasnews.com",
"The Denver Post": "denverpost.com",
"The Diplomat": "thediplomat.com",
"The Economic Times (ET Prime)": "economictimes.indiatimes.com",
"The Economist": "economist.com",
"The Globe and Mail": "theglobeandmail.com",
"The Hill Times": "hilltimes.com",