mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 08:15:11 +08:00
62 lines
1.5 KiB
TypeScript
62 lines
1.5 KiB
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
|
|
|
export default defineGkdApp({
|
|
id: 'com.tencent.docs',
|
|
name: '腾讯文档',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
fastQuery: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
priorityTime: 10000,
|
|
rules: [
|
|
{
|
|
matches: '@LinearLayout > [id="com.tencent.docs:id/tv_gdt_ad_text"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13198082',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新提示',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
activityIds: '.DocsFlutterActivity',
|
|
matches: '@[desc="暂不更新"] + [desc="现在更新"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13198091',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '局部广告-卡片广告',
|
|
rules: [
|
|
{
|
|
activityIds: 'com.tencent.docs.DocsFlutterActivity',
|
|
matches: '@ImageView[clickable=true] - [desc="限时购买"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/13198097',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '全屏广告-弹窗广告',
|
|
rules: [
|
|
{
|
|
actionDelay: 200,
|
|
activityIds: 'com.tencent.docs.DocsFlutterActivity',
|
|
matches:
|
|
'View[childCount=2] > @TextView[id=null][clickable=true] + View',
|
|
snapshotUrls: 'https://i.gkd.li/i/13242404',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|