From 72ed3728da6b3ec942ad7bed20193eb2463bea64 Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:28:42 +0800 Subject: [PATCH 01/14] =?UTF-8?q?feat(=E5=93=94=E5=93=A9=E5=93=94=E5=93=A9?= =?UTF-8?q?):=20=E5=8A=A8=E6=80=81=E6=8E=A8=E8=8D=90=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=8D=A1=E7=89=87;=20=E4=BC=9A=E5=91=98=E8=B4=AD;=20=E8=A7=86?= =?UTF-8?q?=E9=A2=91=E9=A1=B5=E5=B9=BF=E5=91=8A;=20=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E9=A2=86=E5=8F=96=E4=BC=9A=E5=91=98=E7=BB=8F=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/tv.danmaku.bili.ts | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 1eb2b64d2..f5e0d2fdc 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -15,7 +15,7 @@ export default defineGkdApp({ rules: [ { key: 1, - matches: '[id=`tv.danmaku.bili:id/ad_goods_mark_big`]', + matches: '[vid="ad_goods_mark_big"]', snapshotUrls: 'https://i.gkd.li/import/12700222', }, { @@ -135,6 +135,19 @@ export default defineGkdApp({ }, ], }, + { + key: 5, + name: '局部广告-会员购', + desc: '底部横幅Ad', + rules: [ + { + fastQuery: true, + activityIds: '.MainActivityV2', + matches: '[vid="mall_home_newuser_coupon_close"][clickable=true]', + snapshotUrls: 'https://i.gkd.li/i/26240948', + }, + ], + }, { key: 6, name: '局部广告-首页浮标广告', @@ -161,7 +174,7 @@ export default defineGkdApp({ 'com.bilibili.ship.theseus.detail.UnitedBizDetailsActivity', 'com.bilibili.video.videodetail.VideoDetailsActivity', ], - matches: '[id="tv.danmaku.bili:id/toast_x"]', + matches: '[vid="toast_x"]', snapshotUrls: [ 'https://i.gkd.li/i/12892611', 'https://i.gkd.li/i/13308344', @@ -302,12 +315,12 @@ export default defineGkdApp({ fastQuery: true, activityIds: 'com.bilibili.vip.web.VipWebActivity', matches: - 'TextView[childCount=0][text!=null][index=parent.childCount.minus(1)] -2 View >3 [text^="专属等级加速包"] +2 @TextView[childCount=0][text="领取"] < Date: Sun, 19 Apr 2026 15:29:36 +0800 Subject: [PATCH 02/14] =?UTF-8?q?feat(X):=20=E4=BF=A1=E6=81=AF=E6=B5=81?= =?UTF-8?q?=E5=B9=BF=E5=91=8A;=20=E8=87=AA=E5=8A=A8=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.twitter.android.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/apps/com.twitter.android.ts b/src/apps/com.twitter.android.ts index 0f74da654..bf3b96629 100644 --- a/src/apps/com.twitter.android.ts +++ b/src/apps/com.twitter.android.ts @@ -58,7 +58,7 @@ export default defineGkdApp({ key: 10, name: '点击屏蔽/隐藏,如果机会全用完需要取消遍再屏蔽', matches: - '@ViewGroup > [id="com.twitter.android:id/action_sheet_item_title"][text^="屏蔽"||text^="Block"||text^="隐藏 @"||text^="Mute @"||text^="Unblock @"||text^="Unmute @"]', + '@ViewGroup > [id="com.twitter.android:id/action_sheet_item_title"][text^="屏蔽"||text^="封鎖"||text^="Block"||text^="隐藏 @"||text^="Mute @"||text^="Unblock @"||text^="Unmute @"]', snapshotUrls: [ 'https://i.gkd.li/import/12798810', 'https://i.gkd.li/i/14782902', @@ -73,6 +73,7 @@ export default defineGkdApp({ 'https://i.gkd.li/i/25461007', // 隐藏已用 'https://i.gkd.li/i/25461077', // En-Mute 'https://i.gkd.li/i/25461050', // En-Unmute + 'https://i.gkd.li/i/26865753', ], }, { @@ -116,7 +117,7 @@ export default defineGkdApp({ actionCd: 2000, //防止[译文]节点未加载完导致重复点击 [翻译] activityIds: 'com.twitter.tweetdetail.TweetDetailActivity', matches: - '[vid="translation_link" || vid="grok_translation_link"][clickable=true][index=parent.childCount.minus(1)]', + '[vid="translation_link" || vid="grok_translation_link"][index=parent.childCount.minus(1)][index!=2]', exampleUrls: [ 'https://e.gkd.li/ced46989-9c6a-4626-b027-7953e0fdc2c6', 'https://m.gkd.li/57941037/40ece44f-883f-429a-aa0c-17dac15a50e4', @@ -127,8 +128,12 @@ export default defineGkdApp({ 'https://i.gkd.li/i/25537171', 'https://i.gkd.li/i/25461468', 'https://i.gkd.li/i/25461607', // Grok translate + 'https://i.gkd.li/i/26642877', + ], + excludeSnapshotUrls: [ + 'https://i.gkd.li/i/25537171', // 已翻译, 加 [index=parent.childCount.minus(1)] 排除 + 'https://i.gkd.li/i/26642826', // 已翻译, 加 [index!=2] 排除 ], - excludeSnapshotUrls: 'https://i.gkd.li/i/25537171', // 已翻译, 加 [index=parent.childCount.minus(1)] 排除 }, ], }, From 73d7a58a052c888538b6fc61b8e9410ce407a1dd Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:30:05 +0800 Subject: [PATCH 03/14] =?UTF-8?q?feat(QQ=E9=9F=B3=E4=B9=90):=20=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.qqmusic.ts | 53 ++++++++++++++------------------- 1 file changed, 22 insertions(+), 31 deletions(-) diff --git a/src/apps/com.tencent.qqmusic.ts b/src/apps/com.tencent.qqmusic.ts index 7337a37c4..64cc2ba85 100644 --- a/src/apps/com.tencent.qqmusic.ts +++ b/src/apps/com.tencent.qqmusic.ts @@ -8,12 +8,12 @@ export default defineGkdApp({ key: 1, name: '局部广告-卡片广告', desc: '关闭播放界面、歌单页、我的页等位置的各类卡片广告', + activityIds: '.activity.AppStarterActivity', rules: [ { key: 1, fastQuery: true, - activityIds: - 'com.tencent.qqmusic.business.playernew.view.NewPlayerActivity', + activityIds: '.business.playernew.view.NewPlayerActivity', matches: '[text^="广告"] + [text="跳过"][clickable=true][visibleToUser=true]', snapshotUrls: 'https://i.gkd.li/i/13985169', // 播放界面 @@ -21,7 +21,6 @@ export default defineGkdApp({ { key: 2, fastQuery: true, - activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', matches: '@[desc="关闭"][clickable=true] -(1,2) [text="广告"][visibleToUser=true]', snapshotUrls: [ @@ -32,37 +31,33 @@ export default defineGkdApp({ { key: 3, fastQuery: true, - activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', matches: - '@ImageView - ImageView - RelativeLayout >n [text="听歌入会赢绿钻"||text="摇动点击广告跳转"][visibleToUser=true]', + '@ImageView - ImageView - RelativeLayout >3 [text="听歌入会赢绿钻" || text="摇动点击广告跳转"][visibleToUser=true]', snapshotUrls: [ - 'https://i.gkd.li/i/13206982', - 'https://i.gkd.li/i/13218134', + 'https://i.gkd.li/i/13206982', // (首页) 听歌入会赢绿钻 + 'https://i.gkd.li/i/13218134', // (首页) 摇动点击广告跳转 ], }, { key: 4, fastQuery: true, - activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', - matches: - '@[clickable=true][visibleToUser=true] > [text="广告"][visibleToUser=true]', + matches: '@[clickable=true] > [text="广告"][visibleToUser=true]', snapshotUrls: [ - 'https://i.gkd.li/i/15041019', - 'https://i.gkd.li/i/18227243', + 'https://i.gkd.li/i/15041019', // 首页 + 'https://i.gkd.li/i/18227243', // 搜索页 ], - excludeSnapshotUrls: 'https://i.gkd.li/i/18219557', + excludeSnapshotUrls: 'https://i.gkd.li/i/18219557', // [text="广告"][visibleToUser=false] }, { key: 5, - activityIds: 'com.tencent.qqmusic.activity.AppStarterActivity', + fastQuery: true, matches: - 'RecyclerView > LinearLayout[childCount=3] >5 ViewGroup[childCount=3] > @ViewGroup[clickable=true] >2 ImageView[text=null][desc=null][visibleToUser=true]', - snapshotUrls: 'https://i.gkd.li/i/15756931', + '@ImageView[clickable=true][height<87] <2 RelativeLayout - * > [text="广告"]', + snapshotUrls: 'https://i.gkd.li/i/26806364', // 首页 }, { key: 6, fastQuery: true, - activityIds: '.activity.AppStarterActivity', matches: '@ImageView[clickable=true] - [text="广告"][visibleToUser=true]', snapshotUrls: 'https://i.gkd.li/i/17450309', @@ -70,23 +65,14 @@ export default defineGkdApp({ { key: 7, fastQuery: true, - activityIds: '.activity.AppStarterActivity', matches: '[text="广告 | 关闭"][visibleToUser=true]', snapshotUrls: 'https://i.gkd.li/i/18227204', }, + + // 不支持快查的放后面,以防阻塞前面快查的 { - key: 8, - name: '播放页[猜你也会喜欢]推荐', - fastQuery: true, - activityIds: '.business.playernew.view.NewPlayerActivity', - matches: - '@ImageView[childCount=0][clickable=true] -2 [text="猜你也会喜欢"][visibleToUser=true]', - snapshotUrls: 'https://i.gkd.li/i/18410610', - }, - { - key: 9, + key: 20, matchTime: 10000, - activityIds: '.activity.AppStarterActivity', matches: 'RecyclerView > FrameLayout[desc!=null] >3 LinearLayout[id!=null] > ViewPager > FrameLayout[visibleToUser=true] > ImageView[childCount=0][clickable=true][width<150 && height<100][index=parent.childCount.minus(1)]', snapshotUrls: [ @@ -95,12 +81,17 @@ export default defineGkdApp({ ], }, { - key: 10, - activityIds: '.activity.AppStarterActivity', + key: 21, matches: 'ImageView[width<80 && height<80] <<2 @ViewGroup[clickable=true] - [text^="hi~"]', snapshotUrls: 'https://i.gkd.li/i/23930716', }, + { + key: 22, + matches: + 'RecyclerView > LinearLayout[childCount=3] >5 ViewGroup[childCount=3] > @ViewGroup[clickable=true] >2 ImageView[text=null][desc=null][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/15756931', + }, ], }, { From dc970fb4fd4c54bbe01cde29e12feba398325b3e Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:30:42 +0800 Subject: [PATCH 04/14] =?UTF-8?q?feat(QQ):=20=E5=BC=80=E5=B1=8F=E5=B9=BF?= =?UTF-8?q?=E5=91=8A;=20=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A;=20QQ?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mobileqq.ts | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/apps/com.tencent.mobileqq.ts b/src/apps/com.tencent.mobileqq.ts index 8a454448a..5b1d334c8 100644 --- a/src/apps/com.tencent.mobileqq.ts +++ b/src/apps/com.tencent.mobileqq.ts @@ -11,7 +11,10 @@ export default defineGkdApp({ fastQuery: true, matchTime: 10000, actionMaximum: 1, + scopeKeys: [13], // 规则组key13也是开屏广告 + actionMaximumKey: 0, // key13-0 resetMatch: 'app', + priorityTime: 10000, excludeActivityIds: [ 'com.tencent.mobileqq.activity.ChatActivity', // 在聊天界面禁用 'com.tencent.mobileqq.search.activity.UniteSearchActivity', // 在搜索页面禁用 @@ -44,7 +47,7 @@ export default defineGkdApp({ name: '消息页面顶部广告', activityIds: 'com.tencent.mobileqq.activity.SplashActivity', matches: - 'ImageView[longClickable!=true][vid!="chat_item_head_icon"][desc=null&&text=null] n TextView[clickable=false][text.length>0][!(text~="(?is).*([01]?[0-9]|2[0-3])[::][0-5][0-9].*")][text!$="G"&&text!$="M"&&text!$="k"][visibleToUser=true] < [name$="ImageView"||name$="Button"][desc="关闭"||(desc=null&&text=null)][vid!="chat_item_head_icon"][childCount=0][visibleToUser=true][clickable=true][longClickable!=true][left>0]', + '[longClickable!=true][vid!="chat_item_head_icon"][desc=null&&text=null] n TextView[clickable=false][text.length>0][!(text~="(?is).*([01]?[0-9]|2[0-3])[::][0-5][0-9].*")][text!$="G"&&text!$="M"&&text!$="k"][visibleToUser=true] < [name$="ImageView"||name$="Button"][desc="关闭"||(desc=null&&text=null)][vid!="chat_item_head_icon"][childCount=0][visibleToUser=true][clickable=true][longClickable!=true][left>0]', excludeMatches: [ '[id^="com.tencent.mobileqq.qzone"]', // QQ空间 '[text="互动标识"]', // 侧滑抽屉 @@ -78,6 +81,7 @@ export default defineGkdApp({ 'https://i.gkd.li/i/23837678', 'https://i.gkd.li/i/24230528', 'https://i.gkd.li/i/25235782', + 'https://i.gkd.li/i/26159150', ], excludeSnapshotUrls: [ 'https://i.gkd.li/i/14414585', // 误触 @@ -561,19 +565,21 @@ export default defineGkdApp({ enable: false, fastQuery: true, actionMaximum: 1, - activityIds: [ - 'com.tencent.mobileqq.mini.appbrand.ui.AppBrandUI', - 'com.tencent.mobileqq.activity.miniaio.MiniChatActivity', - ], + priorityTime: 10000, rules: [ { + key: 0, + activityIds: [ + '.mini.appbrand.ui.AppBrandUI', + '.activity.miniaio.MiniChatActivity', + ], matches: [ '[text="广告"][visibleToUser=true]', '[text="跳过"][visibleToUser=true]', ], snapshotUrls: [ - 'https://i.gkd.li/import/12877215', - 'https://i.gkd.li/import/12919195', + 'https://i.gkd.li/i/12877215', + 'https://i.gkd.li/i/12919195', 'https://i.gkd.li/i/15130235', ], }, From d10961375ccb37b5c6329b80cc8aae91361c0708 Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:31:19 +0800 Subject: [PATCH 05/14] =?UTF-8?q?feat(=E5=BE=AE=E4=BF=A1):=20=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E8=87=AA=E5=8A=A8=E6=8E=88=E6=9D=83;=20=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E9=A2=86=E5=8F=96=E7=BA=A2=E5=8C=85;=20=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E9=83=A8=E5=88=86=E9=80=9A=E7=94=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.tencent.mm.ts | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 7d44d5c4b..1ea14bf93 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -136,7 +136,7 @@ export default defineGkdApp({ key: 0, name: 'PC 微信扫码登录', matches: [ - '[text^="登录 Win" || text^="登录桌面" || text^="登入 WeChat" || text^="Log in to Weixin for"][visibleToUser=true]', + '[text^="登录 Win" || text^="登录 Mac" || text^="登录桌面" || text^="登入 WeChat" || text^="登入 微信" || text^="Log in to Weixin for"][visibleToUser=true]', '[text="登录" || text="登入" || text="Log In"][visibleToUser=true]', ], snapshotUrls: [ @@ -146,6 +146,7 @@ export default defineGkdApp({ 'https://i.gkd.li/i/22356438', // En_US 'https://i.gkd.li/i/25315046', // zh_TW 'https://i.gkd.li/i/25815630', // Linux_zh_CN + 'https://i.gkd.li/i/26865671', ], }, { @@ -230,7 +231,7 @@ export default defineGkdApp({ }, { key: 5, - name: '功能类-自动领取微信红包', + name: '功能类-自动领取红包', desc: '自动领取私聊红包,群聊红包', enable: false, fastQuery: true, @@ -243,10 +244,11 @@ export default defineGkdApp({ '.ui.chatting.variants.ChattingMainUI', ], matches: - 'LinearLayout[childCount=1] >2 @FrameLayout[clickable=true] >2 LinearLayout[getChild(1).childCount=1] +2 RelativeLayout > [text="微信红包"]', + 'LinearLayout[childCount=1] >2 @FrameLayout[clickable=true] >3 [childCount=1] <2 LinearLayout +(1,2) RelativeLayout > [text="微信红包"]', snapshotUrls: [ 'https://i.gkd.li/i/18134826', 'https://i.gkd.li/i/24347101', + 'https://i.gkd.li/i/26586606', ], excludeSnapshotUrls: [ 'https://i.gkd.li/i/18134823', // 自己发的, LinearLayout[childCount=1] 区分 @@ -464,7 +466,7 @@ export default defineGkdApp({ rules: [ { key: 0, - name: '开屏广告', + name: '开屏广告-1', actionDelay: 800, // 过早点击首次大概率跳不过 forcedTime: 10000, fastQuery: true, @@ -516,6 +518,16 @@ export default defineGkdApp({ 'https://i.gkd.li/import/14156176', // 误触快照 ], }, + { + key: 3, + name: '开屏广告-2', + matchRoot: true, + actionCd: 500, + matches: + '@TextView[text*="跳过"] < View < * < WebView < * < * < * < * < * < * < * < * < * <2 FrameLayout[childCount=2] < * < [id="android:id/content"]', + // matches: '@TextView[text*="跳过"][text.length<10][height<150] <<12 * <2 FrameLayout[childCount=2] < * < [id="android:id/content"]', // 用 << 会被GKD判为缓慢查询,等类似的多了再用吧 + snapshotUrls: 'https://i.gkd.li/i/26677309', + }, ], }, { From 3550f549d584f46588532149246200b52e7a5afb Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:31:44 +0800 Subject: [PATCH 06/14] =?UTF-8?q?feat(=E6=B7=98=E5=AE=9D):=20=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=94=AF=E4=BB=98=E7=9B=B8=E5=85=B3=E6=8E=A8=E8=8D=90?= =?UTF-8?q?=E5=BC=80=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.taobao.taobao.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apps/com.taobao.taobao.ts b/src/apps/com.taobao.taobao.ts index b1f2311d5..9ce55b907 100644 --- a/src/apps/com.taobao.taobao.ts +++ b/src/apps/com.taobao.taobao.ts @@ -306,7 +306,7 @@ export default defineGkdApp({ { key: 13, name: '功能类-关闭支付相关推荐开通', - desc: '关闭支付时的小额免密支付、花呗支付等推荐开通提示', + desc: '关闭支付时的小额免密支付、花呗支付、先用后付等推荐开通提示', enable: false, fastQuery: true, activityIds: 'com.alipay.android.msp.ui.views.MspContainerActivity', @@ -315,10 +315,12 @@ export default defineGkdApp({ key: 0, name: '类型1', matches: - '@[text="关闭"] < FrameLayout -n FrameLayout > [text$="推荐你"]', + '@[text="关闭"||text="不感兴趣"] < FrameLayout -n FrameLayout > [text$="推荐你"]', snapshotUrls: [ 'https://i.gkd.li/import/13438414', 'https://i.gkd.li/i/15520321', + 'https://i.gkd.li/i/26426385', + 'https://i.gkd.li/i/26826092', ], }, { From 23a256d8bf330cb551930e8e2830c4ab08576f3e Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:32:25 +0800 Subject: [PATCH 07/14] =?UTF-8?q?feat(=E9=97=B2=E9=B1=BC):=20=E5=85=A8?= =?UTF-8?q?=E5=B1=8F=E5=B9=BF=E5=91=8A;=20=E5=B1=80=E9=83=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.taobao.idlefish.ts | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/src/apps/com.taobao.idlefish.ts b/src/apps/com.taobao.idlefish.ts index 67f6a17df..14e8710a5 100644 --- a/src/apps/com.taobao.idlefish.ts +++ b/src/apps/com.taobao.idlefish.ts @@ -46,10 +46,11 @@ export default defineGkdApp({ activityIds: 'com.taobao.idlefish.maincontainer.activity.MainActivity', matches: - 'WebView[text="Rax App"] > [id="root"] >(3,6) View[index=parent.childCount.minus(1)][clickable=true]', + 'WebView[text="Rax App"] > [id="root"] >(3,6) View[index=parent.childCount.minus(1)][index>=1]', snapshotUrls: [ 'https://i.gkd.li/i/14551046', 'https://i.gkd.li/i/24981766', + 'https://i.gkd.li/i/26865707', ], }, { @@ -176,6 +177,32 @@ export default defineGkdApp({ }, { key: 9, + name: '局部广告', + desc: '关闭各类局部广告', + rules: [ + { + key: 0, + fastQuery: true, + activityIds: '.maincontainer.activity.MainActivity', + matches: + '@ImageView[clickable=true][width<100] <(2,5) FrameLayout <<(3,4) [vid="fish_layer_container_id"]', + snapshotUrls: [ + 'https://i.gkd.li/i/25796897', + 'https://i.gkd.li/i/26184285', + ], + }, + { + key: 1, + fastQuery: true, + activityIds: '.detail.DetailActivity', + matches: + 'Image[width<60 && height<60] < @View Date: Sun, 19 Apr 2026 15:35:28 +0800 Subject: [PATCH 08/14] =?UTF-8?q?feat(YouTube):=20=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E6=92=AD=E6=94=BE-=E8=B7=B3=E8=BF=87=E5=B9=BF=E5=91=8A;=20?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E6=92=AD=E6=94=BE-=E8=B5=9E=E5=8A=A9?= =?UTF-8?q?=E5=95=86=E5=B9=BF=E5=91=8A;=20=E4=BC=9A=E5=91=98=E5=B9=BF?= =?UTF-8?q?=E5=91=8A;=20=E8=87=AA=E5=8A=A8=E7=BF=BB=E8=AF=91=E8=AF=84?= =?UTF-8?q?=E8=AE=BA;=20=E6=92=AD=E6=94=BE=E9=A1=B5=E5=B9=BF=E5=91=8A;=20?= =?UTF-8?q?=E5=B1=80=E9=83=A8=E5=B9=BF=E5=91=8A;=20=E6=92=AD=E6=94=BE?= =?UTF-8?q?=E5=99=A8=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.google.android.youtube.ts | 140 ++++++++++++++++--------- 1 file changed, 88 insertions(+), 52 deletions(-) diff --git a/src/apps/com.google.android.youtube.ts b/src/apps/com.google.android.youtube.ts index 315ca1cc3..f40e3f867 100644 --- a/src/apps/com.google.android.youtube.ts +++ b/src/apps/com.google.android.youtube.ts @@ -9,28 +9,21 @@ export default defineGkdApp({ name: '全屏广告-视频播放-跳过广告', desc: '点击跳过广告按钮', enable: false, - fastQuery: true, - activityIds: [ - 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', - 'com.google.android.apps.youtube.app.watchwhile.MainActivity', - 'com.google.android.youtube', - ], rules: [ { + fastQuery: true, key: 0, - name: '类型1', - matches: '[id="com.google.android.youtube:id/skip_ad_button_text"]', + activityIds: [ + 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', + 'com.google.android.apps.youtube.app.watchwhile.MainActivity', + ], + matches: '[vid="skip_ad_button" || vid="modern_skip_ad_text"]', snapshotUrls: [ - 'https://i.gkd.li/import/13797491', - 'https://i.gkd.li/import/12565261', + 'https://i.gkd.li/i/13797491', + 'https://i.gkd.li/i/12565261', + 'https://i.gkd.li/i/13705106', ], }, - { - key: 1, - name: '类型2', - matches: '[id="com.google.android.youtube:id/modern_skip_ad_text"]', - snapshotUrls: ['https://i.gkd.li/import/13705106'], - }, ], }, { @@ -43,12 +36,16 @@ export default defineGkdApp({ 'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity', 'com.google.android.apps.youtube.app.watchwhile.MainActivity', ], - rules: - '@[desc="关闭广告面板" || desc="Close ad panel"] <4 [vid="overflow_button"][clickable=true]', + snapshotUrls: [ + 'https://i.gkd.li/i/23790199', + 'https://i.gkd.li/i/26672553', + ], + }, + { + key: 2, + preKeys: [1], matches: '@[clickable=true] >(1,2) [vid="list_item_text"][text="关闭"]', snapshotUrls: [ From 26446400e84d526a875fbce255115506166198d5 Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:35:58 +0800 Subject: [PATCH 09/14] =?UTF-8?q?feat(Gmail):=20=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=B5=81=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.google.android.gm.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/com.google.android.gm.ts b/src/apps/com.google.android.gm.ts index 98d6d2d95..49fb8438d 100644 --- a/src/apps/com.google.android.gm.ts +++ b/src/apps/com.google.android.gm.ts @@ -13,6 +13,7 @@ export default defineGkdApp({ rules: [ { key: 1, + actionMaximum: 1, matches: '[vid="basic_ad_teaser_info_icon" || vid="button_chip_ad_teaser_info_icon"][clickable=true]', snapshotUrls: [ @@ -24,6 +25,7 @@ export default defineGkdApp({ preKeys: [1], key: 2, name: '②点击[屏蔽]', + action: 'clickCenter', // 此界面不接受无障碍事件 matches: '@Button[clickable=true][text="屏蔽此广告" || text^="Block" || desc="屏蔽"] < Date: Sun, 19 Apr 2026 15:36:34 +0800 Subject: [PATCH 10/14] =?UTF-8?q?feat(=E6=94=AF=E4=BB=98=E5=AE=9D):=20?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A;=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=97=B6=E7=82=B9=E5=87=BB[=E8=BF=94?= =?UTF-8?q?=E5=9B=9E];=20=E5=BA=95=E9=83=A8=E6=A8=AA=E5=B9=85=E5=B9=BF?= =?UTF-8?q?=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.eg.android.AlipayGphone.ts | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/src/apps/com.eg.android.AlipayGphone.ts b/src/apps/com.eg.android.AlipayGphone.ts index 91f70aa3e..2aba36161 100644 --- a/src/apps/com.eg.android.AlipayGphone.ts +++ b/src/apps/com.eg.android.AlipayGphone.ts @@ -250,10 +250,14 @@ export default defineGkdApp({ rules: [ { key: 0, + fastQuery: true, activityIds: 'com.eg.android.AlipayGphone.AlipayLogin', matches: - 'RelativeLayout[childCount=2][desc="全屏广告"] ImageView[desc="关闭"]', - snapshotUrls: 'https://i.gkd.li/i/14034152', + '@ImageView[desc="关闭"][clickable=true] < LinearLayout - [id="com.alipay.mobile.advertisement:id/standardlayer_contentview"][desc="推荐广告"]', + snapshotUrls: [ + 'https://i.gkd.li/i/14034152', + 'https://i.gkd.li/i/26184718', + ], }, { key: 1, @@ -332,6 +336,7 @@ export default defineGkdApp({ key: 18, name: '功能类-无法访问时点击[返回]', desc: '无法访问时点击[返回]', + enable: false, rules: [ { fastQuery: true, @@ -360,5 +365,20 @@ export default defineGkdApp({ }, ], }, + { + key: 20, + name: '局部广告-底部横幅广告', + fastQuery: true, + activityIds: '.AlipayLogin', + rules: [ + { + key: 0, + name: '邀请参加调研', + matches: + '@ImageView[clickable=true][width<68] <2 [desc="底部广告"] - [vid="alipaylogin_layout"]', + snapshotUrls: 'https://i.gkd.li/i/26330637', + }, + ], + }, ], }); From 9fba82e290762c374b1846a6ae36cd05a8511c2a Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:36:52 +0800 Subject: [PATCH 11/14] =?UTF-8?q?feat(=E4=B8=AD=E5=9B=BD=E9=93=B6=E8=A1=8C?= =?UTF-8?q?):=20=E5=BC=B9=E7=AA=97=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.chinamworld.bocmbci.ts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/apps/com.chinamworld.bocmbci.ts b/src/apps/com.chinamworld.bocmbci.ts index 13104c9ec..460429adb 100644 --- a/src/apps/com.chinamworld.bocmbci.ts +++ b/src/apps/com.chinamworld.bocmbci.ts @@ -14,12 +14,30 @@ export default defineGkdApp({ resetMatch: 'app', rules: [ { + key: 0, fastQuery: true, activityIds: 'com.boc.bocsoft.mobile.bocmobile.buss.system.main.ui.MainActivity', matches: '@[desc="关闭"] > [vid="btn_action"]', snapshotUrls: 'https://i.gkd.li/i/17691747', }, + { + key: 1, + fastQuery: true, + activityIds: + 'com.boc.bocsoft.mobile.bocmobile.buss.system.main.ui.MainActivity', + matches: + '@Image[clickable=true][childCount=0][visibleToUser=true][width<150 && height<150] <2 View[childCount=2] < View <4 View < View < WebView < WebView < [vid="webview_layout"]', + snapshotUrls: 'https://i.gkd.li/i/19567854', + }, + { + key: 2, + activityIds: + 'com.boc.bocsoft.mobile.bocmobile.buss.system.main.ui.MainActivity', + matches: + '@Image[width<80 && height<80] <2 View[childCount=2] <<2 View[index=parent.childCount.minus(1)] Date: Sun, 19 Apr 2026 15:37:15 +0800 Subject: [PATCH 12/14] =?UTF-8?q?feat(=E7=99=BE=E5=BA=A6=E8=B4=B4=E5=90=A7?= =?UTF-8?q?):=20=E4=BF=A1=E6=81=AF=E6=B5=81=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.baidu.tieba.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/com.baidu.tieba.ts b/src/apps/com.baidu.tieba.ts index ddc934a27..08c53508f 100644 --- a/src/apps/com.baidu.tieba.ts +++ b/src/apps/com.baidu.tieba.ts @@ -115,12 +115,15 @@ export default defineGkdApp({ 'com.baidu.tieba.pb.pb.main.PbActivity', 'com.baidu.tieba.forum.ForumActivity', ], - matches: + anyMatches: [ '@View[clickable=true][visibleToUser=true] - [text^="选择不喜欢"]', + '[text="已经看过"][clickable=true]', + ], snapshotUrls: [ 'https://i.gkd.li/i/16595134', 'https://i.gkd.li/i/16595511', 'https://i.gkd.li/i/16595113', + 'https://i.gkd.li/i/26634661', // [已经看过] ], }, ], From 530247a237fbbafa6e84db108f8ecf32545e8a60 Mon Sep 17 00:00:00 2001 From: aoguai <1340219674@qq.com> Date: Sun, 19 Apr 2026 15:37:52 +0800 Subject: [PATCH 13/14] =?UTF-8?q?feat(=E9=98=BF=E9=87=8C=E4=BA=91=E7=9B=98?= =?UTF-8?q?):=20=E6=9B=B4=E6=96=B0=E6=8F=90=E7=A4=BA;=20[=E5=AE=B9?= =?UTF-8?q?=E9=87=8F=E4=BD=BF=E7=94=A8=E8=B6=85=E9=99=90]=E6=8F=90?= =?UTF-8?q?=E7=A4=BA;=20=E5=8D=A1=E7=89=87=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.alicloud.databox.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/com.alicloud.databox.ts b/src/apps/com.alicloud.databox.ts index f50e77e3c..bb6d77e5d 100644 --- a/src/apps/com.alicloud.databox.ts +++ b/src/apps/com.alicloud.databox.ts @@ -94,7 +94,7 @@ export default defineGkdApp({ rules: [ { matches: - '[text^="立即了解"] -3 @View[clickable=true] < Date: Sun, 19 Apr 2026 15:38:40 +0800 Subject: [PATCH 14/14] =?UTF-8?q?feat(WPS):=20=E5=BC=B9=E7=AA=97=E5=B9=BF?= =?UTF-8?q?=E5=91=8A;=20=E5=85=B3=E9=97=AD[=E5=BC=80=E5=90=AFWPS=E4=BA=91?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1]=E5=BC=B9=E7=AA=97;=20=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=9C=AB=E5=B0=BE=E5=B9=BF=E5=91=8A;=20=E5=B1=80=E9=83=A8?= =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/cn.wps.moffice_eng.ts | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/apps/cn.wps.moffice_eng.ts b/src/apps/cn.wps.moffice_eng.ts index 717305a3f..919973977 100644 --- a/src/apps/cn.wps.moffice_eng.ts +++ b/src/apps/cn.wps.moffice_eng.ts @@ -48,7 +48,7 @@ export default defineGkdApp({ 'cn.wps.moffice.main.AfterLoginActivity', 'com.android.packageinstaller.permission.ui.GrantPermissionsActivity', ], - matches: '[id="cn.wps.moffice_eng:id/afterlogin_cancel"]', + matches: '[vid="afterlogin_cancel"]', snapshotUrls: [ 'https://i.gkd.li/i/13259097', 'https://i.gkd.li/i/12882712', @@ -59,7 +59,7 @@ export default defineGkdApp({ fastQuery: true, activityIds: 'cn.wps.moffice.main.local.HomeRootActivity', matches: - 'View[childCount=3] > Image[text!=null] +2 @TextView[clickable=true] <2 [id="cn.wps.moffice_eng:id/btn_close"]', + matches: '[vid="doc_end_ad_container_main"] >2 [vid="btn_close"]', snapshotUrls: 'https://i.gkd.li/i/13513911', }, { @@ -133,7 +131,7 @@ export default defineGkdApp({ fastQuery: true, activityIds: 'cn.wps.moffice.main.local.HomeRootActivity', matches: - '[id="cn.wps.moffice_eng:id/home_banner_ad_spread_close" || vid="phone_message_close_button" || vid="close_home_ad_banner_iv" || vid="iv_item_close" || vid="iv_cloud_sync_close"][visibleToUser=true]', + '[vid="home_banner_ad_spread_close" || vid="phone_message_close_button" || vid="close_home_ad_banner_iv" || vid="iv_item_close" || vid="iv_cloud_sync_close"][visibleToUser=true]', snapshotUrls: [ 'https://i.gkd.li/i/13804525', 'https://i.gkd.li/i/17893252',