mirror of
https://github.com/AdguardTeam/AdguardFilters.git
synced 2026-08-31 12:23:36 +00:00
Update #23706 gazeta.pl
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user