feat: YouTube-局部广告 等2个更新 (#1499)

This commit is contained in:
天方夜谭
2025-11-27 18:50:07 +08:00
committed by GitHub
parent 828debb7c1
commit 7031ff914b

View File

@@ -137,5 +137,43 @@ export default defineGkdApp({
},
],
},
{
key: 8,
name: '局部广告',
rules: [
{
fastQuery: true,
activityIds:
'com.google.android.apps.youtube.app.watchwhile.MainActivity',
matches:
'@ImageView[clickable=true][width<100 && height<100] <<n [vid="panel_header"]',
snapshotUrls: 'https://i.gkd.li/i/23787178',
},
],
},
{
key: 9,
name: '分段广告-播放页广告',
rules: [
{
key: 1,
fastQuery: true,
activityIds:
'com.google.android.apps.youtube.app.watchwhile.MainActivity',
matches:
'@[vid="overflow_button"][clickable=true] <<n [vid="collapsible_ad_cta_overlay_container"]',
snapshotUrls: 'https://i.gkd.li/i/23790199',
},
{
key: 2,
preKeys: [1],
fastQuery: true,
activityIds:
'com.google.android.apps.youtube.app.watchwhile.MainActivity',
matches: '@[clickable=true] > [text="关闭"]',
snapshotUrls: 'https://i.gkd.li/i/23772979',
},
],
},
],
});