feat(次元城动漫): 广告弹窗(补充规则) (#3091)

This commit is contained in:
Kun Jinkao
2023-12-11 20:50:52 +08:00
committed by GitHub
parent 85353bc877
commit 75a660b9a8

View File

@@ -27,18 +27,30 @@ export default defineAppConfig({
matchTime: 10000, matchTime: 10000,
actionMaximum: 1, actionMaximum: 1,
resetMatch: 'app', resetMatch: 'app',
activityIds: 'com.jarworld.bleach.bvn.sjm.cyc.MainActivity',
rules: [ rules: [
{ {
key: 0,
activityIds: 'com.jarworld.bleach.bvn.sjm.cyc.MainActivity',
quickFind: true, quickFind: true,
matches: '[text*="跳过"][text.length<=10]', matches: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13626949', snapshotUrls: 'https://i.gkd.li/import/13626949',
}, },
{ {
key: 1,
activityIds: 'com.jarworld.bleach.bvn.sjm.cyc.MainActivity',
matches: matches:
'[id="com.jarworld.bleach.bvn.sjm.cyc:id/ksad_container"] ViewGroup[childCount=1] > @ViewGroup[clickable=true][childCount=1] > ImageView', '[id="com.jarworld.bleach.bvn.sjm.cyc:id/ksad_container"] ViewGroup[childCount=1] > @ViewGroup[clickable=true][childCount=1] > ImageView',
snapshotUrls: 'https://i.gkd.li/import/13626950', snapshotUrls: 'https://i.gkd.li/import/13626950',
}, },
{
key: 2,
activityIds: 'com.kwad.sdk.api.proxy.app.KsRewardVideoActivity',
matches: [
'WebView > View > View > [text="广告"]',
'ViewGroup[childCount=2] > @ViewGroup[childCount=1] > ImageView[childCount=0]',
],
snapshotUrls: 'https://i.gkd.li/import/13635410',
},
], ],
}, },
], ],