mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 01:04:53 +08:00
62 lines
1.5 KiB
TypeScript
62 lines
1.5 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.duitang.main',
|
|
name: '堆糖',
|
|
groups: [
|
|
{
|
|
name: '开屏广告',
|
|
key: 0,
|
|
matchTime: 10000,
|
|
resetMatch: 'app',
|
|
actionMaximum: 1,
|
|
rules: [
|
|
{
|
|
matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13202185',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: '青少年模式',
|
|
desc: '关闭青少年模式提醒弹窗',
|
|
key: 1,
|
|
actionMaximum: 1,
|
|
activityIds: ['com.duitang.main.business.main.NAMainActivity'],
|
|
rules: [
|
|
{
|
|
matches: '[id="com.duitang.main:id/teenGuideKnown"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13202230',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: '首页-推荐浏览广告',
|
|
desc: '关闭推荐浏览页面广告',
|
|
key: 2,
|
|
activityIds: ['com.duitang.main.business.main.NAMainActivity'],
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches: '[id="com.duitang.main:id/adOptionEntry"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13202725',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
name: '去商店评分',
|
|
desc: '点击[下次再说]',
|
|
key: 3,
|
|
actionMaximum: 1,
|
|
quickFind: true,
|
|
activityIds: ['com.miui.home.launcher.Launcher'],
|
|
rules: [
|
|
{
|
|
matches: '[id="com.duitang.main:id/scoreDuitangCancel"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13203217',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|