Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
feat(百度贴吧):自动签到并关闭提示窗口 (#3734)
Browse files Browse the repository at this point in the history
* Update tv.danmaku.bili.ts

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

Signed-off-by: biden <[email protected]>

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

修改text的匹配項

Signed-off-by: biden <[email protected]>

* Update com.baidu.tieba.ts

Signed-off-by: jiyu <[email protected]>

* chore(actions): check_format_lint

---------

Signed-off-by: biden <[email protected]>
Signed-off-by: jiyu <[email protected]>
Co-authored-by: biden <[email protected]>
Co-authored-by: jiyu <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Jan 14, 2024
1 parent d15d46d commit c6e8772
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/apps/com.baidu.tieba.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,29 @@ export default defineAppConfig({
'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'],
},
],
},
],
});

0 comments on commit c6e8772

Please sign in to comment.