Update docs

This commit is contained in:
the1812 2022-09-03 10:51:31 +08:00
parent 912726e0b9
commit 4e12880c67
3 changed files with 46 additions and 9 deletions

View File

@ -75,7 +75,7 @@
"type": "component", "type": "component",
"name": "badgeHelper", "name": "badgeHelper",
"displayName": "直播勋章快速更换", "displayName": "直播勋章快速更换",
"description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认加载 256 个 (同时也是上限), 可在选项中修改.", "description": "在直播区中, 可从功能面板中直接切换勋章和头衔. 默认显示 256 个 (同时也是上限), 可在选项中修改.",
"fullRelativePath": "../../registry/dist/components/live/badge-helper.js", "fullRelativePath": "../../registry/dist/components/live/badge-helper.js",
"fullAbsolutePath": "registry/dist/components/live/badge-helper.js" "fullAbsolutePath": "registry/dist/components/live/badge-helper.js"
}, },
@ -163,7 +163,7 @@
"type": "component", "type": "component",
"name": "customNavbar", "name": "customNavbar",
"displayName": "自定义顶栏", "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", "fullRelativePath": "../../registry/dist/components/style/custom-navbar.js",
"fullAbsolutePath": "registry/dist/components/style/custom-navbar.js" "fullAbsolutePath": "registry/dist/components/style/custom-navbar.js"
}, },
@ -283,7 +283,7 @@
"type": "component", "type": "component",
"name": "sidebarOffset", "name": "sidebarOffset",
"displayName": "侧栏垂直偏移", "displayName": "侧栏垂直偏移",
"description": "给脚本的侧栏设置垂直偏移量, 范围为 -40% ~ 40%", "description": "给脚本的侧栏设置垂直偏移量, 范围为 -35% ~ 40%",
"fullRelativePath": "../../registry/dist/components/style/sidebar-offset.js", "fullRelativePath": "../../registry/dist/components/style/sidebar-offset.js",
"fullAbsolutePath": "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", "fullRelativePath": "../../registry/dist/components/touch/player-gestures.js",
"fullAbsolutePath": "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", "type": "component",
"name": "changeUpdateUrls", "name": "changeUpdateUrls",
@ -419,7 +427,7 @@
"type": "component", "type": "component",
"name": "imageExporter", "name": "imageExporter",
"displayName": "图片批量导出", "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", "fullRelativePath": "../../registry/dist/components/utils/image-exporter.js",
"fullAbsolutePath": "registry/dist/components/utils/image-exporter.js" "fullAbsolutePath": "registry/dist/components/utils/image-exporter.js"
}, },
@ -523,7 +531,7 @@
"type": "component", "type": "component",
"name": "expandDanmakuList", "name": "expandDanmakuList",
"displayName": "展开弹幕列表", "displayName": "展开弹幕列表",
"description": "每次加载视频时自动展开弹幕列表.", "description": "每次加载视频时自动展开弹幕列表, 如果弹幕装载量超过 `最大弹幕数量`, 则不展开以免对页面造成卡顿.",
"fullRelativePath": "../../registry/dist/components/video/danmaku/expand.js", "fullRelativePath": "../../registry/dist/components/video/danmaku/expand.js",
"fullAbsolutePath": "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", "fullRelativePath": "../../registry/dist/plugins/settings-panel/recent-components.js",
"fullAbsolutePath": "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", "type": "plugin",
"name": "customNavbar.items.darkMode", "name": "customNavbar.items.darkMode",

View File

@ -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) **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) ### [直播弹幕发送栏](../../registry/dist/components/live/danmaku-sendbar.js)
`liveDanmakuSendbar` `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) **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) ### [简化评论区](../../registry/dist/components/style/simplify/comments.js)
`simplifyComments` `simplifyComments`
@ -451,6 +451,17 @@
- 进度调整可在左上角和右上角取消 - 进度调整可在左上角和右上角取消
- 进度调整时在不同位置滑动, 可以使用3档不同的灵敏度. - 进度调整时在不同位置滑动, 可以使用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) ### [更新链接替换](../../registry/dist/components/utils/change-update-urls.js)
`changeUpdateUrls` `changeUpdateUrls`
@ -530,6 +541,7 @@
动态文件名变量: 动态文件名变量:
- `user`: 用户名 - `user`: 用户名
- `originalUser`: 被转发用户名, 如果不是转发类型的动态则等于 `user`
- `id`: 动态 ID - `id`: 动态 ID
- `n`: 第 n 张图 - `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) **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) ### [视频页默认定位](../../registry/dist/components/video/default-location.js)
`videoDefaultLocation` `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) ### [自定义顶栏 - 夜间模式开关](../../registry/dist/plugins/style/custom-navbar-dark-mode.js)
`customNavbar.items.darkMode` `customNavbar.items.darkMode`

View File

@ -201,7 +201,7 @@
"type": "component", "type": "component",
"name": "customNavbar", "name": "customNavbar",
"displayName": "自定义顶栏", "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", "fullRelativePath": "../../registry/dist/components/style/custom-navbar.js",
"fullAbsolutePath": "registry/dist/components/style/custom-navbar.js" "fullAbsolutePath": "registry/dist/components/style/custom-navbar.js"
}, },