feat(小红书): 信息流广告 (#2559)

* feat(小红书):信息流广告

* Update com.xingin.xhs.ts

* Update com.xingin.xhs.ts
This commit is contained in:
jiuqianyuan
2023-11-28 19:48:40 +08:00
committed by GitHub
parent 3742802ec3
commit 8a119317cc

View File

@@ -62,21 +62,24 @@ export default defineAppConfig({
enable: false,
key: 3,
name: '信息流广告',
desc: '点有【赞助】标识的卡片-点【不感兴趣】',
desc: '长按【赞助】/【广告】标识的卡片-点【不感兴趣】',
quickFind: true,
activityIds: 'com.xingin.xhs.index.v2.IndexActivityV2',
rules: [
{
key: 0,
action: 'longClick',
name: '长按【赞助】卡片',
name: '长按【赞助】/【广告】卡片',
matches:
'@FrameLayout[clickable=true] ImageView + ImageView + TextView[text="赞助"]',
snapshotUrls: 'https://i.gkd.li/import/13455503',
'@FrameLayout[clickable=true] > LinearLayout TextView[text="赞助"||text="广告"]',
snapshotUrls: [
'https://i.gkd.li/import/13455503',
'https://i.gkd.li/import/13470690',
],
},
{
preKeys: 0,
name: '长按【赞助】卡片',
name: '点【不感兴趣】',
matches:
'RecyclerView > @LinearLayout > TextView[text="不喜欢该内容"]',
snapshotUrls: 'https://i.gkd.li/import/13455500',