Add Hindustan Times (India)

This commit is contained in:
magnolia1234 2021-05-25 19:27:32 +02:00
parent 88d057ac40
commit 6946656344
7 changed files with 23 additions and 2 deletions

View File

@ -559,6 +559,7 @@ Grupo Vocento (ABC) regional sites like
#### India #### India
[Bloomberg Quint](https://www.bloombergquint.com)* - [Bloomberg Quint](https://www.bloombergquint.com)* -
[Business Standard](https://www.business-standard.com) - [Business Standard](https://www.business-standard.com) -
[Hindustan Times](https://www.hindustantimes.com) -
[LiveMint](https://www.livemint.com) - [LiveMint](https://www.livemint.com) -
[MediaNama](https://www.medianama.com) - [MediaNama](https://www.medianama.com) -
[The Economic Times (ET Prime)](https://economictimes.indiatimes.com) - [The Economic Times (ET Prime)](https://economictimes.indiatimes.com) -

View File

@ -82,6 +82,7 @@ var allow_cookies_default = [
'haaretz.com', 'haaretz.com',
'handelsblatt.com', 'handelsblatt.com',
'hilltimes.com', 'hilltimes.com',
'hindustantimes.com',
'hs.fi', 'hs.fi',
'ilfattoquotidiano.it', 'ilfattoquotidiano.it',
'ilgiorno.it', 'ilgiorno.it',

View File

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Chrome Changelog Bypass Paywalls Clean - Chrome
Post-release Post-release
Add Hindustan Times (India)
Fix-update GElocal.it (social) Fix-update GElocal.it (social)
* v2.2.2.0 (2021-05-23) * v2.2.2.0 (2021-05-23)

View File

@ -1891,6 +1891,22 @@ else if (matchDomain('hbr.org')) {
removeDOMElement(popup); removeDOMElement(popup);
} }
else if (matchDomain('hindustantimes.com')) {
let paywall = document.querySelector('.freemium-card');
if (paywall) {
removeDOMElement(paywall);
let freemium_text = document.querySelector('.freemiumText');
if (freemium_text)
freemium_text.classList.remove('freemiumText');
}
let noscroll = document.querySelector('body.open-popup');
if (noscroll)
noscroll.classList.remove('open-popup');
let close_story = document.querySelector('.closeStory');
let ads = document.querySelectorAll('div[class^="adHeight"]');
removeDOMElement(close_story, ...ads);
}
else if (matchDomain('historyextra.com')) { else if (matchDomain('historyextra.com')) {
let article_masked = document.querySelector('.template-article__masked'); let article_masked = document.querySelector('.template-article__masked');
if (article_masked) { if (article_masked) {

View File

@ -30,5 +30,5 @@
"webRequestBlocking", "webRequestBlocking",
"<all_urls>" "<all_urls>"
], ],
"version": "2.2.2.0" "version": "2.2.2.1"
} }

View File

@ -185,6 +185,7 @@
"*://*.hbrtaiwan.com/*", "*://*.hbrtaiwan.com/*",
"*://*.heraldsun.com.au/*", "*://*.heraldsun.com.au/*",
"*://*.hilltimes.com/*", "*://*.hilltimes.com/*",
"*://*.hindustantimes.com/*",
"*://*.historyextra.com/*", "*://*.historyextra.com/*",
"*://*.houstonchronicle.com/*", "*://*.houstonchronicle.com/*",
"*://*.hoy.es/*", "*://*.hoy.es/*",
@ -505,5 +506,5 @@
"*://*.wallkit.net/*", "*://*.wallkit.net/*",
"*://*.wsj.net/*" "*://*.wsj.net/*"
], ],
"version": "2.2.2.0" "version": "2.2.2.1"
} }

View File

@ -107,6 +107,7 @@ var defaultSites =
"Harvard Business Review": "hbr.org", "Harvard Business Review": "hbr.org",
"Harvard Business Review Taiwan": "hbrtaiwan.com", "Harvard Business Review Taiwan": "hbrtaiwan.com",
"Helsingin Sanomat": "hs.fi", "Helsingin Sanomat": "hs.fi",
"Hindustan Times": "hindustantimes.com",
"Houston Chronicle": "houstonchronicle.com", "Houston Chronicle": "houstonchronicle.com",
"Humo.be": "humo.be", "Humo.be": "humo.be",
"Il Fatto Quotidiano": "ilfattoquotidiano.it", "Il Fatto Quotidiano": "ilfattoquotidiano.it",