Skip to content

Commit

Permalink
feat(喜马拉雅): 关闭播放界面小说推广 (#736)
Browse files Browse the repository at this point in the history
Co-authored-by: minglu7 <[email protected]>
Co-authored-by: AIsouler <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2025
1 parent cda7a71 commit b3c2d79
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/apps/com.ximalaya.ting.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ export default defineGkdApp({
},
{
key: 1,
name: '局部广告-播放页面-播放控制区域的广告',
name: '局部广告-播放页广告',
fastQuery: true,
activityIds: 'com.ximalaya.ting.android.host.activity.MainActivity',
activityIds: '.host.activity.MainActivity',
rules: [
{
key: 0,
Expand All @@ -60,6 +60,14 @@ export default defineGkdApp({
'https://m.gkd.li/6328439/ea870e6f-07c9-4167-ab62-03e52838110b',
snapshotUrls: 'https://i.gkd.li/i/13546642',
},
{
key: 3,
name: '小说推广',
matches:
'@[visibleToUser=true] < ViewGroup[childCount=1] - ViewGroup[childCount=6] > [text="广告"] ',
exampleUrls: 'https://e.gkd.li/bbf93e2c-08b8-4155-b82c-89a629a62737',
snapshotUrls: 'https://i.gkd.li/i/18500523',
},
],
},
{
Expand Down

0 comments on commit b3c2d79

Please sign in to comment.