mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 16:54:43 +08:00
perf: some rules
This commit is contained in:
@@ -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',
|
||||
// },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user