Add Live Law (India)

merge-requests/2/head
magnolia1234 3 years ago
parent f5ae3abd07
commit 2dab567a16

@ -549,6 +549,7 @@ Grupo Vocento (ABC) regional sites like
[Business Standard](https://www.business-standard.com) -
[Hindustan Times](https://www.hindustantimes.com) -
[Inc42](https://inc42.com) -
[Live Law](https://www.livelaw.in) -
[LiveMint](https://www.livemint.com) -
[MediaNama](https://www.medianama.com) -
[The Economic Times (ET Prime)](https://economictimes.indiatimes.com) -

@ -102,6 +102,7 @@ var allow_cookies_default = [
'lesechos.fr',
'letelegramme.fr',
'lexpress.fr',
'livelaw.in',
'loeildelaphotographie.com',
'lrb.co.uk',
'marketwatch.com',

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Add Live Law (India)
Fix group McClatchy (unlisted sites)
Fix MediaNama (modal)
Fix The Athletic

@ -2110,6 +2110,16 @@ else if (matchDomain('jpost.com')) {
removeDOMElement(...premium_banners);
}
else if (matchDomain('livelaw.in')) {
let paywall = document.querySelectorAll('div.restricted_message > div.story, div.restricted_message > div.row');
if (paywall) {
removeDOMElement(...paywall);
let paywall_content = document.querySelector('div.paywall-content.hide');
if (paywall_content)
paywall_content.classList.remove('hide');
}
}
else if (matchDomain('magazine.atavist.com')) {
let bottom_notification = document.querySelector('div.bottom-notification');
let overlay = document.querySelector('div.notification-overlay');
@ -2515,7 +2525,7 @@ else if (matchDomain('thedailybeast.com')) {
let json_text = json_script.innerText.includes('"sections":') ? json_script.innerText.split('"sections":')[1].split('},"')[0] : '';
if (json_text) {
let pars = json_text.split('"').filter(function (value) {
return (value.split('[').length < 2 && value.split(']').length < 2);
return (value.split('[').length < 3 && value.split(']').length < 3);
});
let mobile_doc = document.querySelector('div.Mobiledoc');
if (mobile_doc) {

@ -296,6 +296,7 @@
"*://*.liberation.fr/*",
"*://*.limesonline.com/*",
"*://*.lindependant.fr/*",
"*://*.livelaw.com/*",
"*://*.livemint.com/*",
"*://*.ln-online.de/*",
"*://*.lne.es/*",
@ -545,5 +546,5 @@
"*://*.wallkit.net/*",
"*://*.wsj.net/*"
],
"version": "2.3.2.4"
"version": "2.3.2.5"
}

@ -154,6 +154,7 @@ var defaultSites =
"Levante-EMV": "levante-emv.com",
"Libération (free articles only)": "liberation.fr",
"LimesOnline": "limesonline.com",
"Live Law": "livelaw.in",
"LiveMint": "livemint.com",
"Loeb Classical Library": "loebclassics.com",
"London Review of Books": "lrb.co.uk",

Loading…
Cancel
Save