Files
AIsouler-GKD_subscription/src/apps/com.xsj.app.ts
Kun Jinkao 3bee0a4f32 feat(星影视频): 开屏广告、弹窗广告(补充规则) (#3173)
* feat 开屏广告

* feat 弹窗广告(补充规则)
2023-12-15 20:30:19 +08:00

40 lines
1.0 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xsj.app',
name: '星影视频',
groups: [
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: '[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/13670193',
},
{
key: 1,
name: '弹窗广告',
rules: [
{
key: 0,
name: '腾讯广告',
activityIds: 'com.xsj.app.MainActivity',
matches:
'ImageView -2 FrameLayout > FrameLayout[childCount=1] > ImageView[childCount=0]',
snapshotUrls: 'https://i.gkd.li/import/13625504',
},
{
key: 1,
activityIds: 'com.qq.e.ads.ADActivity',
matches:
'FrameLayout[childCount=3] > TextView[text!=""] + @ImageView[clickable=true][visibleToUser=true]',
snapshotUrls: 'https://i.gkd.li/import/13670176',
},
],
},
],
});