From a81b05c5200333eba7813eba6f9e4f80c7212a04 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Wed, 14 Apr 2021 18:43:07 +0200 Subject: [PATCH] Fix-update The Diplomat (magazine) --- changelog.txt | 1 + contentScript.js | 6 ++++++ manifest.json | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/changelog.txt b/changelog.txt index d09ed8b7..3b1cf0f1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -2,6 +2,7 @@ Changelog Bypass Paywalls Clean - Firefox Post-release +Fix-update The Diplomat (magazine) * v2.1.6.1 (2021-04-12) Bugfix Le Dauphine (plus some French sites) diff --git a/contentScript.js b/contentScript.js index eeb44b53..0c46fb00 100644 --- a/contentScript.js +++ b/contentScript.js @@ -2166,6 +2166,12 @@ else if (matchDomain('theatlantic.com')) { removeDOMElement(banner); } +else if (matchDomain('thediplomat.com')) { + let preview = document.querySelector('.dpl-preview'); + if (preview) + preview.classList.remove('dpl-preview'); +} + else if (matchDomain('theglobeandmail.com')) { let article_body_subscribed = document.querySelector('.c-article-body--subscribed'); if (article_body_subscribed) { diff --git a/manifest.json b/manifest.json index 16d8d5eb..f33f4258 100644 --- a/manifest.json +++ b/manifest.json @@ -501,5 +501,5 @@ "*://*.wallkit.net/*", "*://*.wsj.net/*" ], - "version": "2.1.6.1" + "version": "2.1.6.2" } \ No newline at end of file