From 506bf803c8b627da521b4ec0aad236fb65479220 Mon Sep 17 00:00:00 2001 From: Kun Jinkao <45487685+Snoopy1866@users.noreply.github.com> Date: Sat, 21 Oct 2023 23:23:30 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=99=BE=E5=BA=A6=E8=B4=B4=E5=90=A7):=20?= =?UTF-8?q?=E5=B8=96=E5=AD=90=E8=AF=84=E8=AE=BA=E5=8C=BA=E5=B9=BF=E5=91=8A?= =?UTF-8?q?=E5=8D=A1=E7=89=87=EF=BC=88=E4=BC=98=E5=8C=96=E8=A7=84=E5=88=99?= =?UTF-8?q?=EF=BC=89=E3=80=81=E9=A6=96=E9=A1=B5=E9=A1=B6=E9=83=A8=E5=B9=BF?= =?UTF-8?q?=E5=91=8A=E5=8D=A1=E7=89=87=E3=80=81=E5=BA=94=E7=94=A8=E5=86=85?= =?UTF-8?q?=E5=B9=BF=E5=91=8A=E5=BC=B9=E7=AA=97=20(#1265)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 帖子评论区广告卡片(优化规则) * feat: 首页顶部广告卡片 * feat: 应用内广告弹窗 close #1286 --- src/apps/com.baidu.tieba.ts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/apps/com.baidu.tieba.ts b/src/apps/com.baidu.tieba.ts index 90301125..aa4b79a0 100644 --- a/src/apps/com.baidu.tieba.ts +++ b/src/apps/com.baidu.tieba.ts @@ -60,6 +60,12 @@ export default defineAppConfig({ 'https://gkd-kit.gitee.io/import/12840951', ], }, + { + key: 1, + matches: + 'RelativeLayout[childCount=2] > RelativeLayout[childCount=1][clickable=true] > ImageView', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13060892', + }, ], }, { @@ -91,10 +97,11 @@ export default defineAppConfig({ { key: 1, matches: - 'TextView[text$="广告"] +n FrameLayout[id="com.baidu.tieba:id/obfuscated"] >n ImageView[id=null]', + 'TextView[text$="广告"] +n FrameLayout[id="com.baidu.tieba:id/obfuscated"] >n @FrameLayout[clickable=true] > ImageView[id=null]', snapshotUrls: [ 'https://gkd-kit.songe.li/import/12775913', // com.baidu.tieba.pb.pb.main.PbActivity 'https://gkd-kit.songe.li/import/13043133', // com.baidu.tieba.tblauncher.MainTabActivity + 'https://gkd-kit.songe.li/import/13054256', ], }, { @@ -134,5 +141,12 @@ export default defineAppConfig({ 'LinearLayout > RelativeLayout > ImageView[id=null][clickable=true]', snapshotUrls: 'https://gkd-kit.songe.li/import/12775882', }, + { + key: 9, + name: '应用内广告弹窗', + activityIds: 'com.baidu.tbadk.browser.TBWebContainerActivity', + rules: 'View[childCount=3] > @View[clickable=true] > Image', + snapshotUrls: 'https://gkd-kit.gitee.io/import/13060891', + }, ], });