mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
feat: 移除 rule.desc 字段
This commit is contained in:
@@ -11,7 +11,7 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '自动签到',
|
||||
name: '自动签到',
|
||||
matches: ['[id="com.alicloud.databox:id/tvTaskAction"][text="领取"]'],
|
||||
snapshotUrls: 'https://i.gkd.li/import/12929318',
|
||||
quickFind: true,
|
||||
@@ -19,7 +19,7 @@ export default defineAppConfig({
|
||||
{
|
||||
key: 1,
|
||||
preKeys: [0],
|
||||
desc: '在签到后,关闭弹窗',
|
||||
name: '在签到后,关闭弹窗',
|
||||
matches: ['[id="com.alicloud.databox:id/ivClose"]'],
|
||||
snapshotUrls: 'https://i.gkd.li/import/13038304',
|
||||
quickFind: true,
|
||||
|
||||
@@ -146,7 +146,7 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '点击右上角x关闭',
|
||||
name: '点击右上角x关闭',
|
||||
matches:
|
||||
'View[childCount=3] > @View[clickable=true][childCount=1] > Image',
|
||||
snapshotUrls: [
|
||||
@@ -156,7 +156,7 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '点击正下方x关闭',
|
||||
name: '点击正下方x关闭',
|
||||
matches:
|
||||
'@TextView[clickable=true && text=null] - FrameLayout TextView[text="广告"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13168383',
|
||||
|
||||
@@ -39,7 +39,7 @@ export default defineAppConfig({
|
||||
name: '右侧悬浮广告',
|
||||
rules: [
|
||||
{
|
||||
desc: '信用卡、我的页面-悬浮广告',
|
||||
name: '信用卡、我的页面-悬浮广告',
|
||||
activityIds: [
|
||||
'com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2',
|
||||
'com.cmbchina.ccd.pluto.cmbActivity.secondNav.cmbBQDU4FG',
|
||||
@@ -52,7 +52,7 @@ export default defineAppConfig({
|
||||
],
|
||||
},
|
||||
{
|
||||
desc: '查账页面-悬浮广告',
|
||||
name: '查账页面-悬浮广告',
|
||||
activityIds: [
|
||||
'com.cmbchina.ccd.pluto.cmbActivity.CMBRootActivityV2',
|
||||
'com.cmbchina.ccd.pluto.cmbActivity.repaymentBillv3.billRepay.view.cmbK99GNX',
|
||||
|
||||
@@ -19,8 +19,7 @@ export default defineAppConfig({
|
||||
],
|
||||
},
|
||||
{
|
||||
name: '另一种倒计时广告',
|
||||
desc: '此广告要点击文字相邻的图片,如果直接点击文字会无反应或者触发广告跳转',
|
||||
name: '另一种倒计时广告', // 此广告要点击文字相邻的图片,如果直接点击文字会无反应或者触发广告跳转
|
||||
matches:
|
||||
'[id="com.dongqiudi.news:id/ad_skip_time"] + [id="com.dongqiudi.news:id/scale_iv"]',
|
||||
snapshotUrls: [
|
||||
|
||||
@@ -39,7 +39,7 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '参与调研',
|
||||
name: '参与调研',
|
||||
matches:
|
||||
'FrameLayout + RelativeLayout > RelativeLayout > ImageView + ImageView[desc!="返回"][visibleToUser=true]',
|
||||
snapshotUrls: [
|
||||
@@ -49,7 +49,7 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '邀好友得红包',
|
||||
name: '邀好友得红包',
|
||||
matches:
|
||||
'@ImageView[id!=null] + FrameLayout[childCount=3] > ImageView + LinearLayout + TextView',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13242002',
|
||||
|
||||
@@ -35,7 +35,7 @@ export default defineAppConfig({
|
||||
// 正常安装
|
||||
{
|
||||
key: 0,
|
||||
desc: '点击【继续安装】',
|
||||
name: '点击【继续安装】',
|
||||
activityIds: [
|
||||
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
|
||||
'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
@@ -49,7 +49,7 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '点击【继续安装】',
|
||||
name: '点击【继续安装】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches: '@[text="继续安装"] + [text="取消安装"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889120',
|
||||
@@ -58,7 +58,7 @@ export default defineAppConfig({
|
||||
// 需勾选【已了解此应用未经安全检测】才能继续安装
|
||||
{
|
||||
key: 2,
|
||||
desc: '勾选【已了解此应用未经安全检测】',
|
||||
name: '勾选【已了解此应用未经安全检测】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches:
|
||||
'[id="com.miui.packageinstaller:id/install_checked"][checked=false]',
|
||||
@@ -71,7 +71,7 @@ export default defineAppConfig({
|
||||
// 需勾选【已了解此应用存在高风险】才能继续安装
|
||||
{
|
||||
key: 3,
|
||||
desc: '点击【了解风险】',
|
||||
name: '点击【了解风险】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches: '@[text="了解风险"] + [text="取消安装"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889135',
|
||||
@@ -79,7 +79,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: 3,
|
||||
key: 4,
|
||||
desc: '勾选【已了解此应用存在高风险】',
|
||||
name: '勾选【已了解此应用存在高风险】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches:
|
||||
'[id="com.miui.packageinstaller:id/install_checked"][checked=false]',
|
||||
@@ -91,7 +91,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: 4,
|
||||
key: 5,
|
||||
desc: '点击【仍然安装】',
|
||||
name: '点击【仍然安装】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches: '@[text="仍然安装"] + [text="取消安装"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12889148',
|
||||
@@ -101,7 +101,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [0, 1, 5],
|
||||
key: 6,
|
||||
desc: '点击【完成】',
|
||||
name: '点击【完成】',
|
||||
activityIds: [
|
||||
'com.miui.packageInstaller.ui.normalmode.InstallProgressActivity',
|
||||
'com.miui.packageInstaller.InstallProgressActivity',
|
||||
@@ -123,7 +123,7 @@ export default defineAppConfig({
|
||||
// 正常更新
|
||||
{
|
||||
key: 0,
|
||||
desc: '点击【继续更新】',
|
||||
name: '点击【继续更新】',
|
||||
activityIds: [
|
||||
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
|
||||
'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
@@ -137,7 +137,7 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '点击【继续更新】',
|
||||
name: '点击【继续更新】',
|
||||
activityIds: 'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
matches: '@[text="继续更新"] + [text="取消更新"]',
|
||||
snapshotUrls: [
|
||||
@@ -149,7 +149,7 @@ export default defineAppConfig({
|
||||
// 需勾选【已了解此安装包未经安全检测】才能继续更新
|
||||
{
|
||||
key: 2,
|
||||
desc: '勾选【已了解此安装包未经安全检测】',
|
||||
name: '勾选【已了解此安装包未经安全检测】',
|
||||
activityIds: [
|
||||
'com.miui.packageInstaller.ui.InstallPrepareAlertActivity',
|
||||
'com.miui.packageInstaller.NewInstallerPrepareActivity',
|
||||
@@ -166,7 +166,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [0, 1],
|
||||
key: 3,
|
||||
desc: '点击【完成】',
|
||||
name: '点击【完成】',
|
||||
activityIds: [
|
||||
'com.miui.packageInstaller.ui.normalmode.InstallProgressActivity',
|
||||
'com.miui.packageInstaller.InstallProgressActivity',
|
||||
|
||||
@@ -11,7 +11,7 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '点击【继续安装】',
|
||||
name: '点击【继续安装】',
|
||||
activityIds:
|
||||
'com.oplus.appdetail.model.guide.ui.InstallGuideActivity',
|
||||
matches:
|
||||
@@ -26,14 +26,14 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '点击【完成】',
|
||||
name: '点击【完成】',
|
||||
activityIds: 'com.oplus.appdetail.model.finish.InstallFinishActivity',
|
||||
matches: '[id="com.oplus.appdetail:id/launch_button"][text="完成"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13038664',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
desc: '点击【完成】',
|
||||
name: '点击【完成】',
|
||||
activityIds: 'com.oplus.appdetail.model.finish.InstallFinishActivity',
|
||||
matches: '[id="com.oplus.appdetail:id/done_button"][text="完成"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13054849',
|
||||
|
||||
@@ -39,7 +39,7 @@ export default defineAppConfig({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
desc: '88VIP开通优惠弹窗',
|
||||
name: '88VIP开通优惠弹窗',
|
||||
activityIds: [
|
||||
'com.taobao.tao.welcome.Welcome',
|
||||
'com.taobao.tao.TBMainActivity',
|
||||
|
||||
@@ -29,7 +29,7 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '点击【更多】按钮',
|
||||
name: '点击【更多】按钮',
|
||||
matches:
|
||||
'FrameLayout[id="android:id/content"][childCount=1] >n [text="广告"] +n [id="com.tencent.news:id/dislike_streamAd_more"]',
|
||||
snapshotUrls: [
|
||||
@@ -41,7 +41,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [0],
|
||||
key: 1,
|
||||
desc: '点击【不感兴趣】按钮',
|
||||
name: '点击【不感兴趣】按钮',
|
||||
matches:
|
||||
'[id="com.tencent.news:id/dislike_reason_view"] >n [text="不感兴趣"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/12755852',
|
||||
|
||||
@@ -49,7 +49,7 @@ export default defineAppConfig({
|
||||
activityIds: ['com.tencent.qqlive.ona.activity.SplashHomeActivity'],
|
||||
rules: [
|
||||
{
|
||||
desc: '点击右上角[广告]',
|
||||
name: '点击右上角[广告]',
|
||||
matches:
|
||||
'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true]',
|
||||
snapshotUrls: [
|
||||
@@ -58,12 +58,12 @@ export default defineAppConfig({
|
||||
],
|
||||
},
|
||||
{
|
||||
desc: '点击右上角[关闭广告]',
|
||||
name: '点击右上角[关闭广告]',
|
||||
matches: '[text="关闭广告"][clickable=true]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700518'],
|
||||
},
|
||||
{
|
||||
desc: '点击右上角[广告]',
|
||||
name: '点击右上角[广告]',
|
||||
matches:
|
||||
'RelativeLayout[id=null] > @FrameLayout[clickable=true][id!=null] > ImageView[desc="the ad tag"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12737313',
|
||||
|
||||
@@ -118,14 +118,14 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
desc: '自动签到',
|
||||
name: '自动签到',
|
||||
matches: ['FrameLayout > TextView[text="领取今日现金"]'],
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13201422',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
preKeys: [0],
|
||||
desc: '在签到后关闭弹窗',
|
||||
name: '在签到后关闭弹窗',
|
||||
matches: ['FrameLayout > TextView[text="明日继续来领"]'],
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/13205634',
|
||||
},
|
||||
|
||||
@@ -143,7 +143,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [10],
|
||||
key: 100,
|
||||
desc: '反馈弹窗-点击“不感兴趣”',
|
||||
name: '反馈弹窗-点击“不感兴趣”',
|
||||
matches:
|
||||
'[id="com.zhihu.android:id/recycler_view"] > FrameLayout >(3) [text$="不感兴趣"]',
|
||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12647541'],
|
||||
|
||||
@@ -11,14 +11,14 @@ export default defineAppConfig({
|
||||
rules: [
|
||||
{
|
||||
key: 1,
|
||||
desc: '方形按钮-开屏广告',
|
||||
name: '方形按钮-开屏广告',
|
||||
quickFind: true,
|
||||
matches: ['[id="com.zzw.october:id/skip_parent_view"]'],
|
||||
snapshotUrls: ['https://i.gkd.li/import/12842667'],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
desc: '圆形按钮-开屏广告',
|
||||
name: '圆形按钮-开屏广告',
|
||||
quickFind: true,
|
||||
matches: 'TextView[text^="跳过"][text.length<=4]',
|
||||
snapshotUrls: [
|
||||
|
||||
@@ -41,7 +41,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [0, 1],
|
||||
key: 10,
|
||||
desc: '打赏页面-点击返回按钮',
|
||||
name: '打赏页面-点击返回按钮',
|
||||
activityIds: [
|
||||
'local.z.androidshared.vip.RewardActivity',
|
||||
'local.z.androidshared.pay.RewardActivity',
|
||||
@@ -55,7 +55,7 @@ export default defineAppConfig({
|
||||
{
|
||||
preKeys: [0, 1],
|
||||
key: 11,
|
||||
desc: '荣誉会员-点击返回按钮',
|
||||
name: '荣誉会员-点击返回按钮',
|
||||
activityIds: [
|
||||
'local.z.androidshared.vip.member.VipActivity',
|
||||
'local.z.androidshared.pay.vip.VipActivity',
|
||||
|
||||
@@ -198,7 +198,6 @@ type RuleConfig = {
|
||||
key?: number;
|
||||
|
||||
name?: string;
|
||||
desc?: string;
|
||||
|
||||
/**
|
||||
* 一个或者多个合法的 GKD 选择器, 如果每个选择器都能匹配上节点, 那么点击最后一个选择器的目标节点
|
||||
|
||||
Reference in New Issue
Block a user