diff --git a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt index a3d5cad2d29..e38604eae09 100644 --- a/AnnoyancesFilter/Cookies/sections/cookies_specific.txt +++ b/AnnoyancesFilter/Cookies/sections/cookies_specific.txt @@ -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) diff --git a/JapaneseFilter/sections/general_extensions.txt b/JapaneseFilter/sections/general_extensions.txt index 7eca107daa3..c7925aa7c26 100644 --- a/JapaneseFilter/sections/general_extensions.txt +++ b/JapaneseFilter/sections/general_extensions.txt @@ -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')