Fix/cl platforms (#227243)

* windows, mac, android => windows, mac, android, cli

* pt. 2

* pt. 3

* pt. 4
This commit is contained in:
Alex
2026-03-17 15:42:28 +02:00
committed by GitHub
parent 87c7051440
commit ba17ad78c1
55 changed files with 423 additions and 423 deletions

View File

@@ -9,7 +9,7 @@
! https://github.com/AdguardTeam/AdguardFilters/issues/225957
mnya.tw#@##advertise
! https://github.com/AdguardTeam/AdguardFilters/issues/225120
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
||republicworld.com/_app/immutable/assets/FloatAd.*.css$redirect-rule=nooptext
! https://github.com/AdguardTeam/AdguardFilters/issues/223843
xjwiki.github.io#@##pub_head
@@ -56,7 +56,7 @@ huya.com#@##banner
! https://github.com/AdguardTeam/AdguardFilters/issues/187167
@@||imasdk.googleapis.com/js/sdkloader/ima3.js$domain=nowplayer.now.com,important
! https://github.com/AdguardTeam/AdguardFilters/issues/183849
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
@@||s1-static.msstatic.com/mfe/huya_main/*.html$xmlhttprequest,elemhide,jsinject,content,extension,domain=huya.com
! 360doc.com - fixing frames with content (chat, security settings)
||360doc.com^*.html?t=$badfilter
@@ -159,7 +159,7 @@ gamersglobal.de#@#.gg-box
! https://github.com/AdguardTeam/AdguardFilters/issues/115152
@@||img*.kangaroobro.com/images/$image,domain=leyuman.com
! https://github.com/AdguardTeam/AdguardFilters/issues/114332
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
@@||cloud.189.cn/web/subapp/main.html$jsinject,elemhide,extension
! https://github.com/AdguardTeam/AdguardFilters/issues/114739
@@||amazonaws.com/storage.liveabc.com/ads/$domain=store.liveabc.com
@@ -170,7 +170,7 @@ gamersglobal.de#@#.gg-box
@@||520cc.cc/ad/520cc/images/logo3w.png
@@||520cc.cc/ad/520cc/images/tw_search_s.gif
! https://github.com/AdguardTeam/AdguardFilters/issues/99153
!+ NOT_PLATFORM(windows, mac, android, ext_chromium)
!+ NOT_PLATFORM(windows, mac, android, cli, ext_chromium)
@@||cnzz.com/z_stat.php?id=$domain=fapiao.bangnimang.net
! https://github.com/AdguardTeam/AdguardFilters/issues/97793
fuzhou.baixing.com#@#.ad-title

View File

@@ -240,7 +240,7 @@ rjno1.com#%#function preventError(d){window.addEventListener("error",function(a)
@@||img3.126.net/ntesrich/*/adControl-indexx-$script,domain=rjno1.com
||cpro.baidu.com/cpro/ui/rt.js$script,redirect=noopjs,domain=rjno1.com
||googleads.g.doubleclick.net/pagead/ads$subdocument,redirect=noopframe,domain=rjno1.com,important
!+ NOT_PLATFORM(windows, mac, android)
!+ NOT_PLATFORM(windows, mac, android, cli)
||126.net^$script,redirect=noopjs,domain=rjno1.com
!#if (!adguard_app_windows && !adguard_app_mac && !adguard_app_android && !adguard_ext_chromium && !adguard_ext_opera)
rjno1.com#@#ins.adsbygoogle[data-ad-client]
@@ -494,7 +494,7 @@ t66y.com#%#//scriptlet('prevent-setTimeout', 'html')
t66y.com#@#.tips
t66y.com#@#.sptable_do_not_remove
!#endif
!+ NOT_PLATFORM(windows, mac, android, ext_chromium, ext_edge)
!+ NOT_PLATFORM(windows, mac, android, cli, ext_chromium, ext_edge)
t66y.com#$?#.sptable_do_not_remove { display: block !important; visibility: hidden !important; }
||alicdn.com^$domain=t66y.com
||sinaimg.cn^$domain=t66y.com

View File

@@ -109,7 +109,7 @@ msn.cn#%#//scriptlet('json-prune', 'configs.*.properties.slideshowWCSettings.int
! which is set by "https://log.mmstat.com/eg.js" script, but it's blocked on DNS level, so we need to set cookie manually.
! Original cookie value is the same as ETag value from "https://log.mmstat.com/eg.js" response, but it's not static.
! So as a workaround we use hardcoded value from "https://g.alicdn.com/kplayer/kuplayer/4.5.26-xmedia/index.js" script.
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
v.youku.com#%#(()=>{const e="cna",t=()=>null!==document.cookie.match(new RegExp(`^${e}=|; ${e}=`));if(t())return;const o=new MutationObserver((()=>{const o=document.querySelector("preplay-layer > error-layer .preLayer-title");o&&o.textContent.includes("请关闭VPN代理软件或广告拦截插件后重试")&&!t()&&(document.cookie=`${e}=MwCHGEQKugYCAWoLKcbU0UGk;`,window.location.reload())})),n=document.documentElement;o.observe(n,{attributes:!0,childList:!0,subtree:!0}),setTimeout((()=>o.disconnect()),1e4)})();
! https://github.com/AdguardTeam/AdguardFilters/issues/34910
goodav17.com#%#//scriptlet("abort-on-property-read", "popunder")

View File

@@ -7,14 +7,14 @@
! https://github.com/AdguardTeam/AdguardFilters/issues/211243
! https://github.com/AdguardTeam/CoreLibs/issues/2003
! TODO: Remove when CoreLibs issue is fixed
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
||cdn.dingxiang-inc.com/ctu-group/constid-js/index.js$replace=/(^\/\*!.*?\*\/)/\$1try{const t=document.head\,e=document.createElement("style");e.type="text\/css"\,e.textContent=".wp > .a_t:has(> table > tbody > tr > td > .adsbygoogle) { display: none !important; }"\,t.appendChild(e)}catch(t){};/,domain=right.com.cn
! https://github.com/AdguardTeam/AdguardFilters/issues/158639
||yfsp.tv/app/*.js$replace=/this\.shouldSkipAds\|\|/!0||/
||iyf.tv/app/*.js$replace=/this\.shouldSkipAds\|\|/!0||/
||aiyifan.tv/app/*.js$replace=/this\.shouldSkipAds\|\|/!0||/
! https://github.com/AdguardTeam/AdguardFilters/issues/114470
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
||101.qq.com/js/base.js$replace=/(el\.getAttribute\("type"\) === "text\/javascript")/\(\$1 && !el\.getAttribute\("nonce"\)\)/
! https://github.com/AdguardTeam/AdguardFilters/issues/87176
! https://github.com/AdguardTeam/AdguardFilters/issues/54359

View File

@@ -2094,14 +2094,14 @@ netfly.*,netfly.tv##div[class*="tt-"] > a[target="_blank"] + span.tt-icon-close
! https://github.com/AdguardTeam/AdguardFilters/issues/210237
huavod.com,huaren.live#%#//scriptlet('set-constant', 'ConFig.config.ads', 'emptyObj')
! TODO: remove hints when this issue is resolved - https://github.com/AdguardTeam/Scriptlets/issues/517
!+ NOT_PLATFORM(windows, mac, android)
!+ NOT_PLATFORM(windows, mac, android, cli)
huavod.com,huaren.live#%#//scriptlet('trusted-replace-node-text', 'script', 'ConFig', 'let ConFig', 'var ConFig')
!#if (adguard_app_windows || adguard_app_mac || adguard_app_android)
||huavod.com/player/$replace=/let ConFig/var ConFig/,document,subdocument
||huaren.live/player/$replace=/let ConFig/var ConFig/,document,subdocument
!#endif
! https://github.com/AdguardTeam/AdguardFilters/issues/177520
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
/gmu-download.oss-$image,redirect-rule=1x1-transparent.gif,domain=voflix.vip
! https://github.com/AdguardTeam/AdguardFilters/issues/204700
! https://github.com/AdguardTeam/AdguardFilters/issues/202922
@@ -2171,7 +2171,7 @@ m.nivod2.com,m.nivod2.tv,m.nivod4.com,m.nivod4.tv,m.nivod5.tv,m.nivod7.tv,m.nivo
!
! https://github.com/AdguardTeam/AdguardFilters/issues/154676
! Website shows "Request failed with status code 500" error when request is blocked by apps
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
||adpai.thepaper.cn^$xmlhttprequest,redirect-rule=nooptext,domain=thepaper.cn
! yeyemo4.com
! frequently changed domain
@@ -2196,7 +2196,7 @@ $script,third-party,denyallow=cdn.yinghuazy.xyz|rsc.cdn77.org|linkvertise.com|fa
!+ NOT_PLATFORM(ext_ublock)
$script,third-party,denyallow=myqcloud.com|bytecdntp.com|pddpic.com|googletagmanager.com,domain=yjys.me
! https://github.com/AdguardTeam/AdguardForWindows/issues/4227
!+ PLATFORM(windows, mac, android)
!+ PLATFORM(windows, mac, android, cli)
doubibackup.com##body div.guangg
! fix infinite call
||52996.me/upload/ad/$media,redirect=noopmp4-1s