Add Hindu Tamil Thisai (India)

merge-requests/15/head
magnolia1234 12 months ago
parent 286872a9cf
commit aa306749d3

@ -831,6 +831,7 @@ Grouped in options:\
##### India
[BQ Prime](https://www.bqprime.com) -
[Hindu Tamil Thisai](https://www.hindutamil.in) -
[Hindustan Times](https://www.hindustantimes.com) -
[Inc42](https://inc42.com) -
[India Today](https://www.indiatoday.in) -

@ -4,6 +4,7 @@ Updates (install signed xpi-file): https://gitlab.com/magnolia1234/bypass-paywal
Post-release
Add Follow the Money (Ftm.eu)
Add Hindu Tamil Thisai (India)
Fix Gazzetta.it (text only)
Fix LeScienze.it
Fix LeTelegramme.fr (css)

@ -3594,6 +3594,17 @@ else if (matchDomain('hindustantimes.com')) {
removeDOMElement(close_story, ...ads);
}
else if (matchDomain('hindutamil.in')) {
if (!window.location.pathname.startsWith('/amp/')) {
let paywall = document.querySelector('div.premium-class-bt');
let amphtml = document.querySelector('link[rel="amphtml"]');
if (paywall && amphtml) {
removeDOMElement(paywall);
window.location.href = amphtml.href;
}
}
}
else if (matchDomain('historyextra.com')) {
let article_masked = document.querySelector('.template-article__masked');
if (article_masked) {

@ -51,5 +51,5 @@
"webRequestBlocking",
"*://*/*"
],
"version": "3.2.1.3"
"version": "3.2.1.4"
}

@ -291,6 +291,7 @@
"*://*.heraldsun.com.au/*",
"*://*.hilltimes.com/*",
"*://*.hindustantimes.com/*",
"*://*.hindutamil.in/*",
"*://*.historyextra.com/*",
"*://*.hollywoodreporter.com/*",
"*://*.housebeautiful.com/*",
@ -757,5 +758,5 @@
"*://*.wyleex.com/*",
"*://webcache.googleusercontent.com/*"
],
"version": "3.2.1.3"
"version": "3.2.1.4"
}

@ -974,6 +974,10 @@ var defaultSites = {
allow_cookies: 1,
block_regex: /\.ensighten\.com\/.+\/Bootstrap\.js/
},
"Hindu Tamil Thisai": {
domain: "hindutamil.in",
allow_cookies: 1
},
"Hindustan Times": {
domain: "hindustantimes.com",
allow_cookies: 1,

@ -10,6 +10,11 @@
"block_regex": "(scripts\\.repubblica\\.it\\/pw\\/pw\\.js|cdn\\.ampproject\\.org\\/v\\d\\/amp-(access|user-notification)-.+\\.js)",
"useragent": "googlebot"
},
"Hindu Tamil Thisai": {
"domain": "hindutamil.in",
"allow_cookies": 1,
"amp_redirect": "div.premium-class-bt"
},
"Le Télégramme": {
"domain": "letelegramme.fr",
"allow_cookies": 1,

Loading…
Cancel
Save