diff --git a/dist/gkd.json b/dist/gkd.json index 7ee06f0c..030a4f06 100644 --- a/dist/gkd.json +++ b/dist/gkd.json @@ -1,7 +1,7 @@ { "id": 0, "name": "默认订阅", - "version": 34, + "version": 35, "author": "lisonge", "supportUrl": "https://github.com/gkd-kit/subscription", "apps": [ @@ -1274,6 +1274,19 @@ } ] }, + { + "id": "gov.pianzong.androidnga", + "groups": [ + { + "key": 0, + "name": "NGA玩家社区-开屏广告", + "activityIds": "gov.pianzong.androidnga.activity.LoadingActivity", + "rules": [ + "[id=\"gov.pianzong.androidnga:id/iv_tg_ad\"]" + ] + } + ] + }, { "id": "li.songe.gkd", "groups": [ diff --git a/package.json b/package.json index ad42dff6..2e0ab43b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@gkd-kit/subscription", "type": "module", - "version": "0.0.34", + "version": "0.0.35", "main": "./dist/gkd.json", "unpkg": "./dist/gkd.json", "jsdelivr": "./dist/gkd.json", diff --git a/src/apps/com.tencent.mm.ts b/src/apps/com.tencent.mm.ts index 3d20a896..a6655d58 100644 --- a/src/apps/com.tencent.mm.ts +++ b/src/apps/com.tencent.mm.ts @@ -8,6 +8,7 @@ export default { name: '微信朋友圈广告', desc: '朋友圈信息流广告,点击关闭按钮,确认关闭', activityIds: 'com.tencent.mm.plugin.sns.ui.SnsTimeLineUI', + // video https://github.com/gkd-kit/subscription/assets/38517192/c9ae4bba-a748-4755-b5e4-c7ad3d489a79 rules: [ 'TextView[text*=`广告`] + TextView[text=`关闭该广告`]', 'ImageView - TextView[text=`广告`][id!=null][index=0]', diff --git a/src/apps/gov.pianzong.androidnga.ts b/src/apps/gov.pianzong.androidnga.ts new file mode 100644 index 00000000..697878b2 --- /dev/null +++ b/src/apps/gov.pianzong.androidnga.ts @@ -0,0 +1,14 @@ +import type { AppConfig } from '../types'; + +export default { + id: 'gov.pianzong.androidnga', + groups: [ + { + key: 0, + name: `NGA玩家社区-开屏广告`, + activityIds: `gov.pianzong.androidnga.activity.LoadingActivity`, + // https://gkd-kit.gitee.io/import/12476484 + rules: [`[id="gov.pianzong.androidnga:id/iv_tg_ad"]`], + }, + ], +};