mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
57 lines
1.8 KiB
TypeScript
57 lines
1.8 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.seebaby',
|
|
name: '掌通家园',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: ['com.seebaby.login.ui.activity.LauncherActivity'],
|
|
rules: '[text^="跳过"][text.length<10]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12705347', // 有id
|
|
'https://i.gkd.li/import/13421495', // 无id
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新弹窗',
|
|
activityIds: ['com.seebaby.login.ui.activity.LauncherActivity'],
|
|
rules: '@[id="com.seebaby:id/btn_later"] + [text$="新版本"]',
|
|
snapshotUrls: ['https://i.gkd.li/import/12705351'],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '信息流、文章底部广告',
|
|
activityIds: [
|
|
'com.seebaby.login.ui.activity.LauncherActivity',
|
|
'com.seebaby.parent.article.ui.activity.NativeArticleDetailActivity',
|
|
],
|
|
rules: [
|
|
{
|
|
key: 1,
|
|
matches:
|
|
'[id="com.seebaby:id/tv_ad_detail"] + [id="com.seebaby:id/ic_delad"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12705353', // activityId: 'com.seebaby.login.ui.activity.LauncherActivity'
|
|
'https://i.gkd.li/import/12705363', // activityIds: 'com.seebaby.parent.article.ui.activity.NativeArticleDetailActivity'
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
matches:
|
|
'[id="com.seebaby:id/ad_tv_advertiser"] + [id="com.seebaby:id/ad_iv_close"]',
|
|
snapshotUrls: ['https://i.gkd.li/import/12705372'],
|
|
},
|
|
{
|
|
preKeys: [1, 2],
|
|
key: 3,
|
|
matches: '[id="com.seebaby:id/tv_un_instrest"]',
|
|
snapshotUrls: ['https://i.gkd.li/import/12705358'],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|