Files
AIsouler-GKD_subscription/src/apps/com.xuexiaoyi.xxy.ts
jiuqianyuan d2753397bf feat: 删除问题quickFind (#2985)
删除开屏规则[id="com.byted.pangle:id/tt_splash_skip_btn"]的quickFind属性。
快照中[id="com.byted.pangle:id/tt_splash_skip_btn"]可快速查找系GKD标识错误。
- https://github.com/gkd-kit/gkd/issues/369
2023-12-11 21:21:01 +08:00

95 lines
2.8 KiB
TypeScript

import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.xuexiaoyi.xxy',
name: '学小易',
groups: [
{
key: 0,
name: '开屏广告',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: 'View[id="com.byted.pangle:id/tt_splash_skip_btn"]',
snapshotUrls: [
'https://i.gkd.li/import/12895001',
'https://i.gkd.li/import/13266314',
],
},
{
key: 1,
name: '首页-底部广告',
activityIds: [
'com.xuexiaoyi.entrance.main.MainActivity',
'com.xuexiaoyi.platform.base.arch.RouterFragmentActivity',
],
rules: [
{
key: 0,
name: '点击在下方的X',
matches: [
'View[text="广告"&&longClickable=null] < View <n View <n View > View > Image[text.length=0]', // longClickable=null为了与 key:3 区别防止误触
],
snapshotUrls: [
'https://i.gkd.li/import/13068836',
'https://i.gkd.li/import/13375502',
'https://i.gkd.li/import/13375559',
],
},
{
key: 1,
name: '点击在上方的X-类型1',
matches: [
'Image[text.length>=20] < View < View + View > Image[text.length=0]',
],
snapshotUrls: [
'https://i.gkd.li/import/13068811',
'https://i.gkd.li/import/13202990',
'https://i.gkd.li/import/13266356',
'https://i.gkd.li/import/13266362',
'https://i.gkd.li/import/13457114',
'https://i.gkd.li/import/13457204',
],
},
{
key: 2,
name: '点击在上方的X-类型2',
matches: [
'[text.length>=2&&text.length<=6] < FrameLayout -n FrameLayout > View',
],
snapshotUrls: ['https://i.gkd.li/import/13266689'],
},
{
key: 3,
name: '点击在内部的X',
matches: 'View[text.length=4] - View > View > Image[text.length=0]',
snapshotUrls: [
'https://i.gkd.li/import/13457210',
'https://i.gkd.li/import/13457302',
],
},
{
preKeys: [0, 1, 2, 3],
key: 10,
name: '点击不感兴趣',
matches: 'TextView[text="不感兴趣"]',
snapshotUrls: [
'https://i.gkd.li/import/13068819',
'https://i.gkd.li/import/13457380',
],
},
],
},
{
key: 10,
name: '升级弹窗',
desc: '自动点击以后再说。',
activityIds: 'com.xuexiaoyi.entrance.main.MainActivity',
enable: false,
quickFind: true,
rules: '[text="立即体验"] + [text="以后再说"]',
snapshotUrls: 'https://i.gkd.li/import/13203105',
},
],
});