Fix-update2 Deutsche Wirtschafts Nachrichten

master
magnolia1234 2020-11-07 17:12:18 +01:00
parent cdccae165e
commit 9873006042
2 changed files with 11 additions and 3 deletions

View File

@ -119,7 +119,6 @@ const pg_domains = ["parool.nl", "trouw.nl", "volkskrant.nl", "humo.be", "demorg
var remove_cookies_select_drop = {
'ad.nl': ['temptationTrackingId'],
'caixinglobal.com': ['CAIXINGLB_LOGIN_UUID'],
'deutsche-wirtschafts-nachrichten.de': ['pwall'],
'dn.se': ['randomSplusId'],
'fd.nl': ['socialread'],
'nrc.nl': ['counter'],

View File

@ -107,7 +107,7 @@ else if (window.location.hostname.endsWith(".com.au") || window.location.hostnam
let url = window.location.href;
let url_loaded = json_pub._self;
if (!url.includes(url_loaded.slice(-10)))
document.location.reload(true);
window.location.reload(true);
let article = '';
let div_content = document.createElement('div');
for (let par of json_content) {
@ -680,7 +680,7 @@ else if (matchDomain("lesechos.fr") && window.location.href.match(/-\d{6,}/)) {
let article = data.article.data.stripes[0].mainContent[0].data.description;
let url_loaded = data.article.data.path;
if (!url.includes(url_loaded))
document.location.reload(true);
window.location.reload(true);
let paywallNode = document.querySelector('.post-paywall');
if (paywallNode) {
let contentNode = document.createElement('div');
@ -1502,6 +1502,15 @@ else if (matchDomain("gva.be")) {
}, 500); // Delay (in milliseconds)
}
else if (matchDomain('deutsche-wirtschafts-nachrichten.de')) {
window.setTimeout(function () {
let hardpay = document.querySelector('.hardpay');
if (hardpay) {
window.location.reload(true);
}
}, 500); // Delay (in milliseconds)
}
// General Functions
function removeDOMElement(...elements) {
for (let element of elements) {