From 9036e4056ce121a0af2e66f2820a429e6d43caf0 Mon Sep 17 00:00:00 2001 From: Zeng Weiyu Date: Thu, 16 Nov 2023 21:26:33 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E5=85=9A=E5=BB=BA=E5=A4=B4=E6=9D=A1):=20?= =?UTF-8?q?=E5=BC=80=E5=B1=8F=E5=B9=BF=E5=91=8A=20(#2128)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(党建头条):开屏广告 * chore(actions): check_format_lint * 改善规则 * feat(党建头条): 开屏广告 --------- Co-authored-by: github-actions[bot] Co-authored-by: lisonge --- src/apps/com.djttw.news.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/apps/com.djttw.news.ts diff --git a/src/apps/com.djttw.news.ts b/src/apps/com.djttw.news.ts new file mode 100644 index 00000000..b399a0d3 --- /dev/null +++ b/src/apps/com.djttw.news.ts @@ -0,0 +1,24 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.djttw.news', + name: '党建头条', + groups: [ + { + key: 1, + name: '开屏广告', + actionDelay: 200, + matchTime: 10000, + actionMaximum: 1, + resetMatch: 'app', + rules: [ + { + matches: '[text="跳过"]', + exampleUrls: + 'https://m.gkd.li/6328439/3434673a-67eb-4c81-8fd3-c69dfa8d00db', + snapshotUrls: 'https://i.gkd.li/import/13359665', + }, + ], + }, + ], +});