From d2be13bd6ddee11eb4644fafa797433a778d0096 Mon Sep 17 00:00:00 2001 From: AIsouler <57941037+AIsouler@users.noreply.github.com> Date: Sun, 14 Jan 2024 21:36:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E5=B0=8F=E9=A3=9E=E6=9C=BA=E7=BD=91?= =?UTF-8?q?=E7=9B=98):=E8=A7=86=E9=A2=91=E9=A1=B5=E5=B9=BF=E5=91=8A=20(#37?= =?UTF-8?q?91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(小飞机网盘):视频页广告 * feat:修改名称 --- src/apps/com.xiaofeiji.app.disk.ts | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/apps/com.xiaofeiji.app.disk.ts diff --git a/src/apps/com.xiaofeiji.app.disk.ts b/src/apps/com.xiaofeiji.app.disk.ts new file mode 100644 index 00000000..d9c2a994 --- /dev/null +++ b/src/apps/com.xiaofeiji.app.disk.ts @@ -0,0 +1,29 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.xiaofeiji.app.disk', + name: '小飞机网盘', + groups: [ + { + key: 1, + quickFind: true, + name: '分段广告', + desc: '点击X-点击不感兴趣', + rules: [ + { + key: 0, + activityIds: 'com.xiaofeiji.app.disk.MainActivity', + matches: '@Image[visibleToUser=true] < View + View >2 [text="广告"]', + snapshotUrls: 'https://i.gkd.li/import/13857392', + }, + { + preKeys: 0, + key: 1, + activityIds: 'com.xiaofeiji.app.disk.MainActivity', + matches: '[id="android:id/content"] >5 [text="不感兴趣"]', + snapshotUrls: 'https://i.gkd.li/import/13857537', + }, + ], + }, + ], +});