Squashed commit of the following:

commit e4bab418327cb0bd8f18381885c9cc20dae3ddc1
Author: aisouler <zy43220@gmail.com>
Date:   Thu Jan 25 17:18:12 2024 +0800

    feat(腾讯视频):开屏广告(补充规则,新版本需使用clickCenter)

commit 029426609df59c9debcbfd55e8352c6719f55c29
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date:   Sun Jan 21 13:20:40 2024 +0000

    chore(actions): check_format_lint

commit 9659e99dd87f280a8edb9652255f5b4151039aaa
Author: aisouler <zy43220@gmail.com>
Date:   Sun Jan 21 21:19:58 2024 +0800

    feat:补充规则

commit 62b29fa8724ab2f54bd6872608fddf45be2f68f0
Author: aisouler <zy43220@gmail.com>
Date:   Tue Jan 16 14:55:42 2024 +0800

    feat(腾讯视频):视频播放时的广告(补充规则)
This commit is contained in:
aisouler
2024-02-01 18:41:26 +08:00
parent 19db4ac1d1
commit 4c0e954738

View File

@@ -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',
},
],
},
{
@@ -161,7 +166,7 @@ export default defineAppConfig({
},
{
key: 4,
name: '视频播放时的广告',
name: '全屏广告-视频播放时的广告',
desc: '自动点击 跳过广告',
activityIds: 'com.tencent.qqlive.ona.activity.VideoDetailActivity',
rules: [
@@ -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',
},
],
},
{