feat(IT之家): 分段广告

This commit is contained in:
AIsouler
2024-03-24 17:37:18 +08:00
parent d31e094334
commit a11d503f54

View File

@@ -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',
},
],
},
],
});