mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-21 09:15:11 +08:00
feat(NP管理器): 开屏广告,广告弹窗,广告卡片 (#628)
This commit is contained in:
76
src/apps/npgl.jsitcx.xlpqi.ts
Normal file
76
src/apps/npgl.jsitcx.xlpqi.ts
Normal file
@@ -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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
});
|
||||||
Reference in New Issue
Block a user