mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-24 02:35:25 +08:00
69 lines
2.1 KiB
TypeScript
69 lines
2.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.taobao.etao',
|
|
name: '一淘',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '开屏广告',
|
|
activityIds: 'com.taobao.sns.app.advertise.SplashAdActivity',
|
|
rules: '[id!=null][text^="跳过"][clickable=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12727451',
|
|
},
|
|
{
|
|
key: 1,
|
|
name: '更新弹窗',
|
|
activityIds: [
|
|
'com.taobao.etao.app.homev4.HomeV4Activity',
|
|
'com.taobao.etao.app.home.view.NewHomeActivity',
|
|
'com.miui.home.launcher.Launcher',
|
|
],
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[text="更新提示"] < LinearLayout < LinearLayout +(2) ScrollView >(2) [text="取消"]',
|
|
snapshotUrls: [
|
|
'https://i.gkd.li/import/12684250',
|
|
'https://i.gkd.li/import/12727457', // activityId: 'com.taobao.etao.app.home.view.NewHomeActivity'
|
|
'https://i.gkd.li/import/12684244', // activityId: 'com.miui.home.launcher.Launcher'
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 2,
|
|
name: '首页广告弹窗',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
activityIds: 'com.taobao.etao.app.home.view.NewHomeActivity',
|
|
matches:
|
|
'LinearLayout > FrameLayout + RelativeLayout > ImageView[id!=null][visibleToUser=true]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12739581',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
enable: false,
|
|
key: 10,
|
|
name: '请求打开系统通知提示信息',
|
|
desc: '自动点击提示信息的x按钮',
|
|
rules: [
|
|
{
|
|
activityIds: ['com.taobao.sns.app.message.MessageActivity'],
|
|
matches:
|
|
'[text^="打开消息通知"] + [text="去开启"] + ImageView[clickable=true]',
|
|
snapshotUrls: ['https://i.gkd.li/import/12684278'],
|
|
},
|
|
{
|
|
activityIds: ['com.taobao.etao.mine.MetaXMineActivity'],
|
|
matches:
|
|
'[text^="打开消息通知"] + FrameLayout > [text="去开启"] < FrameLayout + ImageView[clickable=true]',
|
|
snapshotUrls: ['https://i.gkd.li/import/12684351'],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|