feat(百度贴吧):自动签到并关闭提示窗口 (#3734)

* Update tv.danmaku.bili.ts

去掉 text^="跳过",解决b站开屏广告在繁体系统下失效问题

Signed-off-by: biden <47711477+young-biden@users.noreply.github.com>

* fix(b站) 繁体系统下无法跳過開屏廣告

修改text的匹配項

Signed-off-by: biden <47711477+young-biden@users.noreply.github.com>

* Update com.baidu.tieba.ts

Signed-off-by: jiyu <47711477+no-swing@users.noreply.github.com>

* chore(actions): check_format_lint

---------

Signed-off-by: biden <47711477+young-biden@users.noreply.github.com>
Signed-off-by: jiyu <47711477+no-swing@users.noreply.github.com>
Co-authored-by: biden <47711477+young-biden@users.noreply.github.com>
Co-authored-by: jiyu <47711477+lujue-1@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
jiyu 2024-01-14 20:24:05 +08:00 committed by GitHub
parent d15d46db0a
commit c6e877265b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,5 +251,29 @@ export default defineAppConfig({
'https://i.gkd.li/import/13328738', 'https://i.gkd.li/import/13328738',
], ],
}, },
{
enable: false,
key: 12,
name: '贴吧内签到并关闭弹窗',
resetMatch: 'activity',
rules: [
{
key: 0,
name: '贴吧页签到',
activityIds: ['com.baidu.tieba.forum.ForumActivity'],
matches:
'WebView[text="frs"] > View > View > View > View > TextView[text="签到"][clickable=true]',
snapshotUrls: ['https://i.gkd.li/import/13776801'],
},
{
key: 1,
name: '签到成功-弹窗',
activityIds: ['com.baidu.tbadk.browser.TBWebContainerActivity'],
matches:
'WebView[text="签到弹窗"] > View > View > TextView[text=""][clickable=true]',
snapshotUrls: ['https://i.gkd.li/import/13776424'],
},
],
},
], ],
}); });