diff --git a/src/apps/npgl.jsitcx.xlpqi.ts b/src/apps/npgl.jsitcx.xlpqi.ts new file mode 100644 index 00000000..c159bd4e --- /dev/null +++ b/src/apps/npgl.jsitcx.xlpqi.ts @@ -0,0 +1,76 @@ +import { defineAppConfig } from '../types'; + +export default defineAppConfig({ + id: 'npgl.jsitcx.xlpqi', + name: 'NP管理器', + groups: [ + { + key: 0, + name: '开屏广告', + rules: [ + { + key: 0, + activityIds: 'flc.ast.SplashActivity', + matches: '[id="com.byted.pangle:id/tt_splash_skip_btn"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12799908', + }, + ], + }, + { + key: 1, + name: '应用内第三方 SDK 广告弹窗', + rules: [ + { + key: 0, + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: '[text$="跳过"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12799926', + }, + { + key: 1, + activityIds: + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + matches: + '@Image[id=null][text=""] < View + View +n [text="反馈"] +n View > View > TextView[text="广告"]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12799942', + 'https://gkd-kit.songe.li/import/12800095', + ], + }, + ], + }, + { + key: 2, + name: '应用内第三方 SDK 广告卡片', + activityIds: [ + 'flc.ast.HomeActivity', + 'com.bytedance.sdk.openadsdk.stub.activity.Stub_Standard_Portrait_Activity', + ], + rules: [ + { + key: 0, + matches: '@Image < View + View >2 Image', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12799977', + 'https://gkd-kit.songe.li/import/12800107', + ], + }, + { + key: 1, + matches: 'Image < View < View +n View > Image[visibleToUser=true]', + snapshotUrls: [ + 'https://gkd-kit.songe.li/import/12800034', + 'https://gkd-kit.songe.li/import/12800162', // 限定 Image[visibleToUser=true],防止点击不可见节点 + ], + }, + { + preKeys: [0, 1], + key: 2, + matches: '@LinearLayout > [text="不感兴趣"]', + snapshotUrls: 'https://gkd-kit.songe.li/import/12799995', + }, + ], + }, + ], +});