Files
AIsouler-GKD_subscription/src/apps/com.yoloho.dayima.ts
2024-12-05 23:25:12 +08:00

45 lines
1.4 KiB
TypeScript

import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.yoloho.dayima',
name: '大姨妈',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
priorityTime: 10000,
rules: [
{
matches:
'FrameLayout > FrameLayout[childCount>2] > @View[clickable=true][text=null][visibleToUser=true] + TextView[visibleToUser=true][text=null][index=parent.childCount.minus(1)]',
snapshotUrls: [
'https://i.gkd.li/i/14665571',
'https://i.gkd.li/i/13800282',
],
},
],
},
{
key: 1,
name: '全屏广告-弹窗广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
key: 0,
name: '腾讯SDK',
fastQuery: true,
activityIds: '.activity.MainPageActivity',
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="跳转微信"]',
snapshotUrls: 'https://i.gkd.li/i/13800255',
},
],
},
],
});