feat(腾讯视频): 全屏广告-视频播放时的广告(优化规则、补充规则)

This commit is contained in:
aisouler
2024-02-17 18:20:05 +08:00
parent eeb2573416
commit 6c68599b02

View File

@@ -168,7 +168,7 @@ export default defineAppConfig({
{ {
key: 4, key: 4,
name: '全屏广告-视频播放时的广告', name: '全屏广告-视频播放时的广告',
desc: '自动点击 跳过广告', desc: '自动点击 跳过/关闭广告',
activityIds: 'com.tencent.qqlive.ona.activity.VideoDetailActivity', activityIds: 'com.tencent.qqlive.ona.activity.VideoDetailActivity',
rules: [ rules: [
{ {
@@ -200,22 +200,21 @@ export default defineAppConfig({
key: 3, key: 3,
name: '居中广告', name: '居中广告',
matches: matches:
'FrameLayout[childCount=4] > ImageView + FrameLayout + FrameLayout + ImageView[clickable=true]', 'ViewGroup[childCount>10] > FrameLayout[index=10] >4 ImageView[clickable=true][visibleToUser=true][index=1 || index=3]',
snapshotUrls: 'https://i.gkd.li/import/13695067', snapshotUrls: [
'https://i.gkd.li/import/13695067',
'https://i.gkd.li/import/13946107',
'https://i.gkd.li/import/14001277',
],
}, },
{ {
key: 4, key: 4,
name: '居中广告', name: '居中广告',
matches: quickFind: true,
'[id="com.tencent.qqlive:id/arg"] > FrameLayout[clickable=true] + ImageView[clickable=true]', matches: '[id="com.tencent.qqlive:id/pause_ad_close"]',
snapshotUrls: 'https://i.gkd.li/import/13946107', exampleUrls:
}, 'https://m.gkd.li/57941037/c8f55e94-30ad-440d-b4d8-06fb19f0c17e',
{ snapshotUrls: 'https://i.gkd.li/import/14318385',
key: 5,
name: '居中广告',
matches:
'RelativeLayout[childCount=2] < LinearLayout <2 FrameLayout[childCount=2] < LinearLayout + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/14001277',
}, },
], ],
}, },