Fix-update Gestión.pe/ElComercio.pe
This commit is contained in:
parent
97867b3b08
commit
5999f9cb8c
@ -152,7 +152,7 @@ var blockedRegexes = {
|
|||||||
'corriere.it': /(\.rcsobjects\.it\/rcs_cpmt\/|\.rcsobjects\.it\/rcs_tracking-service\/|\.corriereobjects\.it\/.+\/js\/_paywall\.sjs|\.corriereobjects\.it\/.*\/js\/tracking\/|\.userzoom\.com\/files\/js\/|\.lp4\.io\/app\/)/,
|
'corriere.it': /(\.rcsobjects\.it\/rcs_cpmt\/|\.rcsobjects\.it\/rcs_tracking-service\/|\.corriereobjects\.it\/.+\/js\/_paywall\.sjs|\.corriereobjects\.it\/.*\/js\/tracking\/|\.userzoom\.com\/files\/js\/|\.lp4\.io\/app\/)/,
|
||||||
'digiday.com': /.+\.tinypass\.com\/.+/,
|
'digiday.com': /.+\.tinypass\.com\/.+/,
|
||||||
'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/_next\/static\/runtime\/main.+\.js)/,
|
'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/_next\/static\/runtime\/main.+\.js)/,
|
||||||
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia\/default.js/,
|
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia.+\.js/,
|
||||||
'elmercurio.com': /merreader\.emol\.cl\/assets\/js\/vendor\/modal\.js/,
|
'elmercurio.com': /merreader\.emol\.cl\/assets\/js\/vendor\/modal\.js/,
|
||||||
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
|
'elpais.com': /.+\.epimg\.net\/js\/.+\/noticia\.min\.js/,
|
||||||
'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
|
'exame.abril.com.br': /.+\.tinypass\.com\/.+/,
|
||||||
@ -160,7 +160,7 @@ var blockedRegexes = {
|
|||||||
'globo.com': /.+\.tinypass\.com\/.+/,
|
'globo.com': /.+\.tinypass\.com\/.+/,
|
||||||
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
|
'foreignpolicy.com': /.+\.tinypass\.com\/.+/,
|
||||||
'fortune.com': /.+\.tinypass\.com\/.+/,
|
'fortune.com': /.+\.tinypass\.com\/.+/,
|
||||||
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia\/default.js/,
|
'gestion.pe': /gestion\.pe\/pf\/dist\/template\/gestion-noticia.+\.js/,
|
||||||
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
'haaretz.co.il': /haaretz\.co\.il\/htz\/js\/inter\.js/,
|
||||||
'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/,
|
'haaretz.com': /haaretz\.com\/hdc\/web\/js\/minified\/header-scripts-int.js.+/,
|
||||||
'ilmessaggero.it': /(utils\.cedsdigital\.it\/js\/PaywallMeter\.js|static\.viralize\.tv\/viralize_player)/,
|
'ilmessaggero.it': /(utils\.cedsdigital\.it\/js\/PaywallMeter\.js|static\.viralize\.tv\/viralize_player)/,
|
||||||
|
@ -540,6 +540,13 @@ else if (matchDomain('faz.net')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
else if (matchDomain('gestion.pe')) {
|
||||||
|
const paywall = document.querySelector('.story-content__nota-premium');
|
||||||
|
if (paywall) {
|
||||||
|
paywall.classList.remove('story-content__nota-premium');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// General Functions
|
// General Functions
|
||||||
function removeDOMElement(...elements) {
|
function removeDOMElement(...elements) {
|
||||||
for (let element of elements) {
|
for (let element of elements) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user