diff --git a/dist/gkd.json b/dist/gkd.json index bac181a5..d0cc966d 100644 --- a/dist/gkd.json +++ b/dist/gkd.json @@ -1,7 +1,7 @@ { "id": 0, "name": "默认订阅", - "version": 21, + "version": 22, "author": "lisonge", "supportUrl": "https://github.com/gkd-kit/subscription", "apps": [ @@ -41,6 +41,17 @@ } ] }, + { + "id": "cn.damai", + "groups": [ + { + "key": 0, + "name": "大麦-开屏广告", + "activityIds": "cn.damai.launcher.splash.SplashMainActivity", + "rules": "[id=\"cn.damai:id/homepage_advert_pb\"]" + } + ] + }, { "id": "cn.wps.moffice_eng", "groups": [ @@ -1009,6 +1020,17 @@ } ] }, + { + "id": "com.ximalaya.ting.android", + "groups": [ + { + "key": 0, + "name": "喜马拉雅-右侧浮动广告", + "activityIds": "com.ximalaya.ting.android.host.activity.MainActivity", + "rules": "[id=\"com.ximalaya.ting.android:id/main_ad_broadside_close_real\"]" + } + ] + }, { "id": "com.ximalaya.ting.lite", "groups": [ diff --git a/package.json b/package.json index 91f035ee..199b7d9a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gkd-kit/subscription", "type": "module", - "version": "0.0.21", + "version": "0.0.22", "main": "./dist/gkd.json", "unpkg": "./dist/gkd.json", "jsdelivr": "./dist/gkd.json", diff --git a/src/apps/cn.damai.ts b/src/apps/cn.damai.ts new file mode 100644 index 00000000..51c8ad50 --- /dev/null +++ b/src/apps/cn.damai.ts @@ -0,0 +1,14 @@ +import type { AppConfig } from '../types'; + +export default { + id: 'cn.damai', + groups: [ + { + key: 0, + name: `大麦-开屏广告`, + activityIds: `cn.damai.launcher.splash.SplashMainActivity`, + // https://gkd-kit.gitee.io/import/38517192/38859663-6f0c-48b1-9392-20ae937a8c9e + rules: `[id="cn.damai:id/homepage_advert_pb"]`, + }, + ], +}; diff --git a/src/apps/com.mt.mtxx.mtxx.ts b/src/apps/com.mt.mtxx.mtxx.ts index d004fcf8..8fd9a79a 100644 --- a/src/apps/com.mt.mtxx.mtxx.ts +++ b/src/apps/com.mt.mtxx.mtxx.ts @@ -7,6 +7,7 @@ export default { key: 0, name: '美图秀秀-开屏广告', activityIds: 'com.meitu.business.ads.core.activity.AdActivity', + // https://gkd-kit.gitee.io/import/38517192/1f56aa17-c290-4e56-b6fb-a94bc778448b rules: '[text=`跳过广告`]', }, ], diff --git a/src/apps/com.ximalaya.ting.android.ts b/src/apps/com.ximalaya.ting.android.ts new file mode 100644 index 00000000..9f3c5042 --- /dev/null +++ b/src/apps/com.ximalaya.ting.android.ts @@ -0,0 +1,14 @@ +import type { AppConfig } from '../types'; + +export default { + id: 'com.ximalaya.ting.android', + groups: [ + { + key: 0, + name: `喜马拉雅-右侧浮动广告`, + activityIds: `com.ximalaya.ting.android.host.activity.MainActivity`, + // https://gkd-kit.gitee.io/import/38517192/45664dfb-b8e6-4bdb-b5bb-9852c7a86a2f + rules: `[id="com.ximalaya.ting.android:id/main_ad_broadside_close_real"]`, + }, + ], +};