diff --git a/changelog.txt b/changelog.txt index c2e8297..e6ab3a2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -10,6 +10,7 @@ Fix Boersen-zeitung.de (timing) Fix ElMundo.es (colegios - no amp-fix) Fix Hearst newspapers (anti-adblocker) Fix Il Sole 24 Ore (24+ only) +Fix The Quint (css) * v3.5.8.0 (2024-03-03) Add Autosport (free articles only) diff --git a/contentScript.js b/contentScript.js index d71007e..4451e24 100644 --- a/contentScript.js +++ b/contentScript.js @@ -816,7 +816,7 @@ else if (matchDomain(['beobachter.ch', 'handelszeitung.ch'])) { else if (matchDomain('berliner-zeitung.de')) { window.setTimeout(function () { - let ads = document.querySelectorAll('[class^="traffective_"], [class^="article_billboard-"], [class^="outbrain_container"]'); + let ads = document.querySelectorAll('div[class^="traffective_"], div[class^="article_billboard-"], div[class*="_ad_"], div[class^="outbrain_"]'); hideDOMElement(...ads); }, 1000); } @@ -5563,8 +5563,10 @@ else if (matchDomain('thequint.com')) { } else refreshCurrentTab(); let body_hidden = document.querySelector('div#story-body-wrapper'); - if (body_hidden) + if (body_hidden) { body_hidden.removeAttribute('class'); + body_hidden.removeAttribute('style'); + } function thequint_unhide(node) { node.removeAttribute('style'); }