Add Law360 (free articles only)
This commit is contained in:
parent
66208d64a0
commit
da48a85c5a
@ -109,6 +109,7 @@ _* free articles only._
|
|||||||
[Harvard Business Review](https://www.hbr.org) -
|
[Harvard Business Review](https://www.hbr.org) -
|
||||||
[Inc.com](https://www.inc.com) -
|
[Inc.com](https://www.inc.com) -
|
||||||
[Law.com](https://www.law.com)* -
|
[Law.com](https://www.law.com)* -
|
||||||
|
[Law360](https://www.law360.com)* -
|
||||||
[MarketWatch](https://www.marketwatch.com) -
|
[MarketWatch](https://www.marketwatch.com) -
|
||||||
[MIT Sloan Management Review](https://sloanreview.mit.edu) -
|
[MIT Sloan Management Review](https://sloanreview.mit.edu) -
|
||||||
[Quartz](https://qz.com)* -
|
[Quartz](https://qz.com)* -
|
||||||
|
@ -258,7 +258,7 @@ var use_facebook_referer_default = ['clarin.com', 'fd.nl', 'ilmanifesto.it', 'la
|
|||||||
var use_facebook_referer = use_facebook_referer_default.slice();
|
var use_facebook_referer = use_facebook_referer_default.slice();
|
||||||
var use_google_referer_default = ['statista.com'];
|
var use_google_referer_default = ['statista.com'];
|
||||||
var use_google_referer = use_google_referer_default.slice();
|
var use_google_referer = use_google_referer_default.slice();
|
||||||
var use_twitter_referer_default = ['medium.com', 'towardsdatascience.com'];
|
var use_twitter_referer_default = ['law360.com', 'medium.com', 'towardsdatascience.com'];
|
||||||
var use_twitter_referer = use_twitter_referer_default.slice();
|
var use_twitter_referer = use_twitter_referer_default.slice();
|
||||||
var use_random_ip = ['esprit.presse.fr'];
|
var use_random_ip = ['esprit.presse.fr'];
|
||||||
var change_headers = use_google_bot.concat(use_bing_bot, use_facebook_referer, use_google_referer, use_twitter_referer, use_random_ip);
|
var change_headers = use_google_bot.concat(use_bing_bot, use_facebook_referer, use_google_referer, use_twitter_referer, use_random_ip);
|
||||||
@ -1170,10 +1170,11 @@ ext_api.webRequest.onBeforeSendHeaders.addListener(function(details) {
|
|||||||
let cl_elmerc_site = (matchUrlDomain('emol.cl', details.url) && matchUrlDomain('elmercurio.com', header_referer));
|
let cl_elmerc_site = (matchUrlDomain('emol.cl', details.url) && matchUrlDomain('elmercurio.com', header_referer));
|
||||||
let es_elesp_site = (matchUrlDomain('eestatic.com', details.url) && matchUrlDomain('elespanol.com', header_referer));
|
let es_elesp_site = (matchUrlDomain('eestatic.com', details.url) && matchUrlDomain('elespanol.com', header_referer));
|
||||||
let it_repubblica_site = (matchUrlDomain(['repstatic.it'], details.url) && matchUrlDomain(it_repubblica_domains, header_referer));
|
let it_repubblica_site = (matchUrlDomain(['repstatic.it'], details.url) && matchUrlDomain(it_repubblica_domains, header_referer));
|
||||||
|
let usa_law360_site = (matchUrlDomain('law360news.com', details.url) && matchUrlDomain('law360.com', header_referer));
|
||||||
let usa_mw_site = (matchUrlDomain('wsj.net', details.url) && matchUrlDomain('marketwatch.com', header_referer));
|
let usa_mw_site = (matchUrlDomain('wsj.net', details.url) && matchUrlDomain('marketwatch.com', header_referer));
|
||||||
let usa_natgeo_site = (matchUrlDomain('natgeofe.com', details.url) && matchUrlDomain('nationalgeographic.com', header_referer));
|
let usa_natgeo_site = (matchUrlDomain('natgeofe.com', details.url) && matchUrlDomain('nationalgeographic.com', header_referer));
|
||||||
let usa_today_site = (matchUrlDomain('gannett-cdn.com', details.url) && matchUrlDomain(['usatoday.com'], header_referer));
|
let usa_today_site = (matchUrlDomain('gannett-cdn.com', details.url) && matchUrlDomain(['usatoday.com'], header_referer));
|
||||||
allow_ext_source = allow_ext_source || inkl_site || cl_elmerc_site || es_elesp_site || it_repubblica_site || usa_mw_site || usa_natgeo_site || usa_today_site;
|
allow_ext_source = allow_ext_source || inkl_site || cl_elmerc_site || es_elesp_site || it_repubblica_site || usa_law360_site || usa_mw_site || usa_natgeo_site || usa_today_site;
|
||||||
|
|
||||||
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['asiatimes.com', 'augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elpais.com', 'elperiodico.com', 'freiepresse.de', 'inc42.com', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'scmp.com', 'seekingalpha.com', 'shz.de', 'staradvertiser.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk', 'washingtonpost.com'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains, usa_mng_domains, usa_theathletic_domains), header_referer));
|
bpc_amp_site = (matchUrlDomain('cdn.ampproject.org', details.url) && matchUrlDomain(['asiatimes.com', 'augsburger-allgemeine.de', 'barrons.com', 'belfasttelegraph.co.uk', 'cicero.de', 'cmjornal.pt', 'elpais.com', 'elperiodico.com', 'freiepresse.de', 'inc42.com', 'independent.ie', 'irishtimes.com', 'la-croix.com', 'marketwatch.com', 'nationalreview.com', 'noz.de', 'nwzonline.de', 'scmp.com', 'seekingalpha.com', 'shz.de', 'staradvertiser.com', 'sueddeutsche.de', 'svz.de', 'telegraph.co.uk', 'washingtonpost.com'].concat(au_news_corp_domains, au_nine_domains, de_madsack_domains, es_epiberica_domains, es_grupo_vocento_domains, es_unidad_domains, fr_groupe_ebra_domains, fr_groupe_la_depeche_domains, it_repubblica_domains, usa_mcc_domains, usa_mng_domains, usa_theathletic_domains), header_referer));
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
Changelog Bypass Paywalls Clean - Chrome
|
Changelog Bypass Paywalls Clean - Chrome
|
||||||
|
|
||||||
Post-release
|
Post-release
|
||||||
|
Add Law360 (free articles only)
|
||||||
Fix Bloomberg (graphics)
|
Fix Bloomberg (graphics)
|
||||||
|
|
||||||
* v2.3.4.1 (2021-08-23)
|
* v2.3.4.1 (2021-08-23)
|
||||||
|
@ -2110,6 +2110,13 @@ else if (matchDomain('jpost.com')) {
|
|||||||
removeDOMElement(...premium_banners);
|
removeDOMElement(...premium_banners);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('law360.com')) {
|
||||||
|
window.setTimeout(function () {
|
||||||
|
let modal = document.querySelectorAll('div#NewsletterModal, div.modal-backdrop');
|
||||||
|
removeDOMElement(...modal);
|
||||||
|
}, 500); // Delay (in milliseconds)
|
||||||
|
}
|
||||||
|
|
||||||
else if (matchDomain('livelaw.in')) {
|
else if (matchDomain('livelaw.in')) {
|
||||||
let paywall = document.querySelectorAll('div.restricted_message > div.story, div.restricted_message > div.row');
|
let paywall = document.querySelectorAll('div.restricted_message > div.story, div.restricted_message > div.row');
|
||||||
if (paywall) {
|
if (paywall) {
|
||||||
|
@ -38,5 +38,5 @@
|
|||||||
"webRequestBlocking",
|
"webRequestBlocking",
|
||||||
"<all_urls>"
|
"<all_urls>"
|
||||||
],
|
],
|
||||||
"version": "2.3.4.2"
|
"version": "2.3.4.3"
|
||||||
}
|
}
|
@ -267,6 +267,8 @@
|
|||||||
"*://*.lavoixdunord.fr/*",
|
"*://*.lavoixdunord.fr/*",
|
||||||
"*://*.lavozdigital.es/*",
|
"*://*.lavozdigital.es/*",
|
||||||
"*://*.law.com/*",
|
"*://*.law.com/*",
|
||||||
|
"*://*.law360.com/*",
|
||||||
|
"*://*.law360news.com/*",
|
||||||
"*://*.lc.nl/*",
|
"*://*.lc.nl/*",
|
||||||
"*://*.lecho.be/*",
|
"*://*.lecho.be/*",
|
||||||
"*://*.ledauphine.com/*",
|
"*://*.ledauphine.com/*",
|
||||||
@ -541,5 +543,5 @@
|
|||||||
"*://*.wallkit.net/*",
|
"*://*.wallkit.net/*",
|
||||||
"*://*.wsj.net/*"
|
"*://*.wsj.net/*"
|
||||||
],
|
],
|
||||||
"version": "2.3.4.2"
|
"version": "2.3.4.3"
|
||||||
}
|
}
|
@ -303,7 +303,7 @@ function renderOptions() {
|
|||||||
(sites_custom[key]['allow_cookies']>0 ? ' | allow_cookies' : '') +
|
(sites_custom[key]['allow_cookies']>0 ? ' | allow_cookies' : '') +
|
||||||
(sites_custom[key]['block_javascript']>0 ? ' | block javascript' : '') +
|
(sites_custom[key]['block_javascript']>0 ? ' | block javascript' : '') +
|
||||||
(sites_custom[key]['block_javascript_ext']>0 ? ' | block javascript ext' : '') +
|
(sites_custom[key]['block_javascript_ext']>0 ? ' | block javascript ext' : '') +
|
||||||
(sites_custom[key]['useragent'] ? ' | useragent: ' + sites_custom[key]['useragent'] : '');
|
(sites_custom[key]['useragent'] ? ' | useragent: ' + sites_custom[key]['useragent'] : '') +
|
||||||
(sites_custom[key]['referer'] ? ' | referer: ' + sites_custom[key]['referer'] : '');
|
(sites_custom[key]['referer'] ? ' | referer: ' + sites_custom[key]['referer'] : '');
|
||||||
optionEl.value = key;
|
optionEl.value = key;
|
||||||
selectEl.add(optionEl);
|
selectEl.add(optionEl);
|
||||||
|
1
sites.js
1
sites.js
@ -142,6 +142,7 @@ var defaultSites =
|
|||||||
"La Tribune": "latribune.fr",
|
"La Tribune": "latribune.fr",
|
||||||
"La Vanguardia": "lavanguardia.com",
|
"La Vanguardia": "lavanguardia.com",
|
||||||
"Law.com (free articles only)": "law.com",
|
"Law.com (free articles only)": "law.com",
|
||||||
|
"Law360 (free articles only)": "law360.com",
|
||||||
"Le Devoir": "ledevoir.com",
|
"Le Devoir": "ledevoir.com",
|
||||||
"Le Journal du Dimanche": "lejdd.fr",
|
"Le Journal du Dimanche": "lejdd.fr",
|
||||||
"Le Journal du Net": "journaldunet.com",
|
"Le Journal du Net": "journaldunet.com",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user