Remove Law360 (fix obsolete)

This commit is contained in:
magnolia1234 2022-12-07 17:05:53 +01:00
parent 5ea11605f0
commit 53f200f25a
6 changed files with 6 additions and 17 deletions

View file

@ -104,7 +104,6 @@ _* free articles only._
[Harvard Business Review](https://www.hbr.org) -
[Inc.com](https://www.inc.com) -
[Law.com](https://www.law.com)* -
[Law360](https://www.law360.com)* -
[MarketWatch](https://www.marketwatch.com) -
[MIT Sloan Management Review](https://sloanreview.mit.edu) -
[Quartz](https://qz.com) -

View file

@ -36,6 +36,7 @@ var restrictions = {
'repubblica.it': /^((?!\/video\.repubblica\.it\/).)*$/,
'seekingalpha.com': /\/seekingalpha\.com($|\/($|(amp\/)?(article|news)\/|samw\/))/,
'statista.com': /^((?!\.statista\.com\/(outlook|study)\/).)*$/,
'tagesspiegel.de': /^((?!\/background\.tagesspiegel\.de\/).)*$/,
'techinasia.com': /\.techinasia\.com\/.+/,
'theatlantic.com': /^((?!\/newsletters\.theatlantic\.com\/).)*$/,
'thetimes.co.uk': /^((?!epaper\.thetimes\.co\.uk).)*$/,

View file

@ -2,6 +2,7 @@
Changelog Bypass Paywalls Clean - Firefox
Post-release
Remove Law360 (fix obsolete)
Fix Business Standard (images)
Fix DN.no (images)
Fix Noz.de (no amp)

View file

@ -3316,13 +3316,6 @@ else if (matchDomain(['latimes.com', 'sandiegouniontribune.com'])) {
}
}
else if (matchDomain('law360.com')) {
window.setTimeout(function () {
let modal = document.querySelectorAll('div#NewsletterModal, div.modal-backdrop');
removeDOMElement(...modal);
}, 500);
}
else if (matchDomain('ledevoir.com')) {
let counter = document.querySelector('.paywall-breakpoint-wrapper');
removeDOMElement(counter);

View file

@ -359,7 +359,6 @@
"*://*.lavoz.com.ar/*",
"*://*.lavozdigital.es/*",
"*://*.law.com/*",
"*://*.law360.com/*",
"*://*.lc.nl/*",
"*://*.lecho.be/*",
"*://*.ledauphine.com/*",
@ -719,5 +718,5 @@
"*://*.wallkit.net/*",
"*://webcache.googleusercontent.com/*"
],
"version": "2.9.6.3"
"version": "2.9.6.4"
}

View file

@ -375,7 +375,7 @@ var defaultSites = {
domain: "spiegel.de",
allow_cookies: 1
},
"Der Tagesspiegel (link to archive.is)": {
"Der Tagesspiegel (link to archive.is/not background)": {
domain: "tagesspiegel.de",
allow_cookies: 1
},
@ -1087,10 +1087,6 @@ var defaultSites = {
remove_cookies: 1,
referer: "facebook"
},
"Law360 (free articles only)": {
domain: "law360.com",
referer: "twitter"
},
"Le Devoir": {
domain: "ledevoir.com",
block_regex: /\.tinypass\.com\//,
@ -2382,11 +2378,11 @@ var custom_flex_not_domains;
function init_custom_flex_domains() {
custom_flex_domains = [];
custom_flex_not_domains = [].concat.apply([], Object.values(custom_flex_not));
custom_flex_not_domains = [].concat.apply([], Object.values(custom_flex_not)).concat(['gitlab.com']);
}
init_custom_flex_domains();
// sites with no fix (background)
var be_mediahuis_nofix_domains = ['gva.be', 'hbvl.be'];
var it_gedi_nofix_domains = ['gelocal.it', 'huffingtonpost.it', 'ilsecoloxix.it', 'lastampa.it', 'limesonline.com'];
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavie.fr', 'lavozdegalicia.es', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'suedkurier.de', 'swp.de', 'tagesanzeiger.ch', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains);
var nofix_sites = ['africaintelligence.com', 'africaintelligence.fr', 'aftenposten.no', 'badische-zeitung.de', 'bild.de', 'borsen.dk', 'businesstimes.com.sg', 'caixin.com', 'caixinglobal.com', 'caravanmagazine.in', 'courrierinternational.com', 'dn.se', 'elordenmundial.com', 'epw.in', 'expresso.pt', 'ftchinese.com', 'handelsblatt.com', 'heise.de', 'hs.fi', 'ilsole24ore.com', 'jacobinmag.com', 'jeuneafrique.com', 'kurier.at', 'lavie.fr', 'lavozdegalicia.es', 'law360.com', 'leconomiste.com', 'lefigaro.fr', 'lemonde.fr', 'lepoint.fr', 'letemps.ch', 'liberation.fr', 'medianama.com', 'mediapart.fr', 'milanofinanza.it', 'mondediplo.com', 'moneycontrol.com', 'nature.com', 'nbr.co.nz', 'nn.de', 'ouest-france.fr', 'philonomist.com', 'politiken.dk', 'pressreader.com', 'publico.pt', 'republic.ru', 'saechsische.de', 'schwarzwaelder-bote.de', 'statnews.com', 'stern.de', 'straitstimes.com', 'stuttgarter-nachrichten.de', 'stuttgarter-zeitung.de', 'suedkurier.de', 'swp.de', 'tagesanzeiger.ch', 'techcrunch.com', 'the-ken.com', 'theinformation.com', 'themorningcontext.com', 'theparisreview.org', 'thewirechina.com', 'weser-kurier.de', 'worldpoliticsreview.com', 'ynet.co.il', 'zerohedge.com'].concat(be_mediahuis_nofix_domains, it_gedi_nofix_domains);