From 8b1cca033cbfae81ba4b147340c00ec8735438e7 Mon Sep 17 00:00:00 2001 From: MiracleLau Date: Sun, 24 Dec 2023 21:47:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=99=BA=E8=B0=B1):=20=E5=90=AF=E5=8A=A8?= =?UTF-8?q?=E9=A1=B5=E5=B9=BF=E5=91=8A=E5=92=8C=E9=A6=96=E9=A1=B5=E4=BB=8A?= =?UTF-8?q?=E6=97=A5=E8=A6=81=E9=97=BB=E5=BC=B9=E7=AA=97=20(#3349)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #3336 --- src/apps/com.crirp.zhipu.ts | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 src/apps/com.crirp.zhipu.ts diff --git a/src/apps/com.crirp.zhipu.ts b/src/apps/com.crirp.zhipu.ts new file mode 100644 index 00000000..29acfc57 --- /dev/null +++ b/src/apps/com.crirp.zhipu.ts @@ -0,0 +1,51 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.crirp.zhipu', + name: '智谱', + groups: [ + { + name: '开屏广告', + key: 1, + enable: true, + matchTime: 10000, + quickFind: true, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[text="关闭"]', + snapshotUrls: 'https://i.gkd.li/import/13725305', + }, + ], + }, + { + name: '首页-今日要闻-不再提示', + key: 2, + desc: '【首页-今日要闻-不再提示】和【首页-今日要闻-关闭】只开启一个即可', + enable: false, + quickFind: true, + activityIds: 'com.ruipeng.zipu.ui.main.uniauto.UniautoHomeActivity', + rules: [ + { + matches: '[id$="/cancel_tv"]', + snapshotUrls: 'https://i.gkd.li/import/13725337', + }, + ], + }, + { + name: '首页-今日要闻-关闭', + key: 3, + desc: '【首页-今日要闻-不再提示】和【首页-今日要闻-关闭】只开启一个即可', + enable: false, + quickFind: true, + activityIds: 'com.ruipeng.zipu.ui.main.uniauto.UniautoHomeActivity', + rules: [ + { + matches: '[id$="/tv_close"]', + snapshotUrls: 'https://i.gkd.li/import/13725337', + }, + ], + }, + ], +});