Files
AIsouler-GKD_subscription/src/apps/com.wondertek.paper.ts
walklty 7b3503e778 feat(澎湃新闻): 开屏广告-规则优化(#1320)
* Update com.wondertek.paper.ts

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-10-24 00:38:21 +08:00

38 lines
1.1 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.wondertek.paper',
name: '澎湃新闻',
groups: [
{
key: 1,
name: '开屏广告',
activityIds: ['cn.thepaper.paper.ui.splash.welcome.LaunchActivity'],
matchLauncher: true,
rules: [
{
matches:
'[id="com.wondertek.paper:id/count_down" || id="com.wondertek.paper:id/count_miss"]',
snapshotUrls: [
'https://gkd-kit.gitee.io/import/12644536',
'https://gkd-kit.gitee.io/import/12645559',
'https://gkd-kit.gitee.io/import/13064620', //matchLauncher
],
},
],
},
{
key: 2,
name: '应用内弹窗',
activityIds: ['cn.thepaper.paper.ui.main.MainActivity'],
rules: [
{
matches:
'[id="com.wondertek.paper:id/second_num"] <2 [id="com.wondertek.paper:id/relative_layout"] + [id="com.wondertek.paper:id/close_photo"]',
snapshotUrls: ['https://gkd-kit.gitee.io/import/12899226'],
},
],
},
],
});