Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

feat(腾讯视频):开屏广告(补充规则)视频播放时的广告(补充规则) #3924

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion src/apps/com.tencent.qqlive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ export default defineAppConfig({
'https://i.gkd.li/import/12910953',
],
},
{
action: 'clickCenter',
matches: 'TextView[text*="跳过"][text.length<=10]',
snapshotUrls: 'https://i.gkd.li/import/14049316',
},
],
},
{
Expand Down Expand Up @@ -161,7 +166,7 @@ export default defineAppConfig({
},
{
key: 4,
name: '视频播放时的广告',
name: '全屏广告-视频播放时的广告',
desc: '自动点击 跳过广告',
activityIds: 'com.tencent.qqlive.ona.activity.VideoDetailActivity',
rules: [
Expand Down Expand Up @@ -197,6 +202,20 @@ export default defineAppConfig({
'FrameLayout[childCount=4] > ImageView + FrameLayout + FrameLayout + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13695067',
},
{
key: 4,
name: '居中广告',
matches:
'[id="com.tencent.qqlive:id/arg"] > FrameLayout[clickable=true] + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13946107',
},
{
key: 5,
name: '居中广告',
matches:
'RelativeLayout[childCount=2] < LinearLayout <2 FrameLayout[childCount=2] < LinearLayout + ImageView[clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/14001277',
},
],
},
{
Expand Down