Add Hindu Tamil Thisai (India)

This commit is contained in:
magnolia1234 2023-06-25 09:55:49 +02:00
parent 286872a9cf
commit aa306749d3
7 changed files with 25 additions and 2 deletions

View file

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

View file

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

View file

@ -3594,6 +3594,17 @@ else if (matchDomain('hindustantimes.com')) {
removeDOMElement(close_story, ...ads); 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')) { 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

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

View file

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

View file

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

View file

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