mirror of
https://gitea.redwind.top/Austin/subscription
synced 2024-11-16 22:13:40 +08:00
feat(今日头条): 自动观看广告视频、开屏广告-规则优化 (#2263)
* feat(今日头条):自动观看广告视频 * chore(actions): check_format_lint * Update com.ss.android.article.news.ts * Update com.ss.android.article.news.ts --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> close #2260 close #2232
This commit is contained in:
parent
1b9c8c91aa
commit
d72c196d49
|
@ -13,12 +13,13 @@ export default defineAppConfig({
|
|||
resetMatch: 'app',
|
||||
rules: [
|
||||
{
|
||||
matches: '[childCount=1] > [text="跳过广告"]',
|
||||
matches: '[text*="跳过"][text.length<=10]',
|
||||
snapshotUrls: [
|
||||
'https://i.gkd.li/import/12684954',
|
||||
'https://i.gkd.li/import/12754759',
|
||||
'https://i.gkd.li/import/12840189',
|
||||
'https://i.gkd.li/import/13174224',
|
||||
'https://i.gkd.li/import/13402688',
|
||||
],
|
||||
},
|
||||
],
|
||||
|
@ -181,5 +182,29 @@ export default defineAppConfig({
|
|||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
enable: false,
|
||||
key: 14,
|
||||
name: '自动观看广告视频',
|
||||
desc: '自动观看广告并等待30s后关闭',
|
||||
quickFind: true,
|
||||
rules: [
|
||||
{
|
||||
key: 0,
|
||||
name: '点击【看视频】',
|
||||
activityIds: 'com.ss.android.article.news.activity.MainActivity',
|
||||
matches:
|
||||
'[id="com.bytedance.novel.api:id/component_ad_dialog_button_video"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13402468',
|
||||
},
|
||||
{
|
||||
name: '等待30s点击【关闭】',
|
||||
actionDelay: 30000,
|
||||
activityIds: 'com.ss.android.excitingvideo.ExcitingVideoActivity',
|
||||
matches: 'UIText[text="广告"] +n UIText[text="关闭"]',
|
||||
snapshotUrls: 'https://i.gkd.li/import/13402480',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user