mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-22 01:35:32 +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:
@@ -13,12 +13,13 @@ export default defineAppConfig({
|
|||||||
resetMatch: 'app',
|
resetMatch: 'app',
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
matches: '[childCount=1] > [text="跳过广告"]',
|
matches: '[text*="跳过"][text.length<=10]',
|
||||||
snapshotUrls: [
|
snapshotUrls: [
|
||||||
'https://i.gkd.li/import/12684954',
|
'https://i.gkd.li/import/12684954',
|
||||||
'https://i.gkd.li/import/12754759',
|
'https://i.gkd.li/import/12754759',
|
||||||
'https://i.gkd.li/import/12840189',
|
'https://i.gkd.li/import/12840189',
|
||||||
'https://i.gkd.li/import/13174224',
|
'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',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user