mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
perf: some rules
This commit is contained in:
@@ -727,6 +727,11 @@ const appDeprecatedKeys: RawDeprecatedKeysSetting[] = [
|
||||
name: '中国军号',
|
||||
deprecatedKeys: [1],
|
||||
},
|
||||
{
|
||||
id: 'com.alicloud.databox',
|
||||
name: '阿里云盘',
|
||||
deprecatedKeys: [2],
|
||||
},
|
||||
];
|
||||
|
||||
const map: Map<string, number[]> = new Map();
|
||||
|
||||
@@ -7,31 +7,51 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 2,
|
||||
name: '权限提示-通知权限',
|
||||
desc: '自动点击暂不开启。',
|
||||
desc: '点击[暂不开启]',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: 'TextView[id="com.able.wisdomtree:id/negativeButton"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'.widget.MyAlertDialog',
|
||||
'.login.MainGroupActivity',
|
||||
'com.example.advertisement_business.advertisement.AdvertisementActivity',
|
||||
],
|
||||
matches: [
|
||||
'[text="开启消息推送通知"][visibleToUser=true]',
|
||||
'[text="暂不开启"][visibleToUser=true]',
|
||||
],
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13458779',
|
||||
'https://i.gkd.li/i/13623441',
|
||||
'https://i.gkd.li/i/13695447',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
name: '更新提示',
|
||||
desc: '自动点击忽略',
|
||||
desc: '点击[忽略]',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[text="更新"] -n [text="忽略"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'.login.StartActivity',
|
||||
'com.example.advertisement_business.advertisement.AdvertisementActivity',
|
||||
],
|
||||
matches: ['[text="更新"] ', ' [text="忽略"]'],
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13458796',
|
||||
'https://i.gkd.li/i/13797285',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -12,6 +12,10 @@ export default defineGkdApp({
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'.ui.other.activity.MainActivity',
|
||||
'.ui.main.fragment.MainFragment$7$1',
|
||||
],
|
||||
matches: '[id$="/ivDis"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/12617201',
|
||||
|
||||
@@ -7,13 +7,14 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '青少年模式',
|
||||
desc: '点击"我知道了"',
|
||||
desc: '点击[我知道了]',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.ui.activity.NewHomeActivity',
|
||||
matches: '[vid="hintTextView2"] + [vid="confirmView"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14032203',
|
||||
},
|
||||
|
||||
@@ -11,10 +11,15 @@ export default defineGkdApp({
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules:
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.activity.HomeActivity',
|
||||
matches:
|
||||
'[id="com.alibaba.ailabs.tg:id/ll_download"] + [id="com.alibaba.ailabs.tg:id/va_dialog_cancel"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13296332',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '全屏广告-超级会员弹窗',
|
||||
|
||||
@@ -11,8 +11,13 @@ export default defineGkdApp({
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[text^="打开手机消息通知"] + * >2 [text="以后再说"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.biz.home.mine.activity.KFeeCenterActivity',
|
||||
matches: '[text^="打开手机消息通知"] + * >2 [text="以后再说"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13446162',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -38,10 +38,10 @@ export default defineGkdApp({
|
||||
],
|
||||
},
|
||||
{
|
||||
name: '功能类-自动点击原图',
|
||||
key: 3,
|
||||
actionMaximum: 1,
|
||||
name: '功能类-自动点击原图',
|
||||
fastQuery: true,
|
||||
actionMaximum: 1,
|
||||
activityIds:
|
||||
'com.alibaba.android.dingtalk.photoui.activitys.AlbumActivity',
|
||||
rules: [
|
||||
|
||||
@@ -15,6 +15,10 @@ export default defineGkdApp({
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
activityIds: [
|
||||
'.launch.home.V5HomeActivity',
|
||||
'.workbench.myali.MyAliSettingActivity',
|
||||
],
|
||||
matches: '[id="com.alibaba.wireless:id/update_button_cancel"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/12684422',
|
||||
@@ -23,6 +27,7 @@ export default defineGkdApp({
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
activityIds: '.launch.home.V5HomeActivity',
|
||||
matches: '[vid="update_pop_cancel_btn"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/15004486',
|
||||
},
|
||||
@@ -31,13 +36,21 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 2,
|
||||
name: '全屏广告-首页弹窗广告',
|
||||
desc: '点击关闭',
|
||||
rules: [
|
||||
{
|
||||
fastQuery: true,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds: 'com.alibaba.wireless.launch.home.V5HomeActivity',
|
||||
rules: 'WebView >n View > Image[text*="FXa-124-124"]',
|
||||
matches:
|
||||
'@Image[text*="FXa-124-124"][visibleToUser=true] <<n [id="com.alibaba.wireless:id/v_yacht_float_cell"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13683509',
|
||||
'https://i.gkd.li/i/13683510',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -12,8 +12,8 @@ export default defineGkdApp({
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds: [
|
||||
'com.alicloud.databox.MainActivity',
|
||||
'com.alicloud.databox.navigation.NavigationFragmentContainerActivity',
|
||||
'.MainActivity',
|
||||
'.navigation.NavigationFragmentContainerActivity',
|
||||
],
|
||||
rules: [
|
||||
{
|
||||
@@ -36,24 +36,18 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '全屏广告-活动弹窗',
|
||||
activityIds: 'com.alicloud.databox.MainActivity',
|
||||
rules:
|
||||
'[id="com.alicloud.databox:id/webContainer"] >5 View[childCount=3] > TextView[index=1]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13228610',
|
||||
'https://i.gkd.li/i/14235204',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '功能类-时光设备间页面自动点击“开心收下”',
|
||||
activityIds:
|
||||
'com.alipay.mobile.nebulax.integration.mpaas.activity.NebulaActivity$Main',
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'activity',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
rules: 'View[childCount=9] > @Image -2 View[childCount=5]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13596924',
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.MainActivity',
|
||||
matches:
|
||||
'@TextView[clickable=true][visibleToUser=true] - Image[text!=null] < View < View < View < WebView < WebView < [vid="webContainer"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14235204',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
@@ -64,6 +58,7 @@ export default defineGkdApp({
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.MainActivity',
|
||||
matches:
|
||||
'[text^="立即了解"] -3 @View[clickable=true] <<n [vid="webContainer"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13806865',
|
||||
@@ -76,9 +71,10 @@ export default defineGkdApp({
|
||||
desc: '关闭弹窗',
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.alicloud.databox.MainActivity',
|
||||
fastQuery: true,
|
||||
activityIds: '.MainActivity',
|
||||
matches:
|
||||
'[vid="webContainer"] >5 View[childCount=4] > TextView[index=3][clickable=true]',
|
||||
'@TextView[childCount=0][clickable=true][visibleToUser=true] <4 View[childCount=4] < View < View < WebView < WebView < [vid="webContainer"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14414446',
|
||||
},
|
||||
],
|
||||
@@ -86,9 +82,9 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 5,
|
||||
name: '功能类-扫描二维码登录时自动点击登录',
|
||||
fastQuery: true,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
fastQuery: true,
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.taobao.login4android.scan.QrScanActivity',
|
||||
@@ -126,13 +122,6 @@ export default defineGkdApp({
|
||||
matches: '[vid="close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/15433289',
|
||||
},
|
||||
// {
|
||||
// 误触,无法解决 https://i.gkd.li/i/17556779
|
||||
// key: 1,
|
||||
// activityIds: 'com.alicloud.databox.MainActivity',
|
||||
// matches: '[vid="ivTitleAction"]',
|
||||
// snapshotUrls: 'https://i.gkd.li/i/15524767',
|
||||
// },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -14,6 +14,8 @@ export default defineGkdApp({
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds:
|
||||
'com.pwrd.dls.marble.other.notification.NotificationDialogActivity',
|
||||
matches: '[vid="v_open"] + [vid="v_not"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13997956',
|
||||
},
|
||||
@@ -21,13 +23,16 @@ export default defineGkdApp({
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
fastQuery: true,
|
||||
name: '局部广告-左下角参与答题卡片',
|
||||
desc: '点击X',
|
||||
desc: '点击关闭',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.pwrd.dls.marble.moudle.homepage.HomePageActivity',
|
||||
matches: '[id="com.allhistory.dls.marble:id/iv_close"]',
|
||||
matches: ['[vid="iv_board"]', '[vid="iv_close"]'],
|
||||
snapshotUrls: 'https://i.gkd.li/i/13997954',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -33,8 +33,10 @@ export default defineGkdApp({
|
||||
key: 2,
|
||||
name: '更新提示',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
activityIds: '.MainActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
@@ -62,19 +64,31 @@ export default defineGkdApp({
|
||||
key: 3,
|
||||
name: '权限提示-定位权限',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[text="允许获取位置信息"] +n * > [text="取消"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.MainActivity',
|
||||
matches: '[text="允许获取位置信息"] +n * > [text="取消"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14208572',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 4,
|
||||
name: '权限提示-通知权限',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[vid="iv_notification_reminder_dialog_close"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.MainActivity',
|
||||
matches: '[vid="iv_notification_reminder_dialog_close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14208621',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -8,10 +8,12 @@ export default defineGkdApp({
|
||||
key: 1,
|
||||
name: '全屏广告-弹窗广告',
|
||||
desc: '点击关闭',
|
||||
fastQuery: true,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
fastQuery: true,
|
||||
activityIds:
|
||||
'com.mobile.businesshall.ui.common.RecommendPopupActivity',
|
||||
matches: '[vid="img_close_btn"][clickable=true][visibleToUser=true]',
|
||||
|
||||
@@ -7,16 +7,25 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '功能类-允许第三方应用访问文件夹',
|
||||
desc: '点击允许',
|
||||
rules: [
|
||||
{
|
||||
fastQuery: true,
|
||||
activityIds: 'com.android.documentsui.picker.PickActivity',
|
||||
rules: '[text="取消"] + [text="允许"]',
|
||||
matches: [
|
||||
'[text^="要允许"][visibleToUser=true]',
|
||||
'[text="允许"][visibleToUser=true]',
|
||||
],
|
||||
snapshotUrls: 'https://i.gkd.li/i/13801468',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
fastQuery: true,
|
||||
name: '功能类-使用此文件夹',
|
||||
rules: [
|
||||
{
|
||||
fastQuery: true,
|
||||
activityIds: 'com.android.documentsui.picker.PickActivity',
|
||||
matches: '[text="使用此文件夹"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13916082',
|
||||
|
||||
@@ -8,11 +8,15 @@ export default defineGkdApp({
|
||||
key: 1,
|
||||
name: '全屏广告-VIP弹窗',
|
||||
desc: '点击关闭',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.android.icredit.ui.MainMenuActivity',
|
||||
matches:
|
||||
'[text$="限时返场" || text="首单有礼"] >2 View[childCount=2] > Image[visibleToUser=true]',
|
||||
'@Image[childCount=0][visibleToUser=true] <2 View < View < WebView[text$="限时返场" || text="首单有礼"] < WebView < LinearLayout < LinearLayout < FrameLayout < [id="android:id/content"]',
|
||||
exampleUrls:
|
||||
'https://m.gkd.li/57941037/eb232325-12e4-495f-a9f3-5f853d5e66f9',
|
||||
snapshotUrls: [
|
||||
|
||||
@@ -21,10 +21,6 @@ export default defineGkdApp({
|
||||
'https://i.gkd.li/i/12901417',
|
||||
'https://i.gkd.li/i/12908742',
|
||||
],
|
||||
exampleUrls: [
|
||||
'https://github.com/gkd-kit/inspect/assets/38517192/6c34cd13-cfda-4462-99ed-2a2534a6fdf5',
|
||||
'https://github.com/gkd-kit/inspect/assets/38517192/c71bb14d-cd1f-4f9e-8ee9-6a1e11e56901',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -36,8 +32,6 @@ export default defineGkdApp({
|
||||
fastQuery: true,
|
||||
rules: '[id="com.android.mediacenter:id/iv_close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/12914026',
|
||||
exampleUrls:
|
||||
'https://github.com/gkd-kit/inspect/assets/38517192/433dd71c-4fe5-41c9-a2da-dd3ac29f8dd4',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
@@ -51,8 +45,6 @@ export default defineGkdApp({
|
||||
activityIds: 'com.android.mediacenter.MainActivity',
|
||||
matches: '[id="com.android.mediacenter:id/ad_more_layout"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/12914077',
|
||||
exampleUrls:
|
||||
'https://github.com/gkd-kit/inspect/assets/38517192/37ee4a9b-2518-41e6-8227-7b204ed1bf61',
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
@@ -61,8 +53,6 @@ export default defineGkdApp({
|
||||
matches:
|
||||
'[id="com.android.mediacenter:id/label_title"][text="直接关闭"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/12914078',
|
||||
exampleUrls:
|
||||
'https://github.com/gkd-kit/inspect/assets/38517192/d098a194-80ff-49a1-b80e-191f7574a816',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -7,12 +7,17 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '更新提示',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
fastQuery: true,
|
||||
rules: '@[text="以后再说"] + [text="立即更新"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.DownloadList',
|
||||
matches: '@[text="以后再说"] + [text="立即更新"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13631769',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -9,10 +9,15 @@ export default defineGkdApp({
|
||||
name: '局部广告-卡片广告',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
resetMatch: 'app',
|
||||
actionMaximum: 1,
|
||||
rules: '[vid="ad_close"]',
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.SearchActivityTransparent',
|
||||
matches: '[vid="ad_close"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13897834',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -7,11 +7,17 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '更新提示',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '@[text="以后再说"] + [text="立即更新"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.RecordPreviewActivity',
|
||||
matches: '@[text="以后再说"] + [text="立即更新"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/14140552',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -29,16 +29,23 @@ export default defineGkdApp({
|
||||
key: 2,
|
||||
name: '全屏广告-弹窗广告',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: [
|
||||
'com.android.thememanager.ThemeResourceTabActivity',
|
||||
'com.android.thememanager.ThemeResourceProxyTabActivity',
|
||||
],
|
||||
rules: 'ImageView[id="com.android.thememanager:id/cancel"][desc="关闭"]',
|
||||
matches: 'ImageView[vid="cancel"][desc="关闭"]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/i/13215038',
|
||||
'https://i.gkd.li/i/15286330',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 3,
|
||||
name: '局部广告-右下角悬浮窗广告',
|
||||
|
||||
@@ -7,11 +7,17 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 5,
|
||||
name: '通知提示-公告弹窗',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: '[text="公告"] +2 [text="我知道了"]',
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.dd.antss.ui.activity.LaunchActivity',
|
||||
matches: '[text="公告"] +2 [text="我知道了"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13713449',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -13,6 +13,7 @@ export default defineGkdApp({
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: '.MainActivity',
|
||||
matches: [
|
||||
'[vid="alertTitle"][text="开启智能更新" || text="Install automatically?"]',
|
||||
'[id="android:id/button2"][text="暂不开启" || text="No"]',
|
||||
|
||||
@@ -7,9 +7,16 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '局部广告-卡片广告',
|
||||
activityIds: 'com.android.module.app.ui.test.activity.ActivityTestResult',
|
||||
rules: '[text="广告"] + TextView + View > TextView',
|
||||
rules: [
|
||||
{
|
||||
fastQuery: true,
|
||||
activityIds:
|
||||
'com.android.module.app.ui.test.activity.ActivityTestResult',
|
||||
matches:
|
||||
'[text="广告"] +2 View > @TextView[childCount=0][index=1][clickable=true][visibleToUser=true] <<n [id="com.antutu.ABenchMark:id/ksad_container"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13234012',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -8,11 +8,15 @@ export default defineGkdApp({
|
||||
key: 1,
|
||||
name: '全屏广告-热门推荐关闭',
|
||||
desc: '关闭应用推广',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
activityIds: 'com.apkpure.aegon.main.activity.MainTabActivity',
|
||||
matches:
|
||||
'[text="精选必备好应用"] + [name="android.widget.RelativeLayout"] > [name="android.widget.ImageView"]',
|
||||
'@RelativeLayout[clickable=true][visibleToUser=true] - [text="精选必备好应用"] <2 RelativeLayout < LinearLayout < [id="android:id/content"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13466647',
|
||||
},
|
||||
],
|
||||
|
||||
@@ -23,10 +23,11 @@ export default defineGkdApp({
|
||||
{
|
||||
key: 1,
|
||||
name: '更新提示',
|
||||
fastQuery: true,
|
||||
matchTime: 10000,
|
||||
actionMaximum: 1,
|
||||
resetMatch: 'app',
|
||||
fastQuery: true,
|
||||
activityIds: 'com.autonavi.map.activity.NewMapActivity',
|
||||
rules: [
|
||||
{
|
||||
key: 1,
|
||||
@@ -47,11 +48,16 @@ export default defineGkdApp({
|
||||
key: 4,
|
||||
name: '功能类-截屏分享',
|
||||
desc: '关闭截屏时app弹出的分享弹窗',
|
||||
rules: [
|
||||
{
|
||||
fastQuery: true,
|
||||
activityIds: 'com.autonavi.map.activity.NewMapActivity',
|
||||
rules:
|
||||
'[text="分享截图至"] < ViewGroup < ViewGroup + @ViewGroup[clickable=true] > ImageView',
|
||||
matches:
|
||||
'[text="分享截图至"] < ViewGroup < ViewGroup + @ViewGroup[clickable=true] > ImageView <<n [id="com.autonavi.minimap:id/fragment_container"]',
|
||||
snapshotUrls: 'https://i.gkd.li/i/13473388',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 10,
|
||||
name: '局部广告-首页上方消息提醒',
|
||||
|
||||
Reference in New Issue
Block a user