Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

feat(微博):分段广告(补充规则)、最热钻超弹窗 #3941

Closed
wants to merge 5 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/apps/com.sina.weibo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,13 @@ export default defineAppConfig({
matches: '[text="不感兴趣"][clickable=true]',
snapshotUrls: 'https://i.gkd.li/import/13852322',
},
{
preKeys: 0,
key: 2,
activityIds: 'com.sina.weibo.feed.DetailWeiboActivity',
matches: '[text="不想看到此类内容"]',
snapshotUrls: 'https://i.gkd.li/import/13958782',
},
],
},
{
Expand All @@ -285,5 +292,19 @@ export default defineAppConfig({
},
],
},
{
key: 21,
name: '全屏广告-最热钻超弹窗',
desc: '点击X',
quickFind: true,
rules: [
{
activityIds: 'com.sina.weibo.feed.MPDialogActivity',
matches:
'@Image[text="close"] < View[childCount=4] <2 * <<n [id="com.sina.weibo:id/container"]',
snapshotUrls: 'https://i.gkd.li/import/14033735',
},
],
},
],
});
Loading