Update #23706 gazeta.pl

This commit is contained in:
Adam Wróblewski
2026-05-11 07:42:36 +02:00
parent 4c7472922b
commit cce0c55021

View File

@@ -14843,7 +14843,7 @@ fansided.com##body > div[id^="img_"]:has(> div[aria-label="Cookie banner"])
!
! https://github.com/AdguardTeam/AdguardFilters/issues/23706
! Fixes embedded content
moto.pl,edziecko.pl,plotek.pl,sport.pl,gazeta.pl#$#.art_embed { height: auto !important; }
moto.pl,edziecko.pl,plotek.pl,sport.pl,gazeta.pl#$#.art_embed { height: auto !important; pointer-events: auto !important; }
!+ PLATFORM(windows, mac, android, cli, ios, ext_safari)
moto.pl,edziecko.pl,plotek.pl,sport.pl,gazeta.pl#%#(()=>{window.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll('.embed-container > [data-blocked-by-rodoguard="true"]').forEach((e=>{const t=e.getAttribute("data-src")||e.getAttribute("src"),r=e.tagName.toLowerCase(),a=e.attributes;if(!t||!r)return;const o=document.createElement(r);if(o.setAttribute("src",t),"iframe"===r&&a.length)for(const e of a)"src"!==e.name&&"data-blocked-by-rodoguard"!==e.name&&o.setAttribute(e.name,e.value);e.replaceWith(o)}))}));})();
!+ NOT_PLATFORM(windows, mac, android, cli, ios, ext_safari)