diff --git a/src/apps/com.alicloud.databox.ts b/src/apps/com.alicloud.databox.ts index 84e79302a..559e400df 100644 --- a/src/apps/com.alicloud.databox.ts +++ b/src/apps/com.alicloud.databox.ts @@ -88,7 +88,8 @@ export default defineGkdApp({ activityIds: 'com.alicloud.databox.MainActivity', rules: [ { - matches: '[text^="立即了解"] -3 View[clickable=true]', + matches: + '[text^="立即了解"] -3 @View[clickable=true] < @View[clickable=true][childCount=1] > Image', snapshotUrls: [ - 'https://i.gkd.li/import/13060891', // activityIds: com.baidu.tbadk.browser.TBWebContainerActivity + 'https://i.gkd.li/import/13060891', 'https://i.gkd.li/import/13222361', // childCount=1否则误触这里 ], }, @@ -144,9 +144,9 @@ export default defineGkdApp({ matches: '@TextView[clickable=true && text=null] - FrameLayout TextView[text="广告"]', snapshotUrls: [ - 'https://i.gkd.li/import/13168383', // activityIds: com.baidu.tieba.tblauncher.MainTabActivity - 'https://i.gkd.li/import/13322120', // activityIds: com.miui.home.launcher.Launcher - 'https://i.gkd.li/import/13328246', // activityIds: com.baidu.tieba.LogoActivity + 'https://i.gkd.li/import/13168383', + 'https://i.gkd.li/import/13322120', + 'https://i.gkd.li/import/13328246', ], }, { @@ -163,6 +163,12 @@ export default defineGkdApp({ 'https://i.gkd.li/i/16426630', ], }, + { + key: 3, + name: '点击正下方x关闭3', + matches: '@TextView[visibleToUser=true][text=""] -2 [text="广告"]', + snapshotUrls: 'https://i.gkd.li/i/16703244', + }, ], }, { diff --git a/src/apps/com.weico.international.ts b/src/apps/com.weico.international.ts index 1bb08a4e9..3b778cd58 100644 --- a/src/apps/com.weico.international.ts +++ b/src/apps/com.weico.international.ts @@ -13,18 +13,19 @@ export default defineGkdApp({ activityIds: [ 'com.weico.international.activity.MainFragmentActivity', 'com.weico.international.ui.search.SearchActivity', + 'com.weico.international.ui.detail.StatusDetailV3Activity', ], - exampleUrls: - 'https://github.com/gkd-kit/subscription/assets/38517192/e713a2ca-5048-486a-874f-dd876d53c49b', rules: [ { key: 0, name: '点击广告卡片右上角[x]', - matches: '[id="com.weico.international:id/item_timeline_ad_action"]', + matches: '[vid="item_timeline_ad_action"]', snapshotUrls: [ 'https://i.gkd.li/import/12505753', 'https://i.gkd.li/import/12505763', 'https://i.gkd.li/import/12857202', + 'https://i.gkd.li/i/14444744', + 'https://i.gkd.li/i/16667201', ], }, { @@ -35,6 +36,8 @@ export default defineGkdApp({ snapshotUrls: [ 'https://i.gkd.li/import/12505755', 'https://i.gkd.li/import/12505764', + 'https://i.gkd.li/i/14798365', + 'https://i.gkd.li/i/16667202', ], }, ], diff --git a/src/apps/tv.danmaku.bili.ts b/src/apps/tv.danmaku.bili.ts index 96be77b3f..84600e57f 100644 --- a/src/apps/tv.danmaku.bili.ts +++ b/src/apps/tv.danmaku.bili.ts @@ -41,7 +41,7 @@ export default defineGkdApp({ key: 0, name: '点击广告卡片右侧菜单图标', matches: - '[(desc*="广告"||desc*="来自淘宝")&&desc*="查看"] >n * >n [id^="tv.danmaku.bili:id/more"] > ImageView', + '[(desc*="广告"||desc*="来自淘宝")&&desc*="查看"][visibleToUser=true] >n * >n [id^="tv.danmaku.bili:id/more"][visibleToUser=true] > ImageView[visibleToUser=true]', snapshotUrls: [ 'https://i.gkd.li/import/12642260', // n = 2 'https://i.gkd.li/import/12705266', // n = 3