From 81b673ae6c1a4a92aa3488d88b9702c26ce4ba25 Mon Sep 17 00:00:00 2001 From: AIsouler Date: Thu, 3 Jul 2025 20:14:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=95=AA=E8=8C=84=E5=85=8D=E8=B4=B9?= =?UTF-8?q?=E5=B0=8F=E8=AF=B4-=E5=8A=9F=E8=83=BD=E7=B1=BB-=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E5=B9=BF=E5=91=8A=E5=A3=B0=E9=9F=B3=E3=80=81=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E7=B1=BB-=E8=A7=82=E7=9C=8B=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=90=8E=E7=82=B9=E5=87=BB=E8=8E=B7=E5=BE=97=E5=90=AC=E4=B9=A6?= =?UTF-8?q?=E6=97=B6=E9=95=BF=E6=97=81=E8=BE=B9=E7=9A=84=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=8C=89=E9=92=AE=20#1023?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.dragon.read.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/apps/com.dragon.read.ts b/src/apps/com.dragon.read.ts index 185ff704..a2db49fa 100644 --- a/src/apps/com.dragon.read.ts +++ b/src/apps/com.dragon.read.ts @@ -258,5 +258,34 @@ export default defineGkdApp({ }, ], }, + { + key: 15, + name: '功能类-关闭广告声音', + actionMaximum: 1, + rules: [ + { + fastQuery: true, + activityIds: 'com.ss.android.excitingvideo.ExcitingVideoActivity', + matches: 'LynxFlattenUI[text="开启声音"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/7dcb8002-607b-4a0a-8ef7-cfa351fcc388', + snapshotUrls: 'https://i.gkd.li/i/20989168', + excludeSnapshotUrls: 'https://i.gkd.li/i/20991240', + }, + ], + }, + { + key: 16, + name: '功能类-观看广告后点击获得听书时长旁边的关闭按钮', + rules: [ + { + fastQuery: true, + activityIds: 'com.ss.android.excitingvideo.ExcitingVideoActivity', + matches: + '@LynxFlattenUI[clickable=true] -2 [text="获得听书时长"] -n FlattenUIText[text="广告"]', + exampleUrls: 'https://e.gkd.li/8f6a6b4b-b189-48b8-a068-d66514b244e3', + snapshotUrls: 'https://i.gkd.li/i/20989165', + }, + ], + }, ], });