diff --git a/src/apps/com.ruanmei.ithome.ts b/src/apps/com.ruanmei.ithome.ts index b44d1021..e1fb3943 100644 --- a/src/apps/com.ruanmei.ithome.ts +++ b/src/apps/com.ruanmei.ithome.ts @@ -11,5 +11,32 @@ export default defineAppConfig({ rules: '[id="hongbaotips"] +n @View > [text="关闭"]', snapshotUrls: 'https://i.gkd.li/i/13167193', }, + { + key: 2, + name: '分段广告-信息流广告', + desc: '长按广告-点击[屏蔽]-点击[不喜欢此条]', + quickFind: true, + activityIds: 'com.ruanmei.ithome.ui.MainActivity', + rules: [ + { + key: 0, + action: 'longClick', + matches: '@[longClickable=true] >4 [text="广告 "]', + snapshotUrls: 'https://i.gkd.li/i/14734964', + }, + { + preKeys: [0], + key: 1, + matches: '[text*="屏蔽"]', + snapshotUrls: 'https://i.gkd.li/i/14734962', + }, + { + preKeys: [1], + key: 2, + matches: '[vid="rl_dislike"]', + snapshotUrls: 'https://i.gkd.li/i/14734987', + }, + ], + }, ], });