feat(OmoFun): 全屏广告、通知提示

This commit is contained in:
AIsouler
2024-08-08 21:04:27 +08:00
parent 6df09ab77d
commit 3789940b1a

View File

@@ -30,6 +30,31 @@ export default defineGkdApp({
matches: '[text="反馈"] -n @View[index=0] > Image', matches: '[text="反馈"] -n @View[index=0] > Image',
snapshotUrls: 'https://i.gkd.li/i/15444017', snapshotUrls: 'https://i.gkd.li/i/15444017',
}, },
{
key: 3,
fastQuery: true,
activityIds: 'com.banshenghuo.mobile.ofdm.MainActivity',
matches:
'ImageView[childCount=0][text=null] < @ViewGroup[clickable=true] < ViewGroup + ViewGroup > [text="广告"]',
exampleUrls: 'https://e.gkd.li/8bbf31e8-598b-4021-9136-8de189fc7cf9',
snapshotUrls: 'https://i.gkd.li/i/16548166',
},
],
},
{
key: 2,
name: '通知提示-公告弹窗',
desc: '点击[我知道了]',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: 'com.anythink.basead.ui.ATPortraitTranslucentActivity',
matches: '[desc="我知道了"]',
exampleUrls: 'https://e.gkd.li/327ea04c-acda-4913-a0a9-fdda9cd83dd7',
snapshotUrls: 'https://i.gkd.li/i/16548158',
},
], ],
}, },
], ],