Fix Alma Talent sites (js-ads)

This commit is contained in:
magnolia1234 2022-03-30 22:09:31 +02:00
parent 8766d8aa82
commit 0f20357058
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@ Post-release
Add Diario Cordoba
Add La Opinion A Coruna
Add La Opinion de Zamora
Fix Alma Talent sites (js-ads)
Fix Madsack Mediengruppe
* v2.6.2.0 (2022-03-27)

View File

@ -779,7 +779,8 @@ else
if (matchDomain(fi_alma_talent_domains)) {
let ads = document.querySelectorAll('div[class^="p2m385-"], div#anop-container, .ad');
removeDOMElement(...ads);
for (let ad of ads)
ad.setAttribute('style', 'display:none;');
if (matchDomain('iltalehti.fi')) {
let paywall = document.querySelector('div.faded-text');
if (paywall && dompurify_loaded) {