From 4e12880c67f606c1f25e08ff7b8e885ed9c1c0d1 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sat, 3 Sep 2022 10:51:31 +0800 Subject: [PATCH] Update docs --- doc/features/features.json | 26 +++++++++++++++++++++----- doc/features/features.md | 27 ++++++++++++++++++++++++--- doc/features/pack/pack.json | 2 +- 3 files changed, 46 insertions(+), 9 deletions(-) diff --git a/doc/features/features.json b/doc/features/features.json index 056e610b9..093cb7590 100644 --- a/doc/features/features.json +++ b/doc/features/features.json @@ -75,7 +75,7 @@ "type": "component", "name": "badgeHelper", "displayName": "直播勋章快速更换", - "description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认加载 256 个 (同时也是上限), 可在选项中修改.", + "description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.", "fullRelativePath": "../../registry/dist/components/live/badge-helper.js", "fullAbsolutePath": "registry/dist/components/live/badge-helper.js" }, @@ -163,7 +163,7 @@ "type": "component", "name": "customNavbar", "displayName": "自定义顶栏", - "description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\n- *://message.bilibili.com/pages/nav/index_new_sync", + "description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n", "fullRelativePath": "../../registry/dist/components/style/custom-navbar.js", "fullAbsolutePath": "registry/dist/components/style/custom-navbar.js" }, @@ -283,7 +283,7 @@ "type": "component", "name": "sidebarOffset", "displayName": "侧栏垂直偏移", - "description": "给脚本的侧栏设置垂直偏移量, 范围为 -40% ~ 40%", + "description": "给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%", "fullRelativePath": "../../registry/dist/components/style/sidebar-offset.js", "fullAbsolutePath": "registry/dist/components/style/sidebar-offset.js" }, @@ -367,6 +367,14 @@ "fullRelativePath": "../../registry/dist/components/touch/player-gestures.js", "fullAbsolutePath": "registry/dist/components/touch/player-gestures.js" }, + { + "type": "component", + "name": "blackList", + "displayName": "屏蔽黑名单up主", + "description": "by [@snowraincloud](https://github.com/snowraincloud)\n\n屏蔽黑名单up主, 根据up主的名称进行匹配,支持精确匹配和正则匹配", + "fullRelativePath": "../../registry/dist/components/utils/black-list.js", + "fullAbsolutePath": "registry/dist/components/utils/black-list.js" + }, { "type": "component", "name": "changeUpdateUrls", @@ -419,7 +427,7 @@ "type": "component", "name": "imageExporter", "displayName": "图片批量导出", - "description": "可以批量导出某个地方的图片, 目前支持动态和专栏.\r\n\r\n动态文件名变量:\r\n- `user`: 用户名\r\n- `id`: 动态 ID\r\n- `n`: 第 n 张图\r\n\r\n专栏文件名变量:\r\n- `title`: 专栏标题\r\n- `n`: 第 n 张图", + "description": "可以批量导出某个地方的图片, 目前支持动态和专栏.\r\n\r\n动态文件名变量:\r\n- `user`: 用户名\r\n- `originalUser`: 被转发用户名, 如果不是转发类型的动态则等于 `user`\r\n- `id`: 动态 ID\r\n- `n`: 第 n 张图\r\n\r\n专栏文件名变量:\r\n- `title`: 专栏标题\r\n- `n`: 第 n 张图", "fullRelativePath": "../../registry/dist/components/utils/image-exporter.js", "fullAbsolutePath": "registry/dist/components/utils/image-exporter.js" }, @@ -523,7 +531,7 @@ "type": "component", "name": "expandDanmakuList", "displayName": "展开弹幕列表", - "description": "每次加载视频时自动展开弹幕列表.", + "description": "每次加载视频时自动展开弹幕列表, 如果弹幕装载量超过 `最大弹幕数量`, 则不展开以免对页面造成卡顿.", "fullRelativePath": "../../registry/dist/components/video/danmaku/expand.js", "fullAbsolutePath": "registry/dist/components/video/danmaku/expand.js" }, @@ -736,6 +744,14 @@ "fullRelativePath": "../../registry/dist/plugins/settings-panel/recent-components.js", "fullAbsolutePath": "registry/dist/plugins/settings-panel/recent-components.js" }, + { + "type": "plugin", + "name": "customNavbar.items.channel", + "displayName": "自定义顶栏 - 频道", + "description": "为自定义顶栏添加一个频道入口.", + "fullRelativePath": "../../registry/dist/plugins/style/custom-navbar-channel.js", + "fullAbsolutePath": "registry/dist/plugins/style/custom-navbar-channel.js" + }, { "type": "plugin", "name": "customNavbar.items.darkMode", diff --git a/doc/features/features.md b/doc/features/features.md index 18dc02c5d..0b3a7159b 100644 --- a/doc/features/features.md +++ b/doc/features/features.md @@ -96,7 +96,7 @@ **GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/live/badge-helper.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/badge-helper.js) -在直播区中, 可从功能面板中直接切换勋章和头衔. 默认加载 256 个 (同时也是上限), 可在选项中修改. +在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改. ### [直播弹幕发送栏](../../registry/dist/components/live/danmaku-sendbar.js) `liveDanmakuSendbar` @@ -344,7 +344,7 @@ **GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/style/sidebar-offset.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/sidebar-offset.js) -给脚本的侧栏设置垂直偏移量, 范围为 -40% ~ 40% +给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40% ### [简化评论区](../../registry/dist/components/style/simplify/comments.js) `simplifyComments` @@ -451,6 +451,17 @@ - 进度调整可在左上角和右上角取消 - 进度调整时在不同位置滑动, 可以使用3档不同的灵敏度. +### [屏蔽黑名单up主](../../registry/dist/components/utils/black-list.js) +`blackList` + +**AltCdn:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/black-list.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/black-list.js) + +**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/utils/black-list.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/black-list.js) + +by [@snowraincloud](https://github.com/snowraincloud) + +屏蔽黑名单up主, 根据up主的名称进行匹配,支持精确匹配和正则匹配 + ### [更新链接替换](../../registry/dist/components/utils/change-update-urls.js) `changeUpdateUrls` @@ -530,6 +541,7 @@ 动态文件名变量: - `user`: 用户名 +- `originalUser`: 被转发用户名, 如果不是转发类型的动态则等于 `user` - `id`: 动态 ID - `n`: 第 n 张图 @@ -657,7 +669,7 @@ by [@kdxcxs](https://github.com/kdxcxs) **GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/components/video/danmaku/expand.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/danmaku/expand.js) -每次加载视频时自动展开弹幕列表. +每次加载视频时自动展开弹幕列表, 如果弹幕装载量超过 `最大弹幕数量`, 则不展开以免对页面造成卡顿. ### [视频页默认定位](../../registry/dist/components/video/default-location.js) `videoDefaultLocation` @@ -964,6 +976,15 @@ by FoundTheWOUT 在设置面板中添加 "最近使用" 类别, 方便检索最近操作过的组件. +### [自定义顶栏 - 频道](../../registry/dist/plugins/style/custom-navbar-channel.js) +`customNavbar.items.channel` + +**AltCdn:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-channel.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/style/custom-navbar-channel.js) + +**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/registry/dist/plugins/style/custom-navbar-channel.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/plugins/style/custom-navbar-channel.js) + +为自定义顶栏添加一个频道入口. + ### [自定义顶栏 - 夜间模式开关](../../registry/dist/plugins/style/custom-navbar-dark-mode.js) `customNavbar.items.darkMode` diff --git a/doc/features/pack/pack.json b/doc/features/pack/pack.json index e60e048ec..ad188e266 100644 --- a/doc/features/pack/pack.json +++ b/doc/features/pack/pack.json @@ -201,7 +201,7 @@ "type": "component", "name": "customNavbar", "displayName": "自定义顶栏", - "description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\n- *://message.bilibili.com/pages/nav/index_new_sync", + "description": "使用脚本提供的顶栏替换原版的主站顶栏 (非主站不替换), 启用后还可以在反广告插件 (例如 ABP) 中配置禁止原版顶栏的消息 iframe 以提升性能:\r\n- *://message.bilibili.com/pages/nav/index_new_pc_sync\r\n- *://message.bilibili.com/pages/nav/index_new_sync\r\n", "fullRelativePath": "../../registry/dist/components/style/custom-navbar.js", "fullAbsolutePath": "registry/dist/components/style/custom-navbar.js" },