Files
AIsouler-GKD_subscription/src/apps/com.jianshu.haruki.ts
Venture4241 405f9da0b4 perf: 项目合并 (#272)
Signed-off-by: Venture4241 <zjiwgod@qq.com>
Co-authored-by: jiuqianyuan <39406781+jiuqianyuan@users.noreply.github.com>
Co-authored-by: AIsouler <zy43220@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-14 20:21:20 +08:00

52 lines
1.2 KiB
TypeScript

import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.jianshu.haruki',
name: '简书',
groups: [
{
key: 1,
name: '全屏广告-VIP弹窗',
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
activityIds: 'com.baiji.jianshu.ui.splash.SplashScreenActivity',
matches: '[id="com.jianshu.haruki:id/dialog_lucky_prize_close"]',
snapshotUrls: 'https://i.gkd.li/i/13327286',
},
],
},
{
key: 2,
name: '更新提示',
fastQuery: true,
actionMaximum: 1,
matchTime: 10000,
resetMatch: 'app',
rules: [
{
action: 'back',
matches: '[text="升级到最新版本"]',
snapshotUrls: 'https://i.gkd.li/i/15989275',
},
],
},
{
key: 3,
name: '局部广告-首页信息流广告',
desc: '点击关闭',
fastQuery: true,
rules: [
{
matches: 'ImageView[vid="nativeAdClose"]',
activityIds: 'com.baiji.jianshu.MainActivity',
snapshotUrls: 'https://i.gkd.li/i/16201541',
},
],
},
],
});