mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-19 16:25:09 +08:00
feat(腾讯视频): 视频播放时的广告-规则优化 (#1241)
* feat: 视频播放时的广告 * feat(腾讯视频): 视频播放时的广告-规则优化 --------- Co-authored-by: 二刺螈 <i@songe.li>
This commit is contained in:
@@ -72,18 +72,26 @@ 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: [
|
||||||
{
|
{
|
||||||
matches: '[text="跳过广告"][clickable=true]',
|
key: 0,
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700407'],
|
name: '点击[跳过广告]',
|
||||||
|
matches:
|
||||||
|
'@[text$="跳过广告"][clickable=true] < LinearLayout > [text="VIP可关闭该广告"]',
|
||||||
|
snapshotUrls: [
|
||||||
|
'https://gkd-kit.gitee.io/import/12700407',
|
||||||
|
'https://gkd-kit.gitee.io/import/12700433',
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
key: 1,
|
||||||
|
name: '点击左下角广告横幅右上角x',
|
||||||
matches:
|
matches:
|
||||||
'@ImageView < FrameLayout < FrameLayout +(2) LinearLayout >(3) [text$="跳过广告"]',
|
'FrameLayout[childCount=2] > FrameLayout > RelativeLayout > View[id!=null][clickable=true]',
|
||||||
snapshotUrls: ['https://gkd-kit.gitee.io/import/12700433'],
|
snapshotUrls: 'https://gkd-kit.songe.li/import/13043079',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user