Fix-update Lc.nl/DvhN.nl (Evolok)

This commit is contained in:
magnolia1234 2020-06-17 16:29:36 +02:00
parent 8b11df84be
commit 575636d4cb
3 changed files with 6 additions and 8 deletions

View file

@ -155,6 +155,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\/)/,
'digiday.com': /.+\.tinypass\.com\/.+/,
'economist.com': /(.+\.tinypass\.com\/.+|economist\.com\/engassets\/_next\/static\/chunks\/framework.+\.js)/,
'dvhn.nl': /.+\.evolok\.net\/.+\/authorize\/.+/,
'elcomercio.pe': /elcomercio\.pe\/pf\/dist\/template\/elcomercio-noticia.+\.js/,
'elmercurio.com': /merreader\.emol\.cl\/assets\/js\/vendor\/modal\.js/,
'elmundo.es': /cdn\.ampproject\.org\/v\d\/amp-access-.+\.js/,
@ -174,6 +175,7 @@ var blockedRegexes = {
'inquirer.com': /.+\.tinypass\.com\/.+/,
'ladepeche.fr': /.+\.poool\.fr\/.+/,
'lastampa.it': /.+\.repstatic\.it\/minify\/sites\/lastampa\/.+\/config\.cache\.php\?name=social_js/,
'lc.nl': /.+\.evolok\.net\/.+\/authorize\/.+/,
'lejdd.fr': /.+\.poool\.fr\/.+/,
'leparisien.fr': /.+\.tinypass\.com\/.+/,
'lesechos.fr': /.+\.tinypass\.com\/.+/,

View file

@ -460,14 +460,9 @@ else if (matchDomain("lesechos.fr")) {
}
else if (matchDomain(["lc.nl", "dvhn.nl"])) {
document.addEventListener('DOMContentLoaded', () => {
var new_location = window.location.href;
if (new_location.includes("utm_source="))
var new_location = new_location.split('?')[0];
const preview = document.querySelector('.preview');
if (preview && new_location.indexOf("harvest_referrer=") === -1)
window.location.href = new_location + '?harvest_referrer=https%3A%2F%2Fnos.nl%2Fplus.html';
});
let top_ad = document.querySelector('.top__ad');
let plus = document.querySelector('.plusJustRead');
removeDOMElement(top_ad, plus);
}
else if (matchDomain("newyorker.com")) {

View file

@ -238,6 +238,7 @@
"*://*.ctfassets.net/*",
"*://*.emol.cl/*",
"*://*.epimg.net/*",
"*://*.evolok.net/*",
"*://*.flip-pay.com/*",
"*://*.htmedia.in/*",
"*://*.lightboxcdn.com/*",