feat: 微博轻享版

This commit is contained in:
lisonge 2023-09-03 18:58:43 +08:00
parent 369f68255c
commit 7035f7ba75
4 changed files with 74 additions and 3 deletions

View File

@ -2,7 +2,7 @@
搞快点 APP 默认订阅规则 搞快点 APP 默认订阅规则
当前订阅文件已适配 81 个 APP, 共有 137 规则组 当前订阅文件已适配 82 个 APP, 共有 138 规则组
如何编写订阅/贡献此项目 -> [CONTRIBUTING.md](./CONTRIBUTING.md) 如何编写订阅/贡献此项目 -> [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) - 小米应用商店 ### [com.xiaomi.market](/src/apps/com.xiaomi.market.ts) - 小米应用商店
- 首页悬浮窗广告 - 首页悬浮窗广告

31
dist/gkd.json vendored
View File

@ -1,7 +1,7 @@
{ {
"id": 0, "id": 0,
"name": "默认订阅", "name": "默认订阅",
"version": 45, "version": 46,
"author": "lisonge", "author": "lisonge",
"supportUri": "https://github.com/gkd-kit/subscription", "supportUri": "https://github.com/gkd-kit/subscription",
"apps": [ "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", "id": "com.xiaomi.market",
"name": "小米应用商店", "name": "小米应用商店",

View File

@ -1,7 +1,7 @@
{ {
"name": "@gkd-kit/subscription", "name": "@gkd-kit/subscription",
"type": "module", "type": "module",
"version": "0.0.45", "version": "0.0.46",
"main": "./dist/gkd.json", "main": "./dist/gkd.json",
"unpkg": "./dist/gkd.json", "unpkg": "./dist/gkd.json",
"jsdelivr": "./dist/gkd.json", "jsdelivr": "./dist/gkd.json",

View File

@ -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',
],
},
],
},
],
});