Upd #187108 dash.infinityfree.com

This commit is contained in:
Adam Wróblewski
2024-08-28 13:10:20 +02:00
parent ceb5641731
commit 3862c90844
2 changed files with 10 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@@ -47,13 +47,18 @@ eurointegration.com.ua,gloria.hr,wfmz.com,allthetests.com,javatpoint.com,globalr
eurointegration.com.ua,gloria.hr,wfmz.com,allthetests.com,javatpoint.com,globalrph.com,carscoops.com,islamicfinder.org$$script[tag-content="error-report.com"]
worldhistory.org#%#//scriptlet('remove-node-text', 'script', 'adShield')
worldhistory.org$$script[tag-content="adShield"]
timesofindia.indiatimes.com,heraldm.com,pravda.com.ua,winfuture.de,text-compare.com,onlinegdb.com,dziennik.pl#%#//scriptlet('abort-on-stack-trace', 'document.getElementById', 'onerror')
infinityfree.com,timesofindia.indiatimes.com,heraldm.com,pravda.com.ua,winfuture.de,text-compare.com,onlinegdb.com,dziennik.pl#%#//scriptlet('abort-on-stack-trace', 'document.getElementById', 'onerror')
||thestar.co.uk/_build/main.*.js$replace=/\,a\w\whield:\w+//
*$document,csp=script-src-attr 'none',domain=lamire.jp|picrew.me|badmouth1.com|jin115.com|gloria.hr|etnews.com|sportsseoul.com|hoyme.jp|heraldm.com
||html-load.com^$domain=thesaurus.net|blog.esuteru.com|blog.livedoor.jp|carscoops.com|dziennik.pl|eurointegration.com.ua|flatpanelshd.com|fourfourtwo.co.kr|issuya.com|itainews.com|iusm.co.kr|logicieleducatif.fr|mydaily.co.kr|onlinegdb.com|pravda.com.ua|reportera.co.kr|sportsrec.com|taxguru.in|text-compare.com|thesaurus.net|thestar.co.uk|tweaksforgeeks.com|videogamemods.com|wfmz.com|winfuture.de|worldhistory.org|yorkshirepost.co.uk,redirect=noopjs
||html-load.com^$redirect=noopjs,domain=thesaurus.net|blog.esuteru.com|blog.livedoor.jp|carscoops.com|dziennik.pl|eurointegration.com.ua|flatpanelshd.com|fourfourtwo.co.kr|issuya.com|itainews.com|iusm.co.kr|logicieleducatif.fr|mydaily.co.kr|onlinegdb.com|pravda.com.ua|reportera.co.kr|sportsrec.com|taxguru.in|text-compare.com|thesaurus.net|thestar.co.uk|tweaksforgeeks.com|videogamemods.com|wfmz.com|winfuture.de|worldhistory.org|yorkshirepost.co.uk|infinityfree.com
blog.esuteru.com,blog.livedoor.jp,carscoops.com,dziennik.pl,eurointegration.com.ua,flatpanelshd.com,fourfourtwo.co.kr,issuya.com,itainews.com,iusm.co.kr,logicieleducatif.fr,mydaily.co.kr,onlinegdb.com,pravda.com.ua,reportera.co.kr,sportsrec.com,taxguru.in,text-compare.com,thestar.co.uk,tweaksforgeeks.com,videogamemods.com,wfmz.com,winfuture.de,worldhistory.org,yorkshirepost.co.uk#%#//scriptlet('prevent-setTimeout', 'error-report.com')
thesaurus.net#%#//scriptlet('prevent-setTimeout', 'loader.min.js')
tweaksforgeeks.com#%#//scriptlet('remove-node-text', 'script', 'KCgpPT57bGV0IGU')
! Stylesheet is loaded by html-load.com script, so we need to add it manually be retriving it from "[wp-data]" attribute (it's base64 encoded)
infinityfree.com#%#AG_onLoad((function(){try{const t=document.querySelector('script[wp-data][src*="html-load.com"]');if(!t)return;const e=t.getAttribute("wp-data"),r=atob(e),o=(new DOMParser).parseFromString(r,"text/html").querySelector('link[rel="stylesheet"]');t.after(o)}catch(t){console.error("Could not retrive stylesheet",t)}}));
! For Firefox only because it cannot update JS rules
!+ PLATFORM(ext_ff)
infinityfree.com#%#//scriptlet('trusted-create-element', 'head', 'link', 'rel="stylesheet" href="https://dash.infinityfree.com/build/assets/clients-041be5e3.css"')
! Workaround also for iOS, where we cannot apply url blocking rule
! Related to https://github.com/AdguardTeam/FiltersCompiler/issues/226
! After implementation, we could add any rules for AdGuard for iOS only with Advanced Protection