mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 18:52:31 +08:00
feat(youtube): 规则优化 (#1207)
* feat(youtube): matchLauncher * Update com.google.android.youtube.ts * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
bab6442832
commit
eff1981120
|
@ -7,27 +7,34 @@ export default defineAppConfig({
|
|||
{
|
||||
key: 0,
|
||||
name: '视频播放-跳过广告',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12565261',
|
||||
activityIds:
|
||||
'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity',
|
||||
matchLauncher: true,
|
||||
quickFind: true,
|
||||
rules: '[id=`com.google.android.youtube:id/skip_ad_button`]',
|
||||
snapshotUrls: [
|
||||
'https://gkd-kit.gitee.io/import/12565261',
|
||||
'https://gkd-kit.gitee.io/import/13024980', // matchLauncher
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 1,
|
||||
name: '视频播放-赞助商广告',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12877346',
|
||||
activityIds:
|
||||
'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity',
|
||||
matchLauncher: true,
|
||||
rules: 'ImageView[desc="更多选项"] + @ImageView[desc="关闭广告面板"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12877346',
|
||||
},
|
||||
{
|
||||
key: 2,
|
||||
name: '首页-会员广告',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12877357',
|
||||
activityIds:
|
||||
'com.google.android.apps.youtube.app.watchwhile.WatchWhileActivity',
|
||||
matchLauncher: true,
|
||||
rules:
|
||||
'ImageView < @Button < ViewGroup +3 Button[desc*="YouTube Premium"]',
|
||||
snapshotUrls: 'https://gkd-kit.gitee.io/import/12877357',
|
||||
},
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user