From d40f6dcad5aa77059ca15913f1c12bbe64cd0d95 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 28 Oct 2020 22:10:55 +0100 Subject: [PATCH] Fix-update Quartz (newsletter) --- changelog.txt | 1 + contentScript.js | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/changelog.txt b/changelog.txt index 9a13f5c..2cff783 100644 --- a/changelog.txt +++ b/changelog.txt @@ -4,6 +4,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release Add Deutsche Wirtschafts Nachrichten Add WirtschaftsWoche (Germany) +Fix-update Quartz (newsletter) * v1.9.2.0 (2020-10-25) Add Foreign Affairs diff --git a/contentScript.js b/contentScript.js index d455b29..9914820 100644 --- a/contentScript.js +++ b/contentScript.js @@ -1008,8 +1008,9 @@ else if (matchDomain('ilfattoquotidiano.it')) { else if (matchDomain('qz.com')) { window.setTimeout(function () { - if (pageContains('._33dc2 h2', 'Become a member, and we promise').length) - window.location.reload(true); + let url = window.location.href; + if (url.includes('utm_source=')) + window.location.href = url.split('?')[0]; }, 500); // Delay (in milliseconds) }