feat: fastQuery

This commit is contained in:
AIsouler
2024-07-14 12:19:31 +08:00
parent ee32a3d429
commit ba93fdf4f5
554 changed files with 1281 additions and 1281 deletions

View File

@@ -29,7 +29,7 @@ export default defineGkdApp({
},
{
key: 1,
quickFind: true,
fastQuery: true,
position: {
left: 'width * 0.9223',
top: 'width * 0.0349',
@@ -49,7 +49,7 @@ export default defineGkdApp({
preKeys: [0, 1],
key: 25,
name: '点击[关闭]',
quickFind: true,
fastQuery: true,
matches: '[text^="关闭"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/i/12907642', // text="关闭该广告"
@@ -61,7 +61,7 @@ export default defineGkdApp({
preKeys: [0],
key: 26,
name: '点击[Close]',
quickFind: true,
fastQuery: true,
matches: '[text*="Close"][clickable=true]',
snapshotUrls: [
'https://i.gkd.li/i/14207480',
@@ -72,7 +72,7 @@ export default defineGkdApp({
preKeys: [0],
key: 27,
name: '点击[關閉此廣告]',
quickFind: true,
fastQuery: true,
matches: '[text="關閉此廣告"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/i/13791202',
},
@@ -80,7 +80,7 @@ export default defineGkdApp({
preKeys: [0, 1],
key: 28,
name: '点击[关闭该广告]',
quickFind: true,
fastQuery: true,
matches:
'@LinearLayout[index=1][clickable=true] <2 * < * - [text*="广告"]',
snapshotUrls: [
@@ -93,7 +93,7 @@ export default defineGkdApp({
preKeys: [0],
key: 29,
name: '点击[Close the ad]',
quickFind: true,
fastQuery: true,
matches: '@LinearLayout[clickable=true] > [text*="Close"]',
snapshotUrls: [
'https://i.gkd.li/i/12905838',
@@ -136,7 +136,7 @@ export default defineGkdApp({
{
key: 1,
name: '功能类-电脑微信快捷自动登录',
quickFind: true,
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
@@ -154,7 +154,7 @@ export default defineGkdApp({
key: 2,
name: '功能类-自动授权登录',
desc: '自动允许使用头像昵称等',
quickFind: true,
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
activityIds: [
@@ -176,7 +176,7 @@ export default defineGkdApp({
{
key: 4,
name: '功能类-微信读书网页版扫码登录自动授权',
quickFind: true,
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
@@ -245,7 +245,7 @@ export default defineGkdApp({
rules: [
{
key: 1,
quickFind: true,
fastQuery: true,
excludeVersionNames: '8.0.15',
matches: '@ImageButton[desc="未选中,原图,复选框"] + [text="原图"]',
snapshotUrls: [
@@ -270,7 +270,7 @@ export default defineGkdApp({
rules: [
{
key: 0,
quickFind: true,
fastQuery: true,
excludeVersionNames: '8.0.15',
matches: 'Button[text^="查看原图"][clickable=true]',
exampleUrls:
@@ -290,7 +290,7 @@ export default defineGkdApp({
{
key: 10,
name: '开屏广告-微信小程序',
quickFind: true,
fastQuery: true,
matchTime: 10000,
forcedTime: 10000,
// actionMaximum: 1, // 经常需要点2次首次点击过早大概率跳不过
@@ -318,7 +318,7 @@ export default defineGkdApp({
{
key: 11,
name: '功能类-网页版文件传输助手扫码自动授权',
quickFind: true,
fastQuery: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'activity',
@@ -329,7 +329,7 @@ export default defineGkdApp({
{
key: 17,
name: '青少年模式',
quickFind: true,
fastQuery: true,
actionMaximum: 1,
resetMatch: 'app',
rules: [
@@ -376,7 +376,7 @@ export default defineGkdApp({
rules: [
{
key: 0,
quickFind: true,
fastQuery: true,
activityIds:
'com.tencent.mm.plugin.brandservice.ui.timeline.BizTimeLineUI',
matches: '@[clickable=true] > [text="展开更早的消息"]',
@@ -417,7 +417,7 @@ export default defineGkdApp({
name: '功能类-付款后自动点击完成/返回商家',
rules: [
{
quickFind: true,
fastQuery: true,
activityIds: 'com.tencent.mm.framework.app.UIPageFragmentActivity',
matches:
'[vid="kinda_button_impl_wrapper"][desc="完成" || desc="返回商家"]',
@@ -473,7 +473,7 @@ export default defineGkdApp({
desc: '点击[解锁]',
rules: [
{
quickFind: true,
fastQuery: true,
activityIds: 'com.tencent.mm.plugin.webwx.ui.WebWXUnlockUI',
matches: '[text="解锁"]',
exampleUrls:
@@ -488,7 +488,7 @@ export default defineGkdApp({
desc: '点击关闭',
rules: [
{
quickFind: true,
fastQuery: true,
activityIds: 'com.tencent.mm.plugin.webview.ui.tools.MMWebViewUI',
matches:
'@TextView[clickable=true] + * > [text^="使用 APP"] <<n [id="android:id/content"]',
@@ -536,7 +536,7 @@ export default defineGkdApp({
resetMatch: 'app',
rules: [
{
quickFind: true,
fastQuery: true,
activityIds: 'com.tencent.mm.pluginsdk.permission.PermissionActivity',
matches: ['[text="权限申请"]', '[text="取消"]'],
exampleUrls:
@@ -548,7 +548,7 @@ export default defineGkdApp({
{
key: 34,
name: '功能类-付款时自动点击[支付]',
quickFind: true,
fastQuery: true,
actionMaximum: 1,
activityIds: 'com.tencent.mm.framework.app.UIPageFragmentActivity',
rules: [