mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 03:21:58 +01:00
Add The Economic Times (text/India)
This commit is contained in:
parent
f9edcb76b5
commit
52cb539c24
6 changed files with 18 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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"
|
||||
}
|
1
sites.js
1
sites.js
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue