feat(腾讯视频): 开屏广告-规则优化 (#1117)

This commit is contained in:
lisonge
2023-10-16 11:44:24 +08:00
parent 5c48e98104
commit f5e3bbda8c

View File

@@ -7,24 +7,18 @@ export default defineAppConfig({
{ {
key: 0, key: 0,
name: '开屏广告', name: '开屏广告',
matchLauncher: true,
quickFind: true,
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity', activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
rules: [ rules: [
{ {
matches: matches: 'FrameLayout[id=null] > TextView[text="跳过"][id=null]',
'TextView[text*="互动广告"] < LinearLayout < FrameLayout + FrameLayout > TextView[text="跳过"]', snapshotUrls: [
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700227', 'https://gkd-kit.gitee.io/import/12700227',
}, 'https://gkd-kit.gitee.io/import/12700122',
{ 'https://gkd-kit.gitee.io/import/12700541',
matches: 'TextView[text="广告"] LinearLayout + TextView[text="跳过"]', 'https://gkd-kit.gitee.io/import/12910953',
}, ],
{
matches: '@[text="跳过"] - LinearLayout > [text="广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700122',
},
{
matches:
'@[text="跳过"] < FrameLayout - FrameLayout >(2) [text="广告"]',
snapshotUrls: 'https://gkd-kit.gitee.io/import/12700541',
}, },
], ],
}, },