From c3325b4560c63ac2ea9d3722b5e80e9219cbff6d Mon Sep 17 00:00:00 2001 From: lisonge Date: Sun, 3 Sep 2023 02:35:28 +0800 Subject: [PATCH] chore: sync --- README.md | 18 ++++++++-- dist/gkd.json | 65 ++++++++++++++++++++++++++++++++++- package.json | 2 +- src/apps/com.copymanga.app.ts | 65 +++++++++++++++++++++++++++++++++++ 4 files changed, 146 insertions(+), 4 deletions(-) create mode 100644 src/apps/com.copymanga.app.ts diff --git a/README.md b/README.md index cf0b204c..bcde20db 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 搞快点 APP 默认订阅规则 -当前订阅文件已适配 79 个 APP, 共有 132 规则组 +当前订阅文件已适配 80 个 APP, 共有 135 规则组 ## 适配 APP 列表 @@ -51,7 +51,7 @@ ### [com.android.thememanager](/src/apps/com.android.thememanager.ts) - miui主题壁纸 -- 推荐下广告 +- 推荐下广告 - 注意如果使用ADB禁用了MIUI广告组件,点击此按钮会无反应,可关闭此规则,避免过多相同点击记录 ### [com.anjuke.android.app](/src/apps/com.anjuke.android.app.ts) - 安居客 @@ -113,6 +113,20 @@ - 关闭升级弹窗 - [快照-0](https://gkd-kit.gitee.io/import/12503762) +### [com.copymanga.app](/src/apps/com.copymanga.app.ts) - 拷貝漫畫 + +- 开屏广告 + - [快照-0](https://gkd-kit.gitee.io/import/12504489) + - [快照-1](https://gkd-kit.gitee.io/import/12504507) + - [快照-2](https://gkd-kit.gitee.io/import/12504492) +- 内部弹窗广告 + - [快照-0](https://gkd-kit.gitee.io/import/12504486) + - [快照-1](https://gkd-kit.gitee.io/import/12504488) + - [快照-2](https://gkd-kit.gitee.io/import/12504501) + - [快照-3](https://gkd-kit.gitee.io/import/12504520) +- 加入书架按钮下面的广告 + - [快照-0](https://gkd-kit.gitee.io/import/12504525) + ### [com.ct.client](/src/apps/com.ct.client.ts) - 中国电信 - 开屏广告 diff --git a/dist/gkd.json b/dist/gkd.json index e45b3366..736ae69c 100644 --- a/dist/gkd.json +++ b/dist/gkd.json @@ -1,7 +1,7 @@ { "id": 0, "name": "默认订阅", - "version": 42, + "version": 43, "author": "lisonge", "supportUri": "https://github.com/gkd-kit/subscription", "apps": [ @@ -163,6 +163,7 @@ { "key": 1, "name": "推荐下广告", + "desc": "注意如果使用ADB禁用了MIUI广告组件,点击此按钮会无反应,可关闭此规则,避免过多相同点击记录", "rules": "[id=`com.android.thememanager:id/ad_close_btn`]" } ] @@ -431,6 +432,68 @@ } ] }, + { + "id": "com.copymanga.app", + "name": "拷貝漫畫", + "groups": [ + { + "key": 0, + "name": "开屏广告", + "activityIds": [ + "com.copymanga.app.MainActivity", + "com.miui.home.launcher.Launcher", + "com.reaper.flutter.reaper_flutter_plugin.activity.ReaperSplashActivity" + ], + "rules": [ + { + "matches": "TextView[text!=null] - TextView[text^=\"跳过\"]", + "snapshotUrls": [ + "https://gkd-kit.gitee.io/import/12504489", + "https://gkd-kit.gitee.io/import/12504507" + ] + }, + { + "matches": "ImageView + ViewGroup > TextView[text=\"跳过\"]", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504492" + } + ] + }, + { + "key": 1, + "name": "内部弹窗广告", + "activityIds": "com.copymanga.app.MainActivity", + "rules": [ + { + "activityIds": "com.kwad.components.ad.interstitial", + "matches": "TextView[text=\"跳过\"]", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504486" + }, + { + "activityIds": "com.kwad.components.ad.interstitial", + "matches": "ViewGroup[clickable=true] > ImageView", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504488" + }, + { + "matches": "ImageView < FrameLayout < FrameLayout +2 FrameLayout > ImageView", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504501" + }, + { + "matches": "ImageView + FrameLayout + FrameLayout > ImageView", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504520" + } + ] + }, + { + "key": 2, + "name": "加入书架按钮下面的广告", + "activityIds": "com.copymanga.app.MainActivity", + "rules": { + "matches": "ImageView[id=\"com.copymanga.app:id/close\"]", + "snapshotUrls": "https://gkd-kit.gitee.io/import/12504525" + } + } + ] + }, { "id": "com.ct.client", "name": "中国电信", diff --git a/package.json b/package.json index 286f7062..d005c30b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gkd-kit/subscription", "type": "module", - "version": "0.0.42", + "version": "0.0.43", "main": "./dist/gkd.json", "unpkg": "./dist/gkd.json", "jsdelivr": "./dist/gkd.json", diff --git a/src/apps/com.copymanga.app.ts b/src/apps/com.copymanga.app.ts new file mode 100644 index 00000000..8e05af95 --- /dev/null +++ b/src/apps/com.copymanga.app.ts @@ -0,0 +1,65 @@ +import type { AppConfig } from '../types'; + +export default { + id: 'com.copymanga.app', + name: '拷貝漫畫', + groups: [ + { + key: 0, + name: '开屏广告', + activityIds: [ + 'com.copymanga.app.MainActivity', + 'com.miui.home.launcher.Launcher', + 'com.reaper.flutter.reaper_flutter_plugin.activity.ReaperSplashActivity', + ], + rules: [ + { + matches: 'TextView[text!=null] - TextView[text^="跳过"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12504489', + 'https://gkd-kit.gitee.io/import/12504507', + ], + }, + { + matches: 'ImageView + ViewGroup > TextView[text="跳过"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504492', + }, + ], + }, + { + key: 1, + name: '内部弹窗广告', + activityIds: 'com.copymanga.app.MainActivity', + rules: [ + { + activityIds: 'com.kwad.components.ad.interstitial', + matches: 'TextView[text="跳过"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504486', + }, + { + activityIds: 'com.kwad.components.ad.interstitial', + matches: 'ViewGroup[clickable=true] > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504488', + }, + { + matches: + 'ImageView < FrameLayout < FrameLayout +2 FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504501', + }, + { + matches: 'ImageView + FrameLayout + FrameLayout > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504520', + }, + ], + }, + { + key: 2, + name: '加入书架按钮下面的广告', + activityIds: 'com.copymanga.app.MainActivity', + rules: { + matches: 'ImageView[id="com.copymanga.app:id/close"]', + snapshotUrls: 'https://gkd-kit.gitee.io/import/12504525', + }, + }, + ], +};