Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
feat(网易云音乐): 分段广告-评论区广告
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Mar 10, 2024
1 parent ba6ec4f commit f8351c1
Showing 1 changed file with 30 additions and 13 deletions.
43 changes: 30 additions & 13 deletions src/apps/com.netease.cloudmusic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default defineAppConfig({
},
{
key: 1,
name: '评论区广告1',
name: '评论区广告',
quickFind: true,
activityIds:
'com.netease.cloudmusic.music.biz.comment.activity.CommentActivity',
Expand All @@ -121,18 +121,6 @@ export default defineAppConfig({
'https://m.gkd.li/57941037/ed4bb569-b3e1-4644-a586-f01d95c150e9',
snapshotUrls: 'https://i.gkd.li/i/14276854',
},
{
key: 3,
name: '评论区广告2',
quickFind: true,
activityIds:
'com.netease.cloudmusic.music.biz.comment.activity.CommentActivity',
matches:
'[vid="commentVHRootId"][visibleToUser=true] - [vid="commentVHRootId"] [vid="closeAction"][clickable=true]',
exampleUrls:
'https://m.gkd.li/57941037/2933d8b0-7731-46bb-a644-836da1886958',
snapshotUrls: 'https://i.gkd.li/i/14318169',
},
],
},
{
Expand Down Expand Up @@ -365,5 +353,34 @@ export default defineAppConfig({
},
],
},
{
key: 13,
name: '分段广告-评论区广告',
desc: '点击[关闭]-点击[不感兴趣]',
quickFind: true,
activityIds:
'com.netease.cloudmusic.music.biz.comment.activity.CommentActivity',
rules: [
{
key: 0,
name: '点击[关闭]',
matches:
// 通过广告下方评论visibleToUser=true防止误触
'[vid="commentVHRootId"][visibleToUser=true] - [vid="commentVHRootId"] [vid="closeAction"][clickable=true]',
exampleUrls:
'https://m.gkd.li/57941037/2f9d5dee-c9f3-4a64-8ccd-f154c1901a12',
snapshotUrls: 'https://i.gkd.li/i/14549836',
},
{
key: 1,
preKeys: [0],
name: '点击[不感兴趣]',
matches: '@[clickable=true] > [text="不感兴趣"]',
exampleUrls:
'https://m.gkd.li/57941037/3750b512-4970-48ee-bc04-0c0e597702c2',
snapshotUrls: 'https://i.gkd.li/i/14549856',
},
],
},
],
});

0 comments on commit f8351c1

Please sign in to comment.