Fix The Quint (css)

This commit is contained in:
magnolia1234 2024-03-08 16:42:05 +01:00
parent 0afed0a385
commit 30fef0f174
2 changed files with 5 additions and 2 deletions

View file

@ -10,6 +10,7 @@ Fix Boersen-zeitung.de (timing)
Fix ElMundo.es (colegios - no amp-fix) Fix ElMundo.es (colegios - no amp-fix)
Fix Hearst newspapers (anti-adblocker) Fix Hearst newspapers (anti-adblocker)
Fix Il Sole 24 Ore (24+ only) Fix Il Sole 24 Ore (24+ only)
Fix The Quint (css)
* v3.5.8.0 (2024-03-03) * v3.5.8.0 (2024-03-03)
Add Autosport (free articles only) Add Autosport (free articles only)

View file

@ -816,7 +816,7 @@ else if (matchDomain(['beobachter.ch', 'handelszeitung.ch'])) {
else if (matchDomain('berliner-zeitung.de')) { else if (matchDomain('berliner-zeitung.de')) {
window.setTimeout(function () { 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); hideDOMElement(...ads);
}, 1000); }, 1000);
} }
@ -5563,8 +5563,10 @@ else if (matchDomain('thequint.com')) {
} else } else
refreshCurrentTab(); refreshCurrentTab();
let body_hidden = document.querySelector('div#story-body-wrapper'); let body_hidden = document.querySelector('div#story-body-wrapper');
if (body_hidden) if (body_hidden) {
body_hidden.removeAttribute('class'); body_hidden.removeAttribute('class');
body_hidden.removeAttribute('style');
}
function thequint_unhide(node) { function thequint_unhide(node) {
node.removeAttribute('style'); node.removeAttribute('style');
} }