Skip to content

Commit

Permalink
Merge branch 'preview-fixes' into master-cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
the1812 committed Nov 12, 2024
2 parents 4c3e93c + 7f68ff5 commit 11fe0ba
Show file tree
Hide file tree
Showing 82 changed files with 1,235 additions and 270 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"cSpell.words": [
"afterbegin",
"afterend",
"akari",
"BALH",
"Bangumi",
"bevo",
Expand All @@ -27,6 +28,7 @@
"bofqi",
"BVID",
"camelcase",
"cascader",
"clipboardy",
"cntr",
"compositionend",
Expand Down
62 changes: 62 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,68 @@
<!-- spell-checker: disable -->
# 更新日志

## v2.9.5-preview
`2024-11-12`

包含 [v2.9.5](https://github.com/the1812/Bilibili-Evolved/releases/tag/v2.9.5) 的所有更新内容.

- `自定义顶栏` 的历史支持手动刷新. (#4948)

## v2.9.5
`2024-11-12`

<details>
<summary>正式版用户将获得 v2.9.4-preview 的所有改动, 点击展开查看</summary>

✨新增
- 新增组件 `隐藏头像框`.
> 隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.
- 新增组件 `隐藏直播马赛克`. (#4634)
> 移除直播画面中的马赛克区域.
- 优化了搜索框的搜索建议精准度. (#4833)
- 新增组件 `删除动态`. (PR #4915 by [gouzil](https://github.com/gouzil))
> 删除动态, 可选转发抽奖, 和全部删除.
- `保存视频元数据` 增加 FFMETADATA 字段选项. (PR #4943 by [WakelessSloth56](https://github.com/WakelessSloth56))
- 新增组件 `评论内容替换`. (#4072)
> 替换评论中的内容.
> 可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情.
>
- `直播信息扩充` 更换新的 API 接口. (PR #4964 by [Oxygenくん](https://github.com/oxygenkun))

</details>

✨新增
- 新版视频推荐适配组件:
- `显示视频投稿时间` (#4934, PR #4960 by [呼乎户](https://github.com/wisokey))
- `隐藏视频推荐`
- `选集区域优化`, 其中 `展开选集标题` 选项还可恢复分 P 数的展示
- `传统连播模式`
- `展开弹幕列表` - `有选集时不自动展开`
- 优化在线仓库中的搜索逻辑和搜索为空的提示. (#4975, #4973)
- `自定义顶栏` 的历史支持显示分 P 数信息. (#1866)
- `删除广告` 更新对首页浮窗广告的屏蔽. (#5001)

🐛修复
- 修复 `简化直播间` 付费礼物屏蔽失效. (#4968)
- 修复动态菜单中的扩展菜单项失效. (#4976)
- `夜间模式` 排除工房页面, 避免文字难以阅读. (#4981)
- `自定义顶栏` 移除已下线的 `短剧榜` 入口. (#4987)
- 修复 `删除广告` 导致直播间和个人空间里的动态显示不出来. (#5003)
- 修复 `网址参数清理` 对需转义的字符处理不正确. (#5009)
- 修复组件描述在部分页面的标题颜色不正确. (#4995)
- 修复 `禁止跳转动态详情` 在带图转发动态二次转发后, 查看图片按钮失效. (PR #4980 by [sunfkny](https://github.com/sunfkny))
- 插件 `下载视频 - WASM 混流输出` 修复写入元数据选项, 新增混流进度, 优化多集下载. (#4840, PR #4984 by [WakelessSloth56](https://github.com/WakelessSloth56))

☕开发者相关
- `自定义顶栏` 未登录时的阿卡林头像转为内置. (感觉说不定 b 站哪天就把这图删了)

🗑️废弃
- 废弃 `简化首页` 功能, 请使用 [BewlyBewly](https://github.com/BewlyBewly/BewlyBewly) 替代.

## v2.9.4-preview
`2024-10-22`

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,9 @@
# 相关推荐
这些脚本/插件同样能够改善您在B站的体验, 相同的功能将不会整合到 Bilibili Evolved, 但会尽可能地适配

## bilibili 网页端添加 APP 首页推荐
作者: [indefined](https://github.com/indefined)
- [GitHub](https://github.com/indefined/UserScripts/tree/master/bilibiliHome)
- [GreasyFork](https://greasyfork.org/zh-CN/scripts/368446-bilibili%E7%BD%91%E9%A1%B5%E7%AB%AF%E6%B7%BB%E5%8A%A0app%E9%A6%96%E9%A1%B5%E6%8E%A8%E8%8D%90)
## BewlyBewly
作者: [Hakadao](https://github.com/hakadao)
- [GitHub](https://github.com/BewlyBewly/BewlyBewly)

## pakku.js 哔哩哔哩弹幕过滤器
作者: [xmcp](https://github.com/xmcp)
Expand Down
4 changes: 3 additions & 1 deletion doc/donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## 爱发电

<a href="https://afdian.net/a/the1812" target="_blank">
<a href="https://afdian.com/a/the1812" target="_blank">
<img alt="爱发电" src="../images/compressed/afdian.jpg" width="400">
</a>

Expand All @@ -30,6 +30,8 @@ https://afdian.com/a/the1812?tab=sponsor

| 时间 | 用户名 | 单号后4位 | 金额 |
| ------------------- | --------------------- | --------- | ------- |
| 2024.10.24 19:59:56 | 匿名 | 5126 | ¥20.00 |
| 2024.10.24 03:07:40 | S*a | 8703 | ¥20.00 |
| 2024.10.11 11:19:52 | 匿名 | 8738 | ¥100.00 |
| 2024.09.28 22:43:29 | 匿名 | 7519 | ¥20.00 |
| 2024.09.28 17:45:29 | *| 7998 | ¥20.00 |
Expand Down
42 changes: 33 additions & 9 deletions doc/features/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
"fullRelativePath": "../../registry/dist/components/feeds/copy-link.js",
"fullAbsolutePath": "registry/dist/components/feeds/copy-link.js"
},
{
"type": "component",
"name": "deleteFeeds",
"displayName": "删除动态",
"description": "删除动态, 可选转发抽奖, 和全部删除.\r\n",
"fullRelativePath": "../../registry/dist/components/feeds/del-feeds.js",
"fullAbsolutePath": "registry/dist/components/feeds/del-feeds.js"
},
{
"type": "component",
"name": "disableFeedsDetails",
Expand Down Expand Up @@ -135,6 +143,14 @@
"fullRelativePath": "../../registry/dist/components/live/hide-gift-fullscreen.js",
"fullAbsolutePath": "registry/dist/components/live/hide-gift-fullscreen.js"
},
{
"type": "component",
"name": "hideLivePlayerBlur",
"displayName": "隐藏直播马赛克",
"description": "移除直播画面中的马赛克区域.\r\n",
"fullRelativePath": "../../registry/dist/components/live/hide-player-blur.js",
"fullAbsolutePath": "registry/dist/components/live/hide-player-blur.js"
},
{
"type": "component",
"name": "liveHomeMute",
Expand Down Expand Up @@ -295,6 +311,14 @@
"fullRelativePath": "../../registry/dist/components/style/hide/user-card.js",
"fullAbsolutePath": "registry/dist/components/style/hide/user-card.js"
},
{
"type": "component",
"name": "hideUserPendent",
"displayName": "隐藏头像框",
"description": "隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.\r\n",
"fullRelativePath": "../../registry/dist/components/style/hide/user-pendent.js",
"fullAbsolutePath": "registry/dist/components/style/hide/user-pendent.js"
},
{
"type": "component",
"name": "hideVideoNotes",
Expand Down Expand Up @@ -407,14 +431,6 @@
"fullRelativePath": "../../registry/dist/components/style/simplify/comments.js",
"fullAbsolutePath": "registry/dist/components/style/simplify/comments.js"
},
{
"type": "component",
"name": "simplifyHome",
"displayName": "简化首页",
"description": "隐藏原版首页不需要的元素 / 分区.",
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
},
{
"type": "component",
"name": "simplifyLiveroom",
Expand Down Expand Up @@ -527,6 +543,14 @@
"fullRelativePath": "../../registry/dist/components/utils/column-unlock.js",
"fullAbsolutePath": "registry/dist/components/utils/column-unlock.js"
},
{
"type": "component",
"name": "commentContentReplace",
"displayName": "评论内容替换",
"description": "替换评论中的内容.\r\n\r\n可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.\r\n",
"fullRelativePath": "../../registry/dist/components/utils/comments/content-replace.js",
"fullAbsolutePath": "registry/dist/components/utils/comments/content-replace.js"
},
{
"type": "component",
"name": "copyCommentsLink",
Expand Down Expand Up @@ -739,7 +763,7 @@
"type": "component",
"name": "fullEpisodeTitle",
"displayName": "选集区域优化",
"description": "提供一些视频选集区域的优化, 对番剧无效.\r\n- `展开选集标题`: 总是完全展开视频选集列表项的标题\r\n- `展开选集列表`: 总是完全展开视频选集列表\r\n\r\n打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换展开/收起选集列表.\r\n",
"description": "提供一些视频选集区域的优化, 对番剧无效.\r\n- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.\r\n- `展开选集列表`: 总是完全展开视频选集列表\r\n\r\n打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换此组件的效果.\r\n",
"fullRelativePath": "../../registry/dist/components/video/full-episode-title.js",
"fullAbsolutePath": "registry/dist/components/video/full-episode-title.js"
},
Expand Down
51 changes: 40 additions & 11 deletions doc/features/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@

开启后, 可在每条动态的菜单中选择复制链接.

### [删除动态](../../registry/dist/components/feeds/del-feeds.js)
`deleteFeeds`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/feeds/del-feeds.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/feeds/del-feeds.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/feeds/del-feeds.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/feeds/del-feeds.js)

删除动态, 可选转发抽奖, 和全部删除.

### [禁止跳转动态详情](../../registry/dist/components/feeds/disable-details.js)
`disableFeedsDetails`

Expand Down Expand Up @@ -170,6 +179,15 @@ by [@TimmyOVO](https://github.com/TimmyOVO)

移除全屏观看直播时的底部礼物栏

### [隐藏直播马赛克](../../registry/dist/components/live/hide-player-blur.js)
`hideLivePlayerBlur`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/live/hide-player-blur.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/live/hide-player-blur.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/hide-player-blur.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/hide-player-blur.js)

移除直播画面中的马赛克区域.

### [直播首页静音](../../registry/dist/components/live/home-mute.js)
`liveHomeMute`

Expand Down Expand Up @@ -389,6 +407,15 @@ by [@WakelessSloth56](https://github.com/WakelessSloth56)

隐藏鼠标指向用户名或用户头像时弹出的浮动用户信息卡片

### [隐藏头像框](../../registry/dist/components/style/hide/user-pendent.js)
`hideUserPendent`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/hide/user-pendent.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/hide/user-pendent.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/hide/user-pendent.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/user-pendent.js)

隐藏页面中用户的头像框 (包括角标), 目前支持动态和视频页面.

### [隐藏记笔记](../../registry/dist/components/style/hide/video/notes.js)
`hideVideoNotes`

Expand Down Expand Up @@ -545,15 +572,6 @@ by [@RieN7](https://github.com/rien7),[@ZiuChen](https://github.com/ZiuChen),[@L
- `粉丝勋章`: 隐藏用户的粉丝勋章.
- `小喇叭横幅`: 隐藏评论区顶部的小喇叭横幅

### [简化首页](../../registry/dist/components/style/simplify/home.js)
`simplifyHome`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/style/simplify/home.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/simplify/home.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/simplify/home.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/simplify/home.js)

隐藏原版首页不需要的元素 / 分区.

### [简化直播间](../../registry/dist/components/style/simplify/live.js)
`simplifyLiveroom`

Expand Down Expand Up @@ -695,6 +713,17 @@ by [@snowraincloud](https://github.com/snowraincloud)

避免专栏的文字复制后在最后带上出处信息, 更贴近原生的复制行为.

### [评论内容替换](../../registry/dist/components/utils/comments/content-replace.js)
`commentContentReplace`

**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@master/registry/dist/components/utils/comments/content-replace.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/utils/comments/content-replace.js)

**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/comments/content-replace.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/comments/content-replace.js)

替换评论中的内容.

可以添加多个替换配置, 每项配置可将一个关键词替换为其他文本. 若替换的目标是一个链接, 则视作替换为表情, 留空则会移除命中的关键词.

### [复制评论链接](../../registry/dist/components/utils/comments/copy-link.js)
`copyCommentsLink`

Expand Down Expand Up @@ -1028,10 +1057,10 @@ by [@kdxcxs](https://github.com/kdxcxs)
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/full-episode-title.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/full-episode-title.js)

提供一些视频选集区域的优化, 对番剧无效.
- `展开选集标题`: 总是完全展开视频选集列表项的标题
- `展开选集标题`: 总是完全展开视频选集列表项的标题, 若为传统分 P 列表, 还会恢复显示分 P 数的前缀.
- `展开选集列表`: 总是完全展开视频选集列表

打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换展开/收起选集列表.
打开 `展开选集列表` 时, 在选集区域的标题上按住 <kbd>Alt</kbd> 键点击可以临时切换此组件的效果.

### [保存视频元数据](../../registry/dist/components/video/metadata.js)
`saveVideoMetadata`
Expand Down
11 changes: 1 addition & 10 deletions doc/features/pack/pack.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
{
"name": "cleaner",
"displayName": "简洁至上",
"description": "简化各种多余界面元素, 专注于内容本身.\n\n包含以下功能:\n删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 简化首页, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层",
"description": "简化各种多余界面元素, 专注于内容本身.\n\n包含以下功能:\n删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层",
"components": [
"removePromotions",
"removeLiveWatermark",
"removePlayerPopup",
"disableSpecialDanmaku",
"simplifyComments",
"simplifyLiveroom",
"simplifyHome",
"collapseLiveSideBar",
"hideRelatedVideos",
"hideRecommendedLive",
Expand Down Expand Up @@ -65,14 +64,6 @@
"fullRelativePath": "../../registry/dist/components/style/simplify/live.js",
"fullAbsolutePath": "registry/dist/components/style/simplify/live.js"
},
{
"type": "component",
"name": "simplifyHome",
"displayName": "简化首页",
"description": "隐藏原版首页不需要的元素 / 分区.",
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
},
{
"type": "component",
"name": "collapseLiveSideBar",
Expand Down
Loading

0 comments on commit 11fe0ba

Please sign in to comment.