mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
628 lines
21 KiB
TypeScript
628 lines
21 KiB
TypeScript
import { defineGkdApp } from '@gkd-kit/define';
|
||
|
||
export default defineGkdApp({
|
||
id: 'com.tencent.mm',
|
||
name: '微信',
|
||
groups: [
|
||
{
|
||
key: 0,
|
||
name: '分段广告-朋友圈广告',
|
||
desc: '点击广告卡片右上角,直接关闭/出现菜单,确认关闭',
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI',
|
||
'com.tencent.mm.plugin.sns.ui.improve.ImproveSnsTimelineUI',
|
||
],
|
||
exampleUrls:
|
||
'https://github.com/gkd-kit/subscription/assets/38517192/c9ae4bba-a748-4755-b5e4-c7ad3d489a79',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
name: '点击广告卡片右上角',
|
||
matches:
|
||
'RelativeLayout >5 LinearLayout[childCount=2] > TextView[text!=null] + LinearLayout[visibleToUser=true][clickable=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/13000395',
|
||
'https://i.gkd.li/i/12905837',
|
||
'https://i.gkd.li/i/13791200',
|
||
'https://i.gkd.li/i/14647413',
|
||
],
|
||
},
|
||
{
|
||
key: 1,
|
||
quickFind: true,
|
||
position: {
|
||
left: 'width * 0.9223',
|
||
top: 'width * 0.0349',
|
||
},
|
||
excludeMatches:
|
||
'RelativeLayout >5 LinearLayout[childCount=2] > TextView[text!=null] + LinearLayout[visibleToUser=true][clickable=true]',
|
||
matches: '@LinearLayout >2 [text="广告"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14783802',
|
||
},
|
||
|
||
// 预留key
|
||
// 第二段
|
||
{
|
||
preKeys: [0],
|
||
key: 25,
|
||
name: '点击[关闭]',
|
||
quickFind: true,
|
||
matches: '[text^="关闭"][clickable=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12907642', // text="关闭该广告"
|
||
'https://i.gkd.li/i/13926578', // text="关闭广告"
|
||
],
|
||
},
|
||
{
|
||
preKeys: [0],
|
||
key: 26,
|
||
name: '点击[Close]',
|
||
quickFind: true,
|
||
matches: '[text*="Close"][clickable=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/14207480',
|
||
'https://i.gkd.li/i/15137016',
|
||
],
|
||
},
|
||
{
|
||
preKeys: [0],
|
||
key: 27,
|
||
name: '点击[關閉此廣告]',
|
||
quickFind: true,
|
||
matches: '[text="關閉此廣告"][clickable=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/13791202',
|
||
},
|
||
{
|
||
preKeys: [0, 1],
|
||
key: 28,
|
||
name: '点击[关闭该广告]',
|
||
quickFind: true,
|
||
matches:
|
||
'@LinearLayout[index=1][clickable=true] <2 * < * - [text*="广告"]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12642584',
|
||
'https://i.gkd.li/i/14647839',
|
||
'https://i.gkd.li/i/14783820',
|
||
],
|
||
},
|
||
{
|
||
preKeys: [0],
|
||
key: 29,
|
||
name: '点击[Close the ad]',
|
||
quickFind: true,
|
||
matches: '@LinearLayout[clickable=true] > [text="Close the ad"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12905838',
|
||
},
|
||
|
||
// 预留key
|
||
// 第三段
|
||
{
|
||
preKeys: [28],
|
||
key: 50,
|
||
name: '点击[关闭]',
|
||
matches: '[text*="关闭"][clickable=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12663984',
|
||
'https://i.gkd.li/i/14647940',
|
||
'https://i.gkd.li/i/14783534',
|
||
],
|
||
},
|
||
{
|
||
preKeys: [29],
|
||
key: 51,
|
||
name: '点击"Close"',
|
||
matches: '[text="Close"][clickable=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12905846',
|
||
},
|
||
|
||
// 预留key
|
||
// 第四段
|
||
{
|
||
preKeys: [50],
|
||
key: 75,
|
||
name: '点击[确认]',
|
||
matches: '[text="确认"][clickable=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14647940',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 1,
|
||
name: '功能类-电脑微信快捷自动登录',
|
||
quickFind: true,
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'activity',
|
||
activityIds: [
|
||
'.plugin.webwx.ui.ExtDeviceWXLoginUI',
|
||
'com.tencent.mm.ui.LauncherUI',
|
||
],
|
||
rules: 'TextView[text="取消登录"] - Button[text="登录"]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/13522625', // activityIds: 'com.tencent.mm.plugin.webwx.ui.ExtDeviceWXLoginUI'
|
||
'https://i.gkd.li/i/13522577', // activityIds: 'com.tencent.mm.ui.LauncherUI'
|
||
],
|
||
},
|
||
{
|
||
key: 2,
|
||
name: '功能类-自动授权登录',
|
||
desc: '自动允许使用头像昵称等',
|
||
quickFind: true,
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'activity',
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.webview.ui.tools.SDKOAuthUI',
|
||
'com.tencent.mm.plugin.base.stub.UIEntryStub',
|
||
'com.tencent.mm.ui.LauncherUI',
|
||
],
|
||
rules: [
|
||
{
|
||
matches: ['[text^="获取你的"]', '[text="允许"]'],
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12663602',
|
||
'https://i.gkd.li/i/13065462',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 4,
|
||
name: '功能类-微信读书网页版扫码登录自动授权',
|
||
quickFind: true,
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'activity',
|
||
activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI',
|
||
rules: [
|
||
{
|
||
matches: '[text="微信读书网页版"] +3 Button[text="登 录"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12506197',
|
||
},
|
||
{
|
||
matches: [
|
||
'[text="登录成功"]',
|
||
'[id="com.tencent.mm:id/g1"][desc="返回"]',
|
||
],
|
||
snapshotUrls: 'https://i.gkd.li/i/12506201',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 5,
|
||
name: '功能类-微信红包自动领取',
|
||
desc: '自动领取私聊红包,群聊红包',
|
||
exampleUrls:
|
||
'https://github.com/gkd-kit/subscription/assets/38517192/32cfda78-b2e1-456c-8d85-bfb2bc4683aa',
|
||
rules: [
|
||
{
|
||
name: '从红包结算界面返回',
|
||
preKeys: [1, 2],
|
||
activityIds:
|
||
'com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyBeforeDetailUI',
|
||
matches: 'ImageView[desc="返回"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12567696',
|
||
},
|
||
{
|
||
key: 1,
|
||
name: '点击红包-开',
|
||
activityIds:
|
||
'com.tencent.mm.plugin.luckymoney.ui.LuckyMoneyNotHookReceiveUI',
|
||
// Button[desc="开"] 会在出现金币动画时会消失
|
||
matches: 'ImageButton[desc="开"] + Button[desc="开"]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12567697',
|
||
'https://i.gkd.li/i/12567698', // 额外增加,金币动画的快照,规则不在这个快照上运行
|
||
],
|
||
},
|
||
{
|
||
key: 2,
|
||
name: '点击别人发的红包',
|
||
activityIds: 'com.tencent.mm.ui.LauncherUI',
|
||
// 第一个 LinearLayout[childCount=1] 区分是自己发的红包还是别人发的
|
||
// 第二个 LinearLayout[childCount=1] 区分这个红包是否被领取过
|
||
matches:
|
||
'LinearLayout[childCount=1] >5 LinearLayout[childCount=1] - ImageView < LinearLayout + View + RelativeLayout > TextView[text="微信红包"][id!=null]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12567637',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 6,
|
||
name: '分段广告-订阅号文章广告',
|
||
desc: '点击[广告]按钮-点击[关闭此广告]/[不感兴趣]-点击[与我无关]',
|
||
forcedTime: 3000,
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.brandservice.ui.timeline.preload.ui.TmplWebView', //调整为TmplWebView, 同时兼容多种ID
|
||
'com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI',
|
||
],
|
||
// 使用id作为特征节点适配多语言,不使用 preKeys 提高点击成功率
|
||
rules: [
|
||
// 第一段
|
||
{
|
||
key: 1,
|
||
name: '点击[广告]按钮',
|
||
// 防止在第二段、第三段、出现时触发,防止在文章末尾广告关闭后触发
|
||
excludeMatches: [
|
||
'[id="fullCardFeedbackTitle" || id="dislike" || id="isdismatch"][visibleToUser=true]',
|
||
],
|
||
matches: [
|
||
'View[childCount=1] > @[id="feedbackTagContainer"][clickable=true][visibleToUser=true] > [id^="feedback"][visibleToUser=true]',
|
||
],
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12700183', // id^="feedback"
|
||
'https://i.gkd.li/i/12642232', // ui.TmplWebViewMMUI
|
||
'https://i.gkd.li/i/13199281', // ui.TmplWebViewTooLMpUI
|
||
'https://i.gkd.li/i/12646837', // 事件完成后,反馈按钮仍然存在,使用 View[childCount=1] 进行限定,防止频繁触发规则
|
||
'https://i.gkd.li/i/14006180', // com.tencent.mm.plugin.webview.ui.tools.fts.MMSosWebViewUI
|
||
'https://i.gkd.li/i/14834975', // 文章未浏览至页面底部,广告反馈按钮不可见,使用 [visibleToUser=true] 进行限定,防止打开文章就频繁触发规则
|
||
'https://i.gkd.li/i/15061339', // 使用excludeMatches防止在文章末尾广告关闭后误触
|
||
],
|
||
},
|
||
// 第二段
|
||
{
|
||
key: 25,
|
||
name: '点击[关闭此广告]',
|
||
matches: '[id="closeBtn"][clickable=true][visibleToUser=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14834975',
|
||
},
|
||
{
|
||
key: 26,
|
||
name: '点击[不感兴趣]',
|
||
excludeMatches: '[id="fullCardFeedbackTitle"][visibleToUser=true]',
|
||
matches: '[id="dislike"][clickable=true][visibleToUser=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/14006203',
|
||
'https://i.gkd.li/i/14834966',
|
||
'https://i.gkd.li/i/15061424', // 使用excludeMatches防止在文章末尾广告关闭后误触
|
||
],
|
||
},
|
||
// 第三段
|
||
{
|
||
key: 50,
|
||
name: '点击[与我无关]',
|
||
matches: '[id="isdismatch"][clickable=true][visibleToUser=true]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/14006206',
|
||
'https://i.gkd.li/i/14834959',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 7,
|
||
name: '功能类-自动选中发送原图',
|
||
desc: '图片和视频选择器-自动选中底部中间的发送原图',
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.gallery.ui.AlbumPreviewUI',
|
||
'com.tencent.mm.plugin.gallery.ui.ImagePreviewUI',
|
||
],
|
||
rules: [
|
||
{
|
||
key: 1,
|
||
quickFind: true,
|
||
excludeVersionNames: '8.0.15',
|
||
matches: '@ImageButton[desc="未选中,原图,复选框"] + [text="原图"]',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12686641', // 未选中
|
||
'https://i.gkd.li/i/12840865', // 未选中
|
||
'https://i.gkd.li/i/12686640', // 已选中
|
||
],
|
||
},
|
||
{
|
||
key: 2,
|
||
versionNames: '8.0.15',
|
||
matches: '@[desc="未选中,原图,复选框"] + [text="原图"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14661734',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 9,
|
||
name: '功能类-自动查看原图',
|
||
desc: '自动点击底部左侧[查看原图]按钮',
|
||
activityIds: 'com.tencent.mm.ui.chatting.gallery.ImageGalleryUI',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
quickFind: true,
|
||
excludeVersionNames: '8.0.15',
|
||
matches: 'Button[text^="查看原图"][clickable=true]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/6bb9e68a-43f5-4482-96b1-899cc86fef32',
|
||
snapshotUrls: 'https://i.gkd.li/i/13523031',
|
||
},
|
||
{
|
||
key: 1,
|
||
versionNames: '8.0.15',
|
||
matches: '[text^="查看原图"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/1a946d04-8a2d-4570-bd8c-38ab112f43a9',
|
||
snapshotUrls: 'https://i.gkd.li/i/14661736',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 10,
|
||
name: '开屏广告-微信小程序',
|
||
quickFind: true,
|
||
matchTime: 10000,
|
||
// actionMaximum: 1, // 经常需要点2次,首次点击过早大概率跳不过
|
||
// resetMatch: 'activity',
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.appbrand.ui.AppBrandUI',
|
||
'com.tencent.mm.plugin.appbrand.launching.AppBrandLaunchProxyUI',
|
||
],
|
||
rules: [
|
||
{
|
||
actionDelay: 800, // 过早点击首次大概率跳不过
|
||
matches: [
|
||
'[text="广告"][visibleToUser=true]',
|
||
'[text="跳过"][visibleToUser=true]',
|
||
],
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/12785183',
|
||
'https://i.gkd.li/i/13306883',
|
||
'https://i.gkd.li/i/13407275',
|
||
'https://i.gkd.li/i/15108441',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 11,
|
||
name: '功能类-网页版文件传输助手扫码自动授权',
|
||
quickFind: true,
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'activity',
|
||
activityIds: 'com.tencent.mm.ui.LauncherUI',
|
||
rules: '[text="打开网页版文件传输助手"] + * > Button[text="打开"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/12793745',
|
||
},
|
||
{
|
||
key: 17,
|
||
name: '青少年模式',
|
||
quickFind: true,
|
||
actionMaximum: 1,
|
||
resetMatch: 'app',
|
||
rules: [
|
||
{
|
||
activityIds: [
|
||
'com.tencent.mm.plugin.finder.ui.',
|
||
'com.tencent.mm.ui.LauncherUI',
|
||
],
|
||
matches: ['[text*="青少年模式"]', '[text="我知道了"]'],
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/13538145',
|
||
'https://i.gkd.li/i/13575195',
|
||
'https://i.gkd.li/i/14735456',
|
||
'https://i.gkd.li/i/14896723',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 18,
|
||
name: '功能类-青少年模式自动点击验证密码',
|
||
desc: '点击“验证密码”以申请临时访问',
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
activityIds:
|
||
'com.tencent.mm.plugin.teenmode.ui.AuthorizationRequestUI',
|
||
matches: '@LinearLayout[childCount=2] > [text="验证密码"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/13588338',
|
||
},
|
||
{
|
||
key: 1,
|
||
activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI',
|
||
matches: ['View[text="申请今天临时访问"]', 'View[desc="验证密码"]'],
|
||
snapshotUrls: 'https://i.gkd.li/i/13631987',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 19,
|
||
name: '功能类-订阅号-展开更早的消息',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
quickFind: true,
|
||
activityIds:
|
||
'com.tencent.mm.plugin.brandservice.ui.timeline.BizTimeLineUI',
|
||
matches: '@[clickable=true] > [text="展开更早的消息"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/13790550',
|
||
},
|
||
{
|
||
key: 1,
|
||
matches: '[desc="展开更早的消息"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/13790949',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 22,
|
||
name: '功能类-开启青少年模式后的每日验证',
|
||
desc: '点击"验证密码"',
|
||
rules: [
|
||
{
|
||
activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI',
|
||
matches:
|
||
'WebView[childCount=6] View[index=4] > [text="验证密码"][clickable=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14050004',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 25,
|
||
name: '局部广告-订阅号消息-推荐文章',
|
||
desc: '自动点击“x”',
|
||
activityIds:
|
||
'com.tencent.mm.plugin.brandservice.ui.flutter.BizFlutterTLFlutterViewActivity',
|
||
rules:
|
||
'View[childCount=2] > View[desc$="推荐"][childCount=3] > ImageView[index=2][clickable=true][visibleToUser=true]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14392392',
|
||
},
|
||
{
|
||
key: 26,
|
||
name: '功能类-付款后自动点击完成/返回商家',
|
||
rules: [
|
||
{
|
||
quickFind: true,
|
||
activityIds: 'com.tencent.mm.framework.app.UIPageFragmentActivity',
|
||
matches:
|
||
'[vid="kinda_button_impl_wrapper"][desc="完成" || desc="返回商家"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/a5177d9d-6745-443f-baf5-af57153430d8',
|
||
snapshotUrls: [
|
||
'https://i.gkd.li/i/14399355',
|
||
'https://i.gkd.li/i/14662147',
|
||
'https://i.gkd.li/i/14532946', // 避免在此页面误触
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 28,
|
||
name: '分段广告-订阅号消息页面视频推荐',
|
||
desc: '点击[X]-点击[不喜欢此类视频]-点击[确定]',
|
||
activityIds:
|
||
'com.tencent.mm.plugin.brandservice.ui.flutter.BizFlutterTLFlutterViewActivity',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
name: '点击[X]',
|
||
matches:
|
||
'[desc="订阅号消息"] +3 View >2 [visibleToUser=true] - View >3 ImageView[index=2][clickable=true]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/b777c0b1-f8ed-4712-afd6-2e1a72243475',
|
||
snapshotUrls: 'https://i.gkd.li/i/14436176',
|
||
},
|
||
{
|
||
preKeys: 0,
|
||
key: 1,
|
||
name: '点击[不喜欢此类视频]',
|
||
matches: '[desc="不喜欢此类视频"][clickable=true]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/39e8b378-9b55-4838-92af-b28f04402ca4',
|
||
snapshotUrls: 'https://i.gkd.li/i/14444654',
|
||
},
|
||
{
|
||
preKeys: 1,
|
||
key: 2,
|
||
name: '点击[确定]',
|
||
matches: '[desc="确定"][clickable=true]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/590eb619-9987-4edf-98a8-17146ffeda10',
|
||
snapshotUrls: 'https://i.gkd.li/i/14436190',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 29,
|
||
name: '功能类-解锁 Windows 微信',
|
||
desc: '点击[解锁]',
|
||
rules: [
|
||
{
|
||
quickFind: true,
|
||
activityIds: 'com.tencent.mm.plugin.webwx.ui.WebWXUnlockUI',
|
||
matches: '[text="解锁"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/85bb6dcd-0d04-46c1-af14-6e4b57ff4dca',
|
||
snapshotUrls: 'https://i.gkd.li/i/14490116',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 30,
|
||
name: '全屏广告-文档页面-腾讯文档APP弹窗',
|
||
desc: '点击关闭',
|
||
rules: [
|
||
{
|
||
quickFind: true,
|
||
activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI',
|
||
matches:
|
||
'@TextView[clickable=true] + * > [text^="使用 APP"] <<n [id="android:id/content"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/2228f99e-e0a1-4915-864f-d60e3d8580a6',
|
||
snapshotUrls: 'https://i.gkd.li/i/14533286',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 31,
|
||
name: '分段广告-订阅号消息页面-推荐阅读',
|
||
desc: '点击关闭',
|
||
activityIds:
|
||
'com.tencent.mm.plugin.brandservice.ui.flutter.BizFlutterTLFlutterViewActivity',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
matches:
|
||
'View > Button > View[desc$="推荐"] > ImageView[index=1][clickable=true][visibleToUser=true]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/101449500/5b815528-1ca2-4016-930e-a3cfb4e5e7ea',
|
||
snapshotUrls: 'https://i.gkd.li/i/14548701',
|
||
},
|
||
{
|
||
key: 1,
|
||
preKeys: 0,
|
||
matches: '[desc="不看此类内容"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14549566',
|
||
},
|
||
{
|
||
key: 2,
|
||
preKeys: 1,
|
||
matches: '[desc="确定"]',
|
||
snapshotUrls: 'https://i.gkd.li/i/14549567',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 32,
|
||
name: '权限提示-权限申请弹窗',
|
||
desc: '点击取消',
|
||
matchTime: 10000,
|
||
actionMaximum: 1,
|
||
resetMatch: 'app',
|
||
rules: [
|
||
{
|
||
quickFind: true,
|
||
activityIds: 'com.tencent.mm.pluginsdk.permission.PermissionActivity',
|
||
matches: ['[text="权限申请"]', '[text="取消"]'],
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/43632b72-d389-4fe7-9708-dac78e900679',
|
||
snapshotUrls: 'https://i.gkd.li/i/14645385',
|
||
},
|
||
],
|
||
},
|
||
{
|
||
key: 34,
|
||
name: '功能类-付款时自动点击[支付]',
|
||
quickFind: true,
|
||
actionMaximum: 1,
|
||
activityIds: 'com.tencent.mm.framework.app.UIPageFragmentActivity',
|
||
rules: [
|
||
{
|
||
key: 0,
|
||
matches: '[vid="kinda_button_impl_wrapper"][desc="立即支付"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/13fd1e89-6d75-4efe-90d6-91687de8c9b1',
|
||
snapshotUrls: 'https://i.gkd.li/i/15144571',
|
||
},
|
||
{
|
||
preKeys: [0],
|
||
key: 1,
|
||
matches: '[vid="kinda_button_impl_wrapper"][desc="支付"]',
|
||
exampleUrls:
|
||
'https://m.gkd.li/57941037/69380aa0-e6d2-4ea4-8ee7-6a1e45889e6c',
|
||
snapshotUrls: 'https://i.gkd.li/i/15144570',
|
||
},
|
||
],
|
||
},
|
||
],
|
||
});
|