diff --git a/src/apps/com.xingin.xhs.ts b/src/apps/com.xingin.xhs.ts index 0e7193d7..d9c100aa 100644 --- a/src/apps/com.xingin.xhs.ts +++ b/src/apps/com.xingin.xhs.ts @@ -58,5 +58,30 @@ export default defineAppConfig({ '@ImageView[clickable=true] <2 FrameLayout < LinearLayout >2 [text="立即安装"]', snapshotUrls: 'https://i.gkd.li/import/13246890', }, + { + enable: false, + key: 3, + name: '信息流广告', + desc: '点有【赞助】标识的卡片-点【不感兴趣】', + quickFind: true, + activityIds: 'com.xingin.xhs.index.v2.IndexActivityV2', + rules: [ + { + key: 0, + action: 'longClick', + name: '长按【赞助】卡片', + matches: + '@FrameLayout[clickable=true] ImageView + ImageView + TextView[text="赞助"]', + snapshotUrls: 'https://i.gkd.li/import/13455503', + }, + { + preKeys: 0, + name: '长按【赞助】卡片', + matches: + 'RecyclerView > @LinearLayout > TextView[text="不喜欢该内容"]', + snapshotUrls: 'https://i.gkd.li/import/13455500', + }, + ], + }, ], });