From c6e877265bdb8c7cbfd1eab8599c4d6414942faf Mon Sep 17 00:00:00 2001 From: jiyu <47711477+no-swing@users.noreply.github.com> Date: Sun, 14 Jan 2024 20:24:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BE=E5=BA=A6=E8=B4=B4=E5=90=A7):?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=AD=BE=E5=88=B0=E5=B9=B6=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E7=AA=97=E5=8F=A3=20(#3734)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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] --- src/apps/com.baidu.tieba.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/apps/com.baidu.tieba.ts b/src/apps/com.baidu.tieba.ts index f9a7f5e8..e6252118 100644 --- a/src/apps/com.baidu.tieba.ts +++ b/src/apps/com.baidu.tieba.ts @@ -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'], + }, + ], + }, ], });