perf: 弹窗广告 (适配fastQuery)

This commit is contained in:
AIsouler
2024-11-10 22:57:34 +08:00
parent 136e0820f8
commit b0d1f033a4
85 changed files with 499 additions and 291 deletions

View File

@@ -10,15 +10,22 @@ export default defineGkdApp({
desc: '点击关闭',
rules: [
{
activityIds: 'com.example.yr.MainActivity',
key: 0,
fastQuery: true,
activityIds: '.MainActivity',
matches:
'[id="android:id/content"] >(3,4) FrameLayout[childCount>3] > FrameLayout[childCount=1] > ImageView',
exampleUrls:
'https://m.gkd.li/57941037/e5ab8198-9705-4976-8a24-7d128b9a576e',
snapshotUrls: [
'https://i.gkd.li/i/16115831',
'https://i.gkd.li/i/16115830',
],
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null] <2 FrameLayout[childCount=5] + FrameLayout[childCount=2] > [text^="立即" || text="查看详情" || text="了解更多" || text="去逛逛" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
exampleUrls: 'https://e.gkd.li/be778e3c-e2fd-4223-842d-9cbbc0fb0bbb',
snapshotUrls: 'https://i.gkd.li/i/16115831',
},
{
key: 1,
fastQuery: true,
activityIds: '.MainActivity',
matches:
'@ImageView[childCount=0][text=null][desc=null][id=null][visibleToUser=true][width<90 && height<90] < FrameLayout[childCount=1][text=null][desc=null][id=null][parent.childCount>3] +n FrameLayout >(1,2) [text^="立即" || text="查看详情" || text="了解更多" || text="去微信看看" || text$="应用" || text="进入小程序" || text="领取优惠" || text="跳转微信"]',
exampleUrls: 'https://e.gkd.li/3c5ff634-fe35-4ceb-8e67-565ab3367313',
snapshotUrls: 'https://i.gkd.li/i/16115830',
},
],
},