From 071245c3ad4f75fee9724d38f37687095a03867e Mon Sep 17 00:00:00 2001 From: AIsouler Date: Wed, 28 Feb 2024 21:49:02 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=A4=A7=E5=AD=A6=E6=90=9C=E9=A2=98?= =?UTF-8?q?=E9=85=B1):=20=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=EF=BC=88GKD1?= =?UTF-8?q?.7=E6=9C=89=E6=95=88=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/com.zmzx.college.search.ts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/apps/com.zmzx.college.search.ts b/src/apps/com.zmzx.college.search.ts index 9df77f0a..8210b807 100644 --- a/src/apps/com.zmzx.college.search.ts +++ b/src/apps/com.zmzx.college.search.ts @@ -5,6 +5,32 @@ export default defineAppConfig({ name: '大学搜题酱', deprecatedKeys: [4], groups: [ + { + key: 0, + name: '开屏广告', + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + key: 0, + matches: '[text*="跳过"][text.length<10][visibleToUser=true]', + snapshotUrls: 'https://i.gkd.li/i/12867875', + }, + { + key: 1, + action: 'clickCenter', + position: { + left: 'width * 0.8981', + top: 'width * 0.1574', + }, + matches: '[id="android:id/content"]', + exampleUrls: + 'https://m.gkd.li/57941037/45daad88-68a3-41b9-933a-943eeae0e4ff', + snapshotUrls: 'https://i.gkd.li/i/14434685', + }, + ], + }, { enable: false, key: 1,