From db739b17197d6d2cad9b5aa71b34340c6d0cf19f Mon Sep 17 00:00:00 2001 From: AIsouler Date: Sat, 2 Aug 2025 12:30:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=90=9C=E7=8B=97=E6=B5=8F=E8=A7=88?= =?UTF-8?q?=E5=99=A8=E6=9E=81=E9=80=9F=E7=89=88-=E5=88=86=E6=AE=B5?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=20#1080?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/sogou.mobile.explorer.ts | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/apps/sogou.mobile.explorer.ts diff --git a/src/apps/sogou.mobile.explorer.ts b/src/apps/sogou.mobile.explorer.ts new file mode 100644 index 00000000..ea5143c0 --- /dev/null +++ b/src/apps/sogou.mobile.explorer.ts @@ -0,0 +1,30 @@ +import { defineGkdApp } from '@gkd-kit/define'; + +export default defineGkdApp({ + id: 'sogou.mobile.explorer', + name: '搜狗浏览器极速版', + groups: [ + { + key: 1, + name: '分段广告-小说页面广告', + activityIds: 'com.tencent.mtt.MainActivity', + rules: [ + { + key: 0, + excludeMatches: '[desc="关闭此广告"][visibleToUser=true]', + matches: + '@ViewGroup[clickable=true] >2 [desc="广告"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/5c2eb8d5-f53a-4b8e-81e2-65728cf4e924', + snapshotUrls: 'https://i.gkd.li/i/21556785', + }, + { + preKeys: [0], + matches: + '@ViewGroup[clickable=true] > [desc="关闭此广告"][visibleToUser=true]', + exampleUrls: 'https://e.gkd.li/63c0e510-c2eb-4cca-b3f4-81bfe709972c', + snapshotUrls: 'https://i.gkd.li/i/21556776', + }, + ], + }, + ], +});