Add London Review of Books

Block paywall script.
This commit is contained in:
magnolia1234 2019-12-03 11:53:30 +01:00 committed by GitHub
parent 4cda414dc3
commit a2ea42bf43
3 changed files with 5 additions and 1 deletions

View file

@ -38,6 +38,7 @@
[La Repubblica](https://www.repubblica.it)\
[Le Monde](https://www.lemonde.fr)\
[Le Temps](https://www.letemps.ch)\
[London Review of Books] (https://lrb.co.uk)\
[Los Angeles Times](https://www.latimes.com)\
[Medium](https://www.medium.com)\
[Medscape](https://www.medscape.com)\

View file

@ -35,6 +35,7 @@ var defaultSites = {
'La Repubblica': 'repubblica.it',
'Le Monde': 'lemonde.fr',
'Le Temps': 'letemps.ch',
'London Review of Books': 'lrb.co.uk',
'Los Angeles Times': 'latimes.com',
'Medium': 'medium.com',
'Medscape': 'medscape.com',
@ -219,7 +220,8 @@ const blockedRegexes = {
'thenation.com': /thenation\.com\/.+\/paywall-script\.php/,
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
'nzherald.co.nz': /nzherald\.co\.nz\/.+\/headjs\/.+\.js/,
'economist.com': /.+\.tinypass\.com\/.+/
'economist.com': /.+\.tinypass\.com\/.+/,
'lrb.co.uk': /.+\.tinypass\.com\/.+/
};
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

View file

@ -33,6 +33,7 @@ var defaultSites = {
'La Repubblica': 'repubblica.it',
'Le Monde': 'lemonde.fr',
'Le Temps': 'letemps.ch',
'London Review of Books': 'lrb.co.uk',
'Los Angeles Times': 'latimes.com',
'Medium': 'medium.com',
'Medscape': 'medscape.com',