mirror of
https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean.git
synced 2024-11-10 06:07:47 +01:00
Fix Alma Talent sites (js-ads)
This commit is contained in:
parent
8766d8aa82
commit
0f20357058
2 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue