Add Lecho.be & fix LesEchos.fr (block TinyPass)

This commit is contained in:
magnolia1234 2020-01-07 22:26:47 +01:00 committed by GitHub
parent 1cb9f78baf
commit 3391915745
4 changed files with 10 additions and 3 deletions

View File

@ -37,6 +37,7 @@
[Harvard Business Review](https://www.hbr.org)\
[Inc.com](https://www.inc.com)\
[Investors Chronicle](https://www.investorschronicle.co.uk)\
[L'Echo](https://www.lecho.be)\
[La Repubblica](https://www.repubblica.it)\
[Le Monde](https://www.lemonde.fr)\
[Le Parisien](http://www.leparisien.fr)\

View File

@ -33,6 +33,7 @@ var defaultSites = {
'Harvard Business Review': 'hbr.org',
'Inc.com': 'inc.com',
'Investors Chronicle': 'investorschronicle.co.uk',
'L\'Echo': 'lecho.be',
'La Repubblica': 'repubblica.it',
'Le Monde': 'lemonde.fr',
'Le Parisien': 'leparisien.fr',
@ -130,6 +131,7 @@ const allow_cookies = [
'hacked.com',
'harpers.org',
'hbr.org',
'lecho.be',
'lemonde.fr',
'lesechos.fr',
'letemps.ch',
@ -183,6 +185,7 @@ const remove_cookies = [
'hacked.com',
'harpers.org',
'hbr.org',
'lecho.be',
'lesechos.fr',
'letemps.ch',
'medium.com',
@ -263,7 +266,8 @@ const blockedRegexes = {
'newcastleherald.com.au': /.+cdn-au\.piano\.io\/api\/tinypass.+\.js/,
'afr.com': /afr\.com\/assets\/vendorsReactRedux_client.+\.js/,
'theglobeandmail.com': /theglobeandmail\.com\/pb\/resources\/scripts\/build\/chunk-bootstraps\/.+\.js/,
'leparisien.fr': /.+\.tinypass\.com\/.+/
'leparisien.fr': /.+\.tinypass\.com\/.+/,
'lesechos.fr': /.+\.tinypass\.com\/.+/
};
const userAgentDesktop = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"

View File

@ -173,7 +173,8 @@
"*://*.lesechos.fr/*",
"*://*.theathletic.com/*",
"*://*.techinasia.com/*",
"*://*.scribd.com/*"
"*://*.scribd.com/*",
"*://*.lecho.be/*"
],
"version": "1.6.3"
}

View File

@ -31,11 +31,12 @@ var defaultSites = {
'Harvard Business Review': 'hbr.org',
'Inc.com': 'inc.com',
'Investors Chronicle': 'investorschronicle.co.uk',
'L\'Echo': 'lecho.be',
'La Repubblica': 'repubblica.it',
'Le Monde': 'lemonde.fr',
'Le Parisien': 'leparisien.fr',
'Le Temps': 'letemps.ch',
'Les Echos': 'lesechos.fr',
'Les Echos (free articles only)': 'lesechos.fr',
'London Review of Books': 'lrb.co.uk',
'Los Angeles Times': 'latimes.com',
'Medium': 'medium.com',