mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Add Hindu Tamil Thisai (India)
This commit is contained in:
parent
286872a9cf
commit
aa306749d3
7 changed files with 25 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
|
4
sites.js
4
sites.js
|
@ -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…
Reference in a new issue