diff --git a/README.md b/README.md index 2d0e2e57..e204ace5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 搞快点 APP 默认订阅规则 -当前订阅文件已适配 81 个 APP, 共有 137 规则组 +当前订阅文件已适配 82 个 APP, 共有 138 规则组 如何编写订阅/贡献此项目 -> [CONTRIBUTING.md](./CONTRIBUTING.md) @@ -363,6 +363,15 @@ - 开屏广告 +### [com.weico.international](/src/apps/com.weico.international.ts) - 微博轻享版 + +- 主页-推荐流广告 + - [快照-0](https://github.com/gkd-kit/subscription/assets/38517192/e713a2ca-5048-486a-874f-dd876d53c49b) + - [快照-1](https://gkd-kit.gitee.io/import/12505755) + - [快照-2](https://gkd-kit.gitee.io/import/12505764) + - [快照-3](https://gkd-kit.gitee.io/import/12505753) + - [快照-4](https://gkd-kit.gitee.io/import/12505763) + ### [com.xiaomi.market](/src/apps/com.xiaomi.market.ts) - 小米应用商店 - 首页悬浮窗广告 diff --git a/dist/gkd.json b/dist/gkd.json index e5f6a9ef..e1fd816f 100644 --- a/dist/gkd.json +++ b/dist/gkd.json @@ -1,7 +1,7 @@ { "id": 0, "name": "默认订阅", - "version": 45, + "version": 46, "author": "lisonge", "supportUri": "https://github.com/gkd-kit/subscription", "apps": [ @@ -1353,6 +1353,35 @@ } ] }, + { + "id": "com.weico.international", + "name": "微博轻享版", + "groups": [ + { + "key": 0, + "name": "主页-推荐流广告", + "activityIds": "com.weico.international.activity.MainFragmentActivity", + "snapshotUrls": "https://github.com/gkd-kit/subscription/assets/38517192/e713a2ca-5048-486a-874f-dd876d53c49b", + "rules": [ + { + "activityIds": "com.google.android.material.bottomsheet.BottomSheetDialog", + "matches": "@View > [text=\"不感兴趣\"]", + "snapshotUrls": [ + "https://gkd-kit.gitee.io/import/12505755", + "https://gkd-kit.gitee.io/import/12505764" + ] + }, + { + "matches": "[id=\"com.weico.international:id/item_timeline_ad_action\"]", + "snapshotUrls": [ + "https://gkd-kit.gitee.io/import/12505753", + "https://gkd-kit.gitee.io/import/12505763" + ] + } + ] + } + ] + }, { "id": "com.xiaomi.market", "name": "小米应用商店", diff --git a/package.json b/package.json index b42255a5..52d6191e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gkd-kit/subscription", "type": "module", - "version": "0.0.45", + "version": "0.0.46", "main": "./dist/gkd.json", "unpkg": "./dist/gkd.json", "jsdelivr": "./dist/gkd.json", diff --git a/src/apps/com.weico.international.ts b/src/apps/com.weico.international.ts new file mode 100644 index 00000000..2087823f --- /dev/null +++ b/src/apps/com.weico.international.ts @@ -0,0 +1,33 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'com.weico.international', + name: '微博轻享版', + groups: [ + { + key: 0, + name: '主页-推荐流广告', + activityIds: 'com.weico.international.activity.MainFragmentActivity', + snapshotUrls: + 'https://github.com/gkd-kit/subscription/assets/38517192/e713a2ca-5048-486a-874f-dd876d53c49b', + rules: [ + { + activityIds: + 'com.google.android.material.bottomsheet.BottomSheetDialog', + matches: '@View > [text="不感兴趣"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12505755', + 'https://gkd-kit.gitee.io/import/12505764', + ], + }, + { + matches: '[id="com.weico.international:id/item_timeline_ad_action"]', + snapshotUrls: [ + 'https://gkd-kit.gitee.io/import/12505753', + 'https://gkd-kit.gitee.io/import/12505763', + ], + }, + ], + }, + ], +});