mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 08:15:11 +08:00
feat(腾讯视频): 视频播放时的广告(补充规则)、卡片式广告(补充规则) (#3255)
* feat 视频播放时的广告(补充规则) * feat 卡片式广告(补充规则)
This commit is contained in:
@@ -40,14 +40,13 @@ export default defineAppConfig({
|
|||||||
snapshotUrls: 'https://i.gkd.li/import/12700486',
|
snapshotUrls: 'https://i.gkd.li/import/12700486',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
enable: false,
|
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '卡片式广告',
|
name: '卡片式广告',
|
||||||
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
name: '首页顶部卡片广告',
|
name: '首页顶部卡片广告',
|
||||||
|
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
matches:
|
matches:
|
||||||
'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true][childCount=0][visibleToUser=true]',
|
'FrameLayout - RelativeLayout > RelativeLayout > FrameLayout + ImageView[clickable=true][childCount=0][visibleToUser=true]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
@@ -59,19 +58,28 @@ export default defineAppConfig({
|
|||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
name: '首页顶部背景广告',
|
name: '首页顶部背景广告',
|
||||||
|
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
matches: '[text="关闭广告"][clickable=true]',
|
matches: '[text="关闭广告"][clickable=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12700518',
|
snapshotUrls: 'https://i.gkd.li/import/12700518',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 2,
|
key: 2,
|
||||||
name: '个人中心页中间卡片广告',
|
name: '个人中心页卡片广告',
|
||||||
|
activityIds: [
|
||||||
|
'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
|
'com.tencent.qqlive.ona.offline.client.group.DownloadGroupActivity',
|
||||||
|
],
|
||||||
matches:
|
matches:
|
||||||
'ViewGroup > TextView + LinearLayout[childCount=2] + ImageView[clickable=true]',
|
'ViewGroup > TextView + LinearLayout[childCount=2] + ImageView[clickable=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12700175',
|
snapshotUrls: [
|
||||||
|
'https://i.gkd.li/import/12700175',
|
||||||
|
'https://i.gkd.li/import/13759380',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 3,
|
key: 3,
|
||||||
name: '个人中心页顶部背景广告',
|
name: '个人中心页顶部背景广告',
|
||||||
|
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
matches:
|
matches:
|
||||||
'RelativeLayout > FrameLayout + @ImageView[clickable=true] + ImageView + ImageView',
|
'RelativeLayout > FrameLayout + @ImageView[clickable=true] + ImageView + ImageView',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/12777344',
|
snapshotUrls: 'https://i.gkd.li/import/12777344',
|
||||||
@@ -98,6 +106,13 @@ export default defineAppConfig({
|
|||||||
snapshotUrls: 'https://i.gkd.li/import/13426421',
|
snapshotUrls: 'https://i.gkd.li/import/13426421',
|
||||||
},
|
},
|
||||||
// 以下是配合本规则组内其他key使用的规则,反馈界面的规则都是一样的
|
// 以下是配合本规则组内其他key使用的规则,反馈界面的规则都是一样的
|
||||||
|
{
|
||||||
|
key: 97,
|
||||||
|
name: '广告反馈卡片-点击不感兴趣',
|
||||||
|
activityIds: 'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
|
matches: 'LinearLayout > [text="不感兴趣"]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13695084',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 98,
|
key: 98,
|
||||||
name: '广告反馈卡片-选择原因',
|
name: '广告反馈卡片-选择原因',
|
||||||
@@ -106,6 +121,7 @@ export default defineAppConfig({
|
|||||||
'com.tencent.qqlive.qaduikit.common.dialog.feedback.variable.QAdFeedbackVariableDislikeItemDialog',
|
'com.tencent.qqlive.qaduikit.common.dialog.feedback.variable.QAdFeedbackVariableDislikeItemDialog',
|
||||||
'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
'com.tencent.qqlive.ona.activity.VideoDetailActivity',
|
'com.tencent.qqlive.ona.activity.VideoDetailActivity',
|
||||||
|
'com.tencent.qqlive.ona.offline.client.group.DownloadGroupActivity',
|
||||||
],
|
],
|
||||||
matches:
|
matches:
|
||||||
'[text="关闭这条广告的原因"] +(2) RecyclerView > [text="不感兴趣"]',
|
'[text="关闭这条广告的原因"] +(2) RecyclerView > [text="不感兴趣"]',
|
||||||
@@ -113,23 +129,26 @@ export default defineAppConfig({
|
|||||||
'https://i.gkd.li/import/12700303',
|
'https://i.gkd.li/import/12700303',
|
||||||
'https://i.gkd.li/import/12829866',
|
'https://i.gkd.li/import/12829866',
|
||||||
'https://i.gkd.li/import/13685871',
|
'https://i.gkd.li/import/13685871',
|
||||||
|
'https://i.gkd.li/import/13703219',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preKeys: [98],
|
preKeys: [98],
|
||||||
key: 99,
|
key: 99,
|
||||||
name: '广告反馈卡片-确认',
|
name: '广告反馈卡片-确认原因',
|
||||||
quickFind: true,
|
quickFind: true,
|
||||||
activityIds: [
|
activityIds: [
|
||||||
'com.tencent.qqlive.qaduikit.common.dialog.feedback.variable.QAdFeedbackVariableDislikeItemDialog',
|
'com.tencent.qqlive.qaduikit.common.dialog.feedback.variable.QAdFeedbackVariableDislikeItemDialog',
|
||||||
'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
'com.tencent.qqlive.ona.activity.SplashHomeActivity',
|
||||||
'com.tencent.qqlive.ona.activity.VideoDetailActivity',
|
'com.tencent.qqlive.ona.activity.VideoDetailActivity',
|
||||||
|
'com.tencent.qqlive.ona.offline.client.group.DownloadGroupActivity',
|
||||||
],
|
],
|
||||||
matches:
|
matches:
|
||||||
'[text="关闭这条广告的原因"] + [text="确认"][clickable=true]',
|
'[text="关闭这条广告的原因"] + [text="确认"][clickable=true]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12700210',
|
'https://i.gkd.li/import/12700210',
|
||||||
'https://i.gkd.li/import/13685877',
|
'https://i.gkd.li/import/13685877',
|
||||||
|
'https://i.gkd.li/import/13703298',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -138,7 +157,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: [
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
@@ -165,6 +184,13 @@ export default defineAppConfig({
|
|||||||
matches: '@[text$="关闭广告"][clickable=true]',
|
matches: '@[text$="关闭广告"][clickable=true]',
|
||||||
snapshotUrls: 'https://i.gkd.li/import/13526547',
|
snapshotUrls: 'https://i.gkd.li/import/13526547',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 3,
|
||||||
|
name: '居中广告',
|
||||||
|
matches:
|
||||||
|
'FrameLayout[childCount=4] > ImageView + FrameLayout + FrameLayout + ImageView[clickable=true]',
|
||||||
|
snapshotUrls: 'https://i.gkd.li/import/13695067',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user