Files
AIsouler-GKD_subscription/src/apps/com.zzw.october.ts
BreezyOrigin c7d890bb82 feat(志愿汇): 开屏广告 (#1390)
* feat(志愿汇): 开屏广告

* feat(志愿汇): 规则优化

---------

Co-authored-by: lisonge <i@songe.li>
2023-10-26 22:43:27 +08:00

51 lines
1.3 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.zzw.october',
name: '志愿汇',
groups: [
{
key: 1,
name: '开屏广告',
activityIds: ['com.zzw.october.LaunchActivity'],
rules: [
{
key: 1,
desc: '方形按钮-开屏广告',
quickFind: true,
matches: ['[id="com.zzw.october:id/skip_parent_view"]'],
snapshotUrls: ['https://i.gkd.li/import/12842667'],
},
{
key: 2,
desc: '圆形按钮-开屏广告',
quickFind: true,
matches: 'TextView[text^="跳过"][text.length<=4]',
snapshotUrls: [
'https://i.gkd.li/import/12842724',
'https://i.gkd.li/import/13160835',
],
},
],
},
{
key: 2,
name: '主页广告',
activityIds: ['com.zzw.october.MainActivity'],
matchLauncher: true,
rules: [
{
key: 1,
quickFind: true,
matches:
'[id="com.zzw.october:id/interact_ad_root"] >n ImageView[id="com.zzw.october:id/iv_close"]',
snapshotUrls: [
'https://i.gkd.li/import/12842675',
'https://i.gkd.li/import/12869369',
],
},
],
},
],
});