Add Gestión (Peru) & fix El Comercio (menu)

For both sites menu is only active at main page or sections.
This commit is contained in:
magnolia1234 2020-04-03 14:07:30 +02:00 committed by GitHub
parent 37470428bc
commit 60b606c676
3 changed files with 7 additions and 1 deletions

View file

@ -231,7 +231,8 @@
##### Mexico
[Mexico News Daily](https://mexiconewsdaily.com)
##### Peru
[El Comercio](https://elcomercio.pe)
[El Comercio](https://elcomercio.pe) -
[Gestión](https://gestion.pe)
#### Encyclopedia/Book library/Knowledge base
[Encyclopedia Britannica](https://www.britannica.com) -

View file

@ -9,6 +9,8 @@ var ext_api = chrome || browser;
const restrictions = {
'barrons.com': /.+barrons\.com\/articles\/.+/,
'elcomercio.pe': /.+\/elcomercio.pe\/.+((\w)+(\-)+){3,}.+/,
'gestion.pe': /.+\/gestion.pe\/.+((\w)+(\-)+){3,}.+/,
'quora.com': /^((?!quora\.com\/search\?q=).)*$/,
'wsj.com': /(.+wsj\.com\/articles\/.+|.+blogs\.wsj\.com\/.+)/
}
@ -29,6 +31,7 @@ var allow_cookies = [
'elmercurio.com',
'fd.nl',
'folha.uol.com.br',
'gestion.pe',
'goldcoastbulletin.com.au',
'haaretz.co.il',
'haaretz.com',
@ -145,6 +148,7 @@ var blockedRegexes = {
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
'folha.uol.com.br': /.+\.folha\.uol\.com\.br\/paywall\/js\/.+\/publicidade\.ads\.js/,
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia\/default.js/,
'globo.com': /.+\.tinypass\.com\/.+/,
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
'fortune.com': /.+\.tinypass\.com\/.+/,

View file

@ -40,6 +40,7 @@ var defaultSites =
"Folha de S. Paulo": "folha.uol.com.br",
"Foreign Policy": "foreignpolicy.com",
"Fortune": "fortune.com",
"Gestión": "gestion.pe",
"Glassdoor": "glassdoor.com",
"Gold Coast Bulletin": "goldcoastbulletin.com.au",
"Groene Amsterdammer": "groene.nl",