From a5db17240468fc26171fa3de3fbd44ec5a0c3dff Mon Sep 17 00:00:00 2001 From: adproqwq <101449500+adproqwq@users.noreply.github.com> Date: Sun, 26 Nov 2023 21:52:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=83=E7=8C=AB=E5=85=8D=E8=B4=B9?= =?UTF-8?q?=E5=B0=8F=E8=AF=B4):=20=E3=80=90=E5=AD=97=E8=8A=82=E3=80=91?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E5=B9=BF=E5=91=8A=EF=BC=88=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=85=B3=E9=97=AD=EF=BC=89=20(#2513)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(七猫免费小说): 【字节】视频广告(默认关闭) * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] close #2506 --- src/apps/com.kmxs.reader.ts | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/src/apps/com.kmxs.reader.ts b/src/apps/com.kmxs.reader.ts index b7f98bef..1811fb20 100644 --- a/src/apps/com.kmxs.reader.ts +++ b/src/apps/com.kmxs.reader.ts @@ -78,5 +78,33 @@ export default defineAppConfig({ }, snapshotUrls: ['https://i.gkd.li/import/12640287'], }, + { + enable: false, + key: 5, + name: '【字节】视频广告', + desc: '此规则有概率误触或失效,请谨慎选择开启。', + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + quickFind: true, + rules: [ + { + key: 0, + name: '点击跳过', + matches: '[text*="跳过"][text.length<=10]', + snapshotUrls: [ + 'https://i.gkd.li/import/13459157', + 'https://i.gkd.li/import/13459172', + 'https://i.gkd.li/import/13459174', + ], + }, + { + key: 1, + name: '点击叉号', + matches: + '[id="com.byted.pangle:id/tt_reward_full_count_down_after_close"]', + snapshotUrls: 'https://i.gkd.li/import/13459182', + }, + ], + }, ], });