Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki2718 committed Jan 1, 2023
1 parent 3c64916 commit 9453530
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions BaseFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3835,6 +3835,11 @@ soranews24.com#$#div[style="width: 1px; height: 1px; position: absolute; left: -
||soranews24.com/_static/$replace=/(!1|!0!)=?==SCO\.imgLazyLoad/1===1/,script
soranews24.com#%#AG_onLoad(function(){const a=document.querySelectorAll("img[data-sco-src]");a.forEach(a=>{const b=a.getAttribute("data-sco-src");a.setAttribute("src",b),a.style.opacity="1"})});
!#endif
!#if (adguard_app_ios || adguard_ext_safari)
soranews24.com#%#//scriptlet("abort-on-property-read", "document.createElement")
soranews24.com#$#img[data-sco-src] { display: none !important; }
soranews24.com#%#AG_onLoad(function(){let a=document.querySelectorAll("img+noscript");let ns=function(b){let f=new DOMParser();let g=f.parseFromString(b.textContent,'text/html');return document.adoptNode(g.querySelector('img'));};for(let b of a){let c=ns(b);b.parentNode.replaceChild(c,b);}});

This comment has been minimized.

Copy link
@Alex-302

Alex-302 Jan 4, 2023

Member

Please create PRs for commits with new JS rules.

This comment has been minimized.

Copy link
@Yuki2718

Yuki2718 Jan 6, 2023

Author Collaborator

Okay.

!#endif
!#safari_cb_affinity(privacy)
@@||securepubads.g.doubleclick.net/tag/js/gpt.js$domain=soranews24.com
@@||tpc.googlesyndication.com/simgad/$image,domain=soranews24.com
Expand Down
5 changes: 5 additions & 0 deletions JapaneseFilter/sections/antiadblock.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ rocketnews24.com,youpouch.com#%#//scriptlet('remove-attr', 'id', '#div-gpt-ad-re
||rocketnews24.com/_static/$replace=/(!1|!0!)=?==SCO\.imgLazyLoad/1===1/,script
youpouch.com,rocketnews24.com#%#AG_onLoad(function(){const a=document.querySelectorAll("img[data-sco-src]");a.forEach(a=>{const b=a.getAttribute("data-sco-src");a.setAttribute("src",b),a.style.opacity="1"})});
!#endif
!#if (adguard_app_ios || adguard_ext_safari)
rocketnews24.com,youpouch.com#%#//scriptlet("abort-on-property-read", "document.createElement")
rocketnews24.com,youpouch.com#$#img[data-sco-src] { display: none !important; }
rocketnews24.com,youpouch.com#%#AG_onLoad(function(){let a=document.querySelectorAll("img+noscript");let ns=function(b){let f=new DOMParser();let g=f.parseFromString(b.textContent,'text/html');return document.adoptNode(g.querySelector('img'));};for(let b of a){let c=ns(b);b.parentNode.replaceChild(c,b);}});
!#endif
!#if (adguard_app_ios || adguard_ext_android_cb)
@@||googlesyndication.com/safeframe/$domain=rocketnews24.com|youpouch.com
@@||tpc.googlesyndication.com/simgad/$image,domain=rocketnews24.com|youpouch.com
Expand Down

0 comments on commit 9453530

Please sign in to comment.