Update hints

This commit is contained in:
Adam Wróblewski
2026-04-17 22:17:09 +02:00
parent 1e171c6880
commit cc90a56209
2 changed files with 5 additions and 3 deletions

View File

@@ -14718,9 +14718,9 @@ 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; }
!+ NOT_PLATFORM(ext_ff)
!+ 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)}))}));})();
!+ PLATFORM(ext_ff)
!+ NOT_PLATFORM(windows, mac, android, cli, ios, ext_safari)
moto.pl,edziecko.pl,plotek.pl,sport.pl,gazeta.pl#%#//scriptlet('trusted-create-element', 'head', 'script', '', '(()=>{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)}))}));})();')
! https://github.com/AdguardTeam/AdguardFilters/issues/210395
!#if (ext_ublock)

View File

@@ -10,9 +10,11 @@
!-------------------
!
! https://github.com/AdguardTeam/AdguardFilters/issues/223378
!+ PLATFORM(windows, mac, android, cli, ios, ext_safari)
daily.co.jp#%#//scriptlet('trusted-replace-argument', 'Document.prototype.getElementById', '0', 'dspc-bottomRecommend', 'dspc-inread')
!+ PLATFORM(windows, mac, android, cli, ios, ext_safari)
daily.co.jp#%#(()=>{window.addEventListener("load",(()=>{const t=document.querySelector("#openwebSection"),e=document.querySelector("div[data-spot-id]");if(!e||!t)return;const d=e.getAttribute("data-spot-id");if(!d)return;var o;((t,e,d)=>{const o=document.createElement("div");o.setAttribute("data-spotim-module","conversation"),o.setAttribute("data-spot-id",t),o.setAttribute("data-post-id",e),d.appendChild(o)})(d,Math.abs((o=document.title,[...o].reduce(((t,e)=>Math.imul(31,t)+e.charCodeAt(0)|0),0))),t);const a=document.createElement("script");a.setAttribute("src",`https://launcher.spot.im/spot/${d}`),a.setAttribute("async",""),document.head.appendChild(a)}));})();
!+ NOT_PLATFORM(windows, mac, android, cli, ios, ext_safari)
daily.co.jp#%#//scriptlet('trusted-create-element', 'head', 'script', '', '(()=>{window.addEventListener("load",(()=>{const t=document.querySelector("#openwebSection"),e=document.querySelector("div[data-spot-id]");if(!e||!t)return;const d=e.getAttribute("data-spot-id");if(!d)return;var o;((t,e,d)=>{const o=document.createElement("div");o.setAttribute("data-spotim-module","conversation"),o.setAttribute("data-spot-id",t),o.setAttribute("data-post-id",e),d.appendChild(o)})(d,Math.abs((o=document.title,[...o].reduce(((t,e)=>Math.imul(31,t)+e.charCodeAt(0)|0),0))),t);const a=document.createElement("script");a.setAttribute("src",`https://launcher.spot.im/spot/${d}`),a.setAttribute("async",""),document.head.appendChild(a)}));})();')
! https://github.com/AdguardTeam/AdguardFilters/issues/211472
sports.tv.rakuten.co.jp#%#//scriptlet('json-prune', 'ads')
sports.tv.rakuten.co.jp#%#//scriptlet('json-prune', 'result.ad_info')