mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-23 02:05:06 +08:00
61 lines
1.6 KiB
TypeScript
61 lines
1.6 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,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.jianshu.wireless.articleV2.X5ArticleDetailActivity',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
matches: '@[checked=false] + [text="忽略此版本"]',
|
|
exampleUrls: 'https://e.gkd.li/23662d6a-1858-4d97-9bc7-ef03ede9f316',
|
|
snapshotUrls: 'https://i.gkd.li/i/15989275',
|
|
},
|
|
{
|
|
preKeys: [0],
|
|
key: 1,
|
|
matches: '[text="取消"]',
|
|
exampleUrls: 'https://e.gkd.li/23662d6a-1858-4d97-9bc7-ef03ede9f316',
|
|
snapshotUrls: 'https://i.gkd.li/i/15989275',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '局部广告-首页信息流广告',
|
|
desc: '点击关闭',
|
|
rules: [
|
|
{
|
|
fastQuery: true,
|
|
activityIds: 'com.baiji.jianshu.MainActivity',
|
|
matches: 'ImageView[vid="nativeAdClose"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/16201541',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|