mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Update all descriptions
This commit is contained in:
parent
384f0531f6
commit
d842469226
@ -123,7 +123,7 @@
|
||||
"type": "component",
|
||||
"name": "livePip",
|
||||
"displayName": "直播画中画",
|
||||
"description": "在直播间的功能中启用画中画支持.",
|
||||
"description": "在直播间的功能面板中启用画中画支持, 不过现在好像 b 站已经直接支持了, 后续可能会删掉这个功能.",
|
||||
"fullRelativePath": "../../registry/dist/components/live/pip.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/pip.js"
|
||||
},
|
||||
@ -147,7 +147,7 @@
|
||||
"type": "component",
|
||||
"name": "collapseLiveSideBar",
|
||||
"displayName": "自动收起直播侧栏",
|
||||
"description": "暂无描述.",
|
||||
"description": "自动收起直播间右边偏下的侧栏. (上面有个 \"关注\" 的面板)",
|
||||
"fullRelativePath": "../../registry/dist/components/live/side-bar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/side-bar.js"
|
||||
},
|
||||
@ -179,7 +179,7 @@
|
||||
"type": "component",
|
||||
"name": "darkModeFollowSystem",
|
||||
"displayName": "夜间模式跟随系统",
|
||||
"description": "使夜间模式同步系统设置的亮/暗主题.\n\n> 注:在某些浏览器(如`Microsoft Edge`)中,夜间模式仅会同步浏览器的亮/暗主题.",
|
||||
"description": "使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.\n\n> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/dark-mode/follow-system.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/dark-mode/follow-system.js"
|
||||
},
|
||||
@ -195,7 +195,7 @@
|
||||
"type": "component",
|
||||
"name": "darkModeSchedule",
|
||||
"displayName": "夜间模式计划时段",
|
||||
"description": "设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式. 结束时间小于起始时间时将视为次日, 如`18:00`至`6:00`表示晚上18:00到次日6:00.",
|
||||
"description": "设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/dark-mode/schedule.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/dark-mode/schedule.js"
|
||||
},
|
||||
@ -226,8 +226,8 @@
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideRecommendedLive",
|
||||
"displayName": "隐藏推荐直播",
|
||||
"description": "隐藏视频页面右侧下方的推荐直播.",
|
||||
"displayName": "隐藏直播推荐",
|
||||
"description": "隐藏视频页面右侧下方的直播推荐.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/recommended-live.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/recommended-live.js"
|
||||
},
|
||||
@ -267,7 +267,7 @@
|
||||
"type": "component",
|
||||
"name": "elegantScrollbar",
|
||||
"displayName": "使用细滚动条",
|
||||
"description": "暂无描述.",
|
||||
"description": "使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/scrollbar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/scrollbar.js"
|
||||
},
|
||||
@ -291,7 +291,7 @@
|
||||
"type": "component",
|
||||
"name": "simplifyHome",
|
||||
"displayName": "简化首页",
|
||||
"description": "隐藏原版首页不需要的元素/分区.",
|
||||
"description": "隐藏原版首页不需要的元素 / 分区.\n\n> 这个功能相当于 v1 的 `首页过滤`, v1 的 `简化首页` (清爽 / 极简首页) 需要重构后再发布, 问就是 Coming Soon.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
|
||||
},
|
||||
@ -331,7 +331,7 @@
|
||||
"type": "component",
|
||||
"name": "doubleClickControl",
|
||||
"displayName": "启用双击控制",
|
||||
"description": "将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.",
|
||||
"description": "将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.",
|
||||
"fullRelativePath": "../../registry/dist/components/touch/double-click-control.js",
|
||||
"fullAbsolutePath": "registry/dist/components/touch/double-click-control.js"
|
||||
},
|
||||
@ -403,7 +403,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- `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"
|
||||
},
|
||||
@ -411,7 +411,7 @@
|
||||
"type": "component",
|
||||
"name": "imageResolution",
|
||||
"displayName": "高分辨率图片",
|
||||
"description": "根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些.",
|
||||
"description": "根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/image-resolution.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/image-resolution.js"
|
||||
},
|
||||
@ -419,7 +419,7 @@
|
||||
"type": "component",
|
||||
"name": "keymap",
|
||||
"displayName": "快捷键扩展",
|
||||
"description": "为视频播放器启用更多的快捷键, 快捷键列表可在`快捷键设置`中查看和配置.",
|
||||
"description": "为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/keymap.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/keymap.js"
|
||||
},
|
||||
@ -427,7 +427,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -459,7 +459,7 @@
|
||||
"type": "component",
|
||||
"name": "watchlaterRedirect",
|
||||
"displayName": "稍后再看重定向",
|
||||
"description": "将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.",
|
||||
"description": "将稍后再看的链接重定向为普通播放网址.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/watchlater-redirect.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/watchlater-redirect.js"
|
||||
},
|
||||
@ -507,7 +507,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadVideo",
|
||||
"displayName": "下载视频",
|
||||
"description": "暂无描述.",
|
||||
"description": "在功能面板中添加下载视频支持.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/download.js"
|
||||
},
|
||||
@ -555,7 +555,7 @@
|
||||
"type": "component",
|
||||
"name": "defaultPlayerMode",
|
||||
"displayName": "默认播放器模式",
|
||||
"description": "控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`.",
|
||||
"description": "控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/default-mode.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/default-mode.js"
|
||||
},
|
||||
@ -571,7 +571,7 @@
|
||||
"type": "component",
|
||||
"name": "playerFocus",
|
||||
"displayName": "播放器定位",
|
||||
"description": "进入视频/番剧页面时, 自动定位到播放器.\r\n\r\n可设置定位时的竖直偏移量, 单位为像素(px).",
|
||||
"description": "进入视频 / 番剧页面时, 自动定位到播放器. 注意: 不能和其他影响定位的功能一同使用, 例如自动宽屏. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))\r\n\r\n可设置定位时的竖直偏移量, 单位为像素(px).",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/focus.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/focus.js"
|
||||
},
|
||||
@ -587,7 +587,7 @@
|
||||
"type": "component",
|
||||
"name": "legacyAutoPlay",
|
||||
"displayName": "传统连播模式",
|
||||
"description": "暂无描述.",
|
||||
"description": "模拟传统的多 P 连播策略: 仅连播视频的分 P 和番剧的多集, 最后 1P 放完禁止连播其他推荐视频.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/legacy-auto-play.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/legacy-auto-play.js"
|
||||
},
|
||||
@ -595,7 +595,7 @@
|
||||
"type": "component",
|
||||
"name": "preserveDanmakuInput",
|
||||
"displayName": "强制保留弹幕发送栏",
|
||||
"description": "在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.",
|
||||
"description": "在视频播放器网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/preserve-danmaku-input.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/preserve-danmaku-input.js"
|
||||
},
|
||||
@ -619,7 +619,7 @@
|
||||
"type": "component",
|
||||
"name": "videoScreenshot",
|
||||
"displayName": "启用视频截图",
|
||||
"description": "启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.\r\n\r\n如果弹幕渲染类型选择了Canvas, 则可以再按住<kbd>Shift</kbd>键来截取带弹幕的截图. 也就是鼠标操作为\"按住<kbd>Shift</kbd>点击截图按钮\", 键盘操作为\"<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>\".",
|
||||
"description": "启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/screenshot.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/screenshot.js"
|
||||
},
|
||||
@ -627,7 +627,7 @@
|
||||
"type": "component",
|
||||
"name": "seekByFrames",
|
||||
"displayName": "启用逐帧调整",
|
||||
"description": "在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.\r\n\r\n> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况.",
|
||||
"description": "在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.\r\n\r\n> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/seek-by-frames.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/seek-by-frames.js"
|
||||
},
|
||||
@ -643,7 +643,7 @@
|
||||
"type": "component",
|
||||
"name": "skipChargeList",
|
||||
"displayName": "跳过充电鸣谢",
|
||||
"description": "自动跳过视频结尾的充电鸣谢.",
|
||||
"description": "自动跳过视频结尾的充电鸣谢. 注意: 不包括番剧承包鸣谢.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/skip-charge-list.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/skip-charge-list.js"
|
||||
},
|
||||
@ -651,7 +651,7 @@
|
||||
"type": "component",
|
||||
"name": "quickFavorite",
|
||||
"displayName": "启用快速收藏",
|
||||
"description": "启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.",
|
||||
"description": "启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹. 首次启动时或者右键点击快速收藏图标可以配置快速收藏夹.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/quick-favorite.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/quick-favorite.js"
|
||||
},
|
||||
@ -677,6 +677,7 @@
|
||||
"displayName": "视频内显示时间",
|
||||
"fullRelativePath": "../../registry/dist/components/video/player/localtime.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/player/localtime.js",
|
||||
"description": "by FoundTheWOUT\n\n在视频播放器右上角显示系统时间.",
|
||||
"owner": "FoundTheWOUT"
|
||||
},
|
||||
{
|
||||
|
||||
@ -144,7 +144,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/live/pip.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/pip.js)
|
||||
|
||||
在直播间的功能中启用画中画支持.
|
||||
在直播间的功能面板中启用画中画支持, 不过现在好像 b 站已经直接支持了, 后续可能会删掉这个功能.
|
||||
|
||||
### [删除直播水印](../../registry/dist/components/live/remove-watermark.js)
|
||||
`removeLiveWatermark`
|
||||
@ -171,7 +171,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/live/side-bar.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/live/side-bar.js)
|
||||
|
||||
暂无描述.
|
||||
自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)
|
||||
|
||||
### [总是显示视频时长](../../registry/dist/components/style/always-show-duration.js)
|
||||
`alwaysShowDuration`
|
||||
@ -209,7 +209,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/style/dark-mode/follow-system.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/dark-mode/follow-system.js)
|
||||
|
||||
使夜间模式同步系统设置的亮/暗主题.
|
||||
使夜间模式同步系统设置的亮 / 暗主题, 请勿和 `夜间模式计划时段` 一同使用.
|
||||
|
||||
> 注:在某些浏览器 (如 `Microsoft Edge`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.
|
||||
|
||||
@ -229,7 +229,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/style/dark-mode/schedule.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/dark-mode/schedule.js)
|
||||
|
||||
设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式. 结束时间小于起始时间时将视为次日, 如`18:00`至`6:00`表示晚上18:00到次日6:00.
|
||||
设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 `夜间模式跟随系统` 一同使用.
|
||||
|
||||
### [隐藏番剧点评](../../registry/dist/components/style/hide/bangumi/reviews.js)
|
||||
`hideBangumiReviews`
|
||||
@ -258,14 +258,14 @@
|
||||
|
||||
隐藏首页顶部横幅.
|
||||
|
||||
### [隐藏推荐直播](../../registry/dist/components/style/hide/video/recommended-live.js)
|
||||
### [隐藏直播推荐](../../registry/dist/components/style/hide/video/recommended-live.js)
|
||||
`hideRecommendedLive`
|
||||
|
||||
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@v2/registry/dist/components/style/hide/video/recommended-live.js) / [`Preview`](https://cdn.jsdelivr.net/gh/the1812/Bilibili-Evolved@preview/registry/dist/components/style/hide/video/recommended-live.js)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/style/hide/video/recommended-live.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/hide/video/recommended-live.js)
|
||||
|
||||
隐藏视频页面右侧下方的推荐直播.
|
||||
隐藏视频页面右侧下方的直播推荐.
|
||||
|
||||
### [隐藏视频推荐](../../registry/dist/components/style/hide/video/related-videos.js)
|
||||
`hideRelatedVideos`
|
||||
@ -310,7 +310,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/style/scrollbar.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/style/scrollbar.js)
|
||||
|
||||
暂无描述.
|
||||
使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.
|
||||
|
||||
### [侧栏垂直偏移](../../registry/dist/components/style/sidebar-offset.js)
|
||||
`sidebarOffset`
|
||||
@ -348,6 +348,8 @@
|
||||
|
||||
隐藏原版首页不需要的元素 / 分区.
|
||||
|
||||
> 这个功能相当于 v1 的 `首页过滤`, v1 的 `简化首页` (清爽 / 极简首页) 需要重构后再发布, 问就是 Coming Soon.
|
||||
|
||||
### [简化直播间](../../registry/dist/components/style/simplify/live.js)
|
||||
`simplifyLiveroom`
|
||||
|
||||
@ -391,7 +393,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/touch/double-click-control.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/touch/double-click-control.js)
|
||||
|
||||
将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.
|
||||
将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.
|
||||
|
||||
### [迷你播放器触摸拖动](../../registry/dist/components/touch/mini-player.js)
|
||||
`touchMiniPlayer`
|
||||
@ -481,13 +483,13 @@
|
||||
可以批量导出某个地方的图片, 目前支持动态和专栏.
|
||||
|
||||
动态文件名变量:
|
||||
`user`: 用户名
|
||||
`id`: 动态 ID
|
||||
`n`: 第 n 张图
|
||||
- `user`: 用户名
|
||||
- `id`: 动态 ID
|
||||
- `n`: 第 n 张图
|
||||
|
||||
专栏文件名变量:
|
||||
`title`: 专栏标题
|
||||
`n`: 第 n 张图
|
||||
- `title`: 专栏标题
|
||||
- `n`: 第 n 张图
|
||||
|
||||
### [高分辨率图片](../../registry/dist/components/utils/image-resolution.js)
|
||||
`imageResolution`
|
||||
@ -496,7 +498,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/utils/image-resolution.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/image-resolution.js)
|
||||
|
||||
根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些.
|
||||
根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)
|
||||
|
||||
### [快捷键扩展](../../registry/dist/components/utils/keymap.js)
|
||||
`keymap`
|
||||
@ -505,7 +507,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/utils/keymap.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/keymap.js)
|
||||
|
||||
为视频播放器启用更多的快捷键, 快捷键列表可在`快捷键设置`中查看和配置.
|
||||
为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置.
|
||||
|
||||
### [删除广告](../../registry/dist/components/utils/remove-promotions.js)
|
||||
`removePromotions`
|
||||
@ -514,7 +516,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/utils/remove-promotions.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/remove-promotions.js)
|
||||
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.
|
||||
|
||||
- `占位文本`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
|
||||
- `保留活动横幅`: 保留视频页面的活动横幅.
|
||||
@ -553,7 +555,7 @@
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/utils/watchlater-redirect.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/utils/watchlater-redirect.js)
|
||||
|
||||
将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.
|
||||
将稍后再看的链接重定向为普通播放网址.
|
||||
|
||||
### [BiliPlus 跳转支持](../../registry/dist/components/video/biliplus-redirect.js)
|
||||
`biliplusRedirect`
|
||||
@ -609,7 +611,7 @@ by [@kdxcxs](https://github.com/kdxcxs)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/download.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/download.js)
|
||||
|
||||
暂无描述.
|
||||
在功能面板中添加下载视频支持.
|
||||
|
||||
### [展开视频简介](../../registry/dist/components/video/full-description.js)
|
||||
`fullVideoDescription`
|
||||
@ -663,7 +665,7 @@ by [@kdxcxs](https://github.com/kdxcxs)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/default-mode.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/default-mode.js)
|
||||
|
||||
控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`.
|
||||
控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))
|
||||
|
||||
### [双击全屏](../../registry/dist/components/video/player/double-click-fullscreen.js)
|
||||
`doubleClickFullscreen`
|
||||
@ -681,7 +683,7 @@ by [@kdxcxs](https://github.com/kdxcxs)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/focus.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/focus.js)
|
||||
|
||||
进入视频/番剧页面时, 自动定位到播放器.
|
||||
进入视频 / 番剧页面时, 自动定位到播放器. 注意: 不能和其他影响定位的功能一同使用, 例如自动宽屏. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))
|
||||
|
||||
可设置定位时的竖直偏移量, 单位为像素(px).
|
||||
|
||||
@ -703,7 +705,7 @@ by [@FoundTheWOUT](https://github.com/FoundTheWOUT)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/legacy-auto-play.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/legacy-auto-play.js)
|
||||
|
||||
暂无描述.
|
||||
模拟传统的多 P 连播策略: 仅连播视频的分 P 和番剧的多集, 最后 1P 放完禁止连播其他推荐视频.
|
||||
|
||||
### [强制保留弹幕发送栏](../../registry/dist/components/video/player/preserve-danmaku-input.js)
|
||||
`preserveDanmakuInput`
|
||||
@ -712,7 +714,7 @@ by [@FoundTheWOUT](https://github.com/FoundTheWOUT)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/preserve-danmaku-input.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/preserve-danmaku-input.js)
|
||||
|
||||
在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.
|
||||
在视频播放器网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.
|
||||
|
||||
### [倍速记忆](../../registry/dist/components/video/player/remember-speed.js)
|
||||
`rememberVideoSpeed`
|
||||
@ -741,9 +743,7 @@ by [@JLoeve](https://github.com/LonelySteve)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/screenshot.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/screenshot.js)
|
||||
|
||||
启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.
|
||||
|
||||
如果弹幕渲染类型选择了Canvas, 则可以再按住<kbd>Shift</kbd>键来截取带弹幕的截图. 也就是鼠标操作为"按住<kbd>Shift</kbd>点击截图按钮", 键盘操作为"<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>".
|
||||
启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.
|
||||
|
||||
### [启用逐帧调整](../../registry/dist/components/video/player/seek-by-frames.js)
|
||||
`seekByFrames`
|
||||
@ -752,7 +752,7 @@ by [@JLoeve](https://github.com/LonelySteve)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/seek-by-frames.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/seek-by-frames.js)
|
||||
|
||||
在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.
|
||||
在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.
|
||||
|
||||
> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况.
|
||||
|
||||
@ -772,7 +772,7 @@ by [@JLoeve](https://github.com/LonelySteve)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/player/skip-charge-list.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/player/skip-charge-list.js)
|
||||
|
||||
自动跳过视频结尾的充电鸣谢.
|
||||
自动跳过视频结尾的充电鸣谢. 注意: 不包括番剧承包鸣谢.
|
||||
|
||||
### [启用快速收藏](../../registry/dist/components/video/quick-favorite.js)
|
||||
`quickFavorite`
|
||||
@ -781,7 +781,7 @@ by [@JLoeve](https://github.com/LonelySteve)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/v2/registry/dist/components/video/quick-favorite.js) / [`Preview`](https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist/components/video/quick-favorite.js)
|
||||
|
||||
启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.
|
||||
启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹. 首次启动时或者右键点击快速收藏图标可以配置快速收藏夹.
|
||||
|
||||
### [SEO 页面重定向](../../registry/dist/components/video/seo-redirect.js)
|
||||
`seoRedirect`
|
||||
@ -807,6 +807,10 @@ by [@JLoeve](https://github.com/LonelySteve)
|
||||
**jsDelivr:** [`Stable`](https://cdn.jsdelivr.net/gh/FoundTheWOUT/Bilibili-Evolved@v2/registry/dist/components/video/player/localtime.js) / [`Preview`](https://cdn.jsdelivr.net/gh/FoundTheWOUT/Bilibili-Evolved@preview/registry/dist/components/video/player/localtime.js)
|
||||
|
||||
**GitHub:** [`Stable`](https://raw.githubusercontent.com/FoundTheWOUT/Bilibili-Evolved/v2/registry/dist/components/video/player/localtime.js) / [`Preview`](https://raw.githubusercontent.com/FoundTheWOUT/Bilibili-Evolved/preview/registry/dist/components/video/player/localtime.js)
|
||||
|
||||
by FoundTheWOUT
|
||||
|
||||
在视频播放器右上角显示系统时间.
|
||||
## 插件
|
||||
|
||||
### [搜索栏 - 搜索推荐](../../registry/dist/plugins/launch-bar/trending-search.js)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
{
|
||||
"name": "cleaner",
|
||||
"displayName": "简洁至上",
|
||||
"description": "简化各种多余界面元素, 专注于内容本身.",
|
||||
"description": "简化各种多余界面元素, 专注于内容本身.\n包含以下功能:\n删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 简化首页, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层, 自动隐藏侧栏",
|
||||
"components": [
|
||||
"removePromotions",
|
||||
"removeLiveWatermark",
|
||||
@ -22,7 +22,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -70,7 +70,7 @@
|
||||
"type": "component",
|
||||
"name": "simplifyHome",
|
||||
"displayName": "简化首页",
|
||||
"description": "隐藏原版首页不需要的元素/分区.",
|
||||
"description": "隐藏原版首页不需要的元素 / 分区.\n\n> 这个功能相当于 v1 的 `首页过滤`, v1 的 `简化首页` (清爽 / 极简首页) 需要重构后再发布, 问就是 Coming Soon.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/simplify/home.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/simplify/home.js"
|
||||
},
|
||||
@ -78,7 +78,7 @@
|
||||
"type": "component",
|
||||
"name": "collapseLiveSideBar",
|
||||
"displayName": "自动收起直播侧栏",
|
||||
"description": "暂无描述.",
|
||||
"description": "自动收起直播间右边偏下的侧栏. (上面有个 \"关注\" 的面板)",
|
||||
"fullRelativePath": "../../registry/dist/components/live/side-bar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/live/side-bar.js"
|
||||
},
|
||||
@ -93,8 +93,8 @@
|
||||
{
|
||||
"type": "component",
|
||||
"name": "hideRecommendedLive",
|
||||
"displayName": "隐藏推荐直播",
|
||||
"description": "隐藏视频页面右侧下方的推荐直播.",
|
||||
"displayName": "隐藏直播推荐",
|
||||
"description": "隐藏视频页面右侧下方的直播推荐.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/hide/video/recommended-live.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/hide/video/recommended-live.js"
|
||||
},
|
||||
@ -120,7 +120,7 @@
|
||||
{
|
||||
"name": "downloader",
|
||||
"displayName": "下载器",
|
||||
"description": "包含下载各种内容的功能.",
|
||||
"description": "包含下载各种内容的功能.\n包含以下功能:\n下载视频, 下载字幕, 下载弹幕, 下载音频, 直播录像下载",
|
||||
"components": [
|
||||
"downloadVideo",
|
||||
"downloadSubtitle",
|
||||
@ -133,7 +133,7 @@
|
||||
"type": "component",
|
||||
"name": "downloadVideo",
|
||||
"displayName": "下载视频",
|
||||
"description": "暂无描述.",
|
||||
"description": "在功能面板中添加下载视频支持.",
|
||||
"fullRelativePath": "../../registry/dist/components/video/download.js",
|
||||
"fullAbsolutePath": "registry/dist/components/video/download.js"
|
||||
},
|
||||
@ -175,7 +175,7 @@
|
||||
{
|
||||
"name": "starter",
|
||||
"displayName": "常用功能包",
|
||||
"description": "包含一些常用功能.",
|
||||
"description": "包含一些常用功能.\n包含以下功能:\n使用细滚动条, 自定义顶栏, 删除广告, 专栏文字选择, 网址参数清理, 快捷键扩展, 查看封面, BV 号转换, 删除直播水印, 直播弹幕发送栏, 直播全屏包裹, 展开动态内容, 动态反折叠, 快速收起评论, 禁止跳转动态详情, 展开视频简介, 设置面板 - \"最近使用\" 类别",
|
||||
"components": [
|
||||
"elegantScrollbar",
|
||||
"customNavbar",
|
||||
@ -202,7 +202,7 @@
|
||||
"type": "component",
|
||||
"name": "elegantScrollbar",
|
||||
"displayName": "使用细滚动条",
|
||||
"description": "暂无描述.",
|
||||
"description": "使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.",
|
||||
"fullRelativePath": "../../registry/dist/components/style/scrollbar.js",
|
||||
"fullAbsolutePath": "registry/dist/components/style/scrollbar.js"
|
||||
},
|
||||
@ -218,7 +218,7 @@
|
||||
"type": "component",
|
||||
"name": "removePromotions",
|
||||
"displayName": "删除广告",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"description": "删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 `占位文本` 选项.\n\n- `占位文本`: 删除首页推广模块的广告后显示\"🚫已屏蔽广告\"来替代空白区域.\n- `保留活动横幅`: 保留视频页面的活动横幅.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/remove-promotions.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/remove-promotions.js"
|
||||
},
|
||||
@ -242,7 +242,7 @@
|
||||
"type": "component",
|
||||
"name": "keymap",
|
||||
"displayName": "快捷键扩展",
|
||||
"description": "为视频播放器启用更多的快捷键, 快捷键列表可在`快捷键设置`中查看和配置.",
|
||||
"description": "为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置.",
|
||||
"fullRelativePath": "../../registry/dist/components/utils/keymap.js",
|
||||
"fullAbsolutePath": "registry/dist/components/utils/keymap.js"
|
||||
},
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
|
||||
### 简洁至上
|
||||
简化各种多余界面元素, 专注于内容本身.
|
||||
包含以下功能:
|
||||
删除广告, 删除直播水印, 删除视频弹窗, 禁用特殊弹幕样式, 简化评论区, 简化直播间, 简化首页, 自动收起直播侧栏, 隐藏视频推荐, 隐藏直播推荐, 隐藏视频标题层, 自动隐藏侧栏
|
||||
|
||||
<details>
|
||||
<summary><strong>jsDelivr Stable</strong></summary>
|
||||
@ -83,6 +85,8 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist
|
||||
|
||||
### 下载器
|
||||
包含下载各种内容的功能.
|
||||
包含以下功能:
|
||||
下载视频, 下载字幕, 下载弹幕, 下载音频, 直播录像下载
|
||||
|
||||
<details>
|
||||
<summary><strong>jsDelivr Stable</strong></summary>
|
||||
@ -135,6 +139,8 @@ https://raw.githubusercontent.com/the1812/Bilibili-Evolved/preview/registry/dist
|
||||
|
||||
### 常用功能包
|
||||
包含一些常用功能.
|
||||
包含以下功能:
|
||||
使用细滚动条, 自定义顶栏, 删除广告, 专栏文字选择, 网址参数清理, 快捷键扩展, 查看封面, BV 号转换, 删除直播水印, 直播弹幕发送栏, 直播全屏包裹, 展开动态内容, 动态反折叠, 快速收起评论, 禁止跳转动态详情, 展开视频简介, 设置面板 - "最近使用" 类别
|
||||
|
||||
<details>
|
||||
<summary><strong>jsDelivr Stable</strong></summary>
|
||||
|
||||
18
registry/dist/doc.js
vendored
18
registry/dist/doc.js
vendored
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@ export const component: ComponentMetadata = {
|
||||
name: 'livePip',
|
||||
displayName: '直播画中画',
|
||||
description: {
|
||||
'zh-CN': '在直播间的功能中启用画中画支持.',
|
||||
'zh-CN': '在直播间的功能面板中启用画中画支持, 不过现在好像 b 站已经直接支持了, 后续可能会删掉这个功能.',
|
||||
},
|
||||
entry: none,
|
||||
tags: [
|
||||
|
||||
@ -11,6 +11,7 @@ export const component: ComponentMetadata = {
|
||||
},
|
||||
],
|
||||
displayName: '自动收起直播侧栏',
|
||||
description: '自动收起直播间右边偏下的侧栏. (上面有个 "关注" 的面板)',
|
||||
tags: [
|
||||
componentsTags.live,
|
||||
componentsTags.style,
|
||||
|
||||
@ -28,7 +28,7 @@ export const component: ComponentMetadata = {
|
||||
],
|
||||
description: {
|
||||
'zh-CN': `
|
||||
使夜间模式同步系统设置的亮/暗主题.
|
||||
使夜间模式同步系统设置的亮 / 暗主题, 请勿和 \`夜间模式计划时段\` 一同使用.
|
||||
|
||||
> 注:在某些浏览器 (如 \`Microsoft Edge\`) 中,夜间模式仅会同步浏览器的亮 / 暗主题.
|
||||
`.trim(),
|
||||
|
||||
@ -113,7 +113,7 @@ const checkTime = (settings: ComponentSettings) => {
|
||||
export const component: ComponentMetadata = {
|
||||
name: 'darkModeSchedule',
|
||||
displayName: '夜间模式计划时段',
|
||||
description: '设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式. 结束时间小于起始时间时将视为次日, 如`18:00`至`6:00`表示晚上18:00到次日6:00.',
|
||||
description: '设置一个使用夜间模式的时间段, 进入 / 离开此时间段时, 会自动开启 / 关闭夜间模式. 结束时间小于起始时间时将视为次日, 如 `18:00` 至 `6:00` 表示晚上 18:00 到次日 6:00. 请勿和 \`夜间模式跟随系统\` 一同使用.',
|
||||
tags: [
|
||||
componentsTags.style,
|
||||
componentsTags.general,
|
||||
|
||||
@ -10,13 +10,13 @@ export const component: ComponentMetadata = {
|
||||
style: () => import('./recommended-live.scss'),
|
||||
},
|
||||
],
|
||||
displayName: '隐藏推荐直播',
|
||||
displayName: '隐藏直播推荐',
|
||||
tags: [
|
||||
componentsTags.style,
|
||||
componentsTags.video,
|
||||
],
|
||||
description: {
|
||||
'zh-CN': '隐藏视频页面右侧下方的推荐直播.',
|
||||
'zh-CN': '隐藏视频页面右侧下方的直播推荐.',
|
||||
},
|
||||
urlInclude: videoUrls,
|
||||
}
|
||||
|
||||
@ -4,6 +4,7 @@ export const component: ComponentMetadata = {
|
||||
name: 'elegantScrollbar',
|
||||
entry: none,
|
||||
displayName: '使用细滚动条',
|
||||
description: '使用浏览器的滚动条风格替代系统的滚动条, 不过 macOS 系统滚动条比浏览器做得好一些, 因此不建议 macOS 使用此功能.',
|
||||
tags: [
|
||||
componentsTags.style,
|
||||
componentsTags.general,
|
||||
|
||||
@ -48,7 +48,11 @@ const metadata: ComponentMetadata = {
|
||||
name: 'simplifyHome',
|
||||
displayName: '简化首页',
|
||||
description: {
|
||||
'zh-CN': '隐藏原版首页不需要的元素/分区.',
|
||||
'zh-CN': `
|
||||
隐藏原版首页不需要的元素 / 分区.
|
||||
|
||||
> 这个功能相当于 v1 的 \`首页过滤\`, v1 的 \`简化首页\` (清爽 / 极简首页) 需要重构后再发布, 问就是 Coming Soon.
|
||||
`.trim(),
|
||||
},
|
||||
instantStyles: [
|
||||
{
|
||||
|
||||
@ -31,7 +31,7 @@ export const component: ComponentMetadata = {
|
||||
name: 'doubleClickControl',
|
||||
displayName: '启用双击控制',
|
||||
description: {
|
||||
'zh-CN': '将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.',
|
||||
'zh-CN': '将视频播放器的操作方式更改为: 单击显示 / 隐藏控制栏, 双击播放 / 暂停.',
|
||||
},
|
||||
tags: [
|
||||
componentsTags.touch,
|
||||
|
||||
@ -1,10 +1,10 @@
|
||||
可以批量导出某个地方的图片, 目前支持动态和专栏.
|
||||
|
||||
动态文件名变量:
|
||||
`user`: 用户名
|
||||
`id`: 动态 ID
|
||||
`n`: 第 n 张图
|
||||
- `user`: 用户名
|
||||
- `id`: 动态 ID
|
||||
- `n`: 第 n 张图
|
||||
|
||||
专栏文件名变量:
|
||||
`title`: 专栏标题
|
||||
`n`: 第 n 张图
|
||||
- `title`: 专栏标题
|
||||
- `n`: 第 n 张图
|
||||
@ -10,7 +10,7 @@ export const component: ComponentMetadata = {
|
||||
enabledByDefault: window.devicePixelRatio > 1,
|
||||
entry: startResolution,
|
||||
description: {
|
||||
'zh-CN': '根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些.',
|
||||
'zh-CN': '根据屏幕 DPI 请求更高分辨率的图片, 例如 DPI 缩放 200% 则请求 2 倍的分辨率, 加载时间也会相应变长一些. (也会导致某些浏览器里出现图片闪动, 因为本质上是更换了图片源)',
|
||||
},
|
||||
options: {
|
||||
scale: {
|
||||
|
||||
@ -49,7 +49,7 @@ export const component: ComponentMetadata = {
|
||||
unload: () => { config && (config.enable = false) },
|
||||
reload: () => { config && (config.enable = true) },
|
||||
description: {
|
||||
'zh-CN': '为视频播放器启用更多的快捷键, 快捷键列表可在`快捷键设置`中查看和配置.',
|
||||
'zh-CN': '为脚本的功能和 b 站的功能启用键盘快捷键支持, 快捷键列表可在`快捷键设置`中查看和配置.',
|
||||
},
|
||||
extraOptions: () => import('./settings/ExtraOptions.vue').then(m => m.default),
|
||||
options: {
|
||||
|
||||
@ -67,7 +67,7 @@ export const component: ComponentMetadata = {
|
||||
],
|
||||
description: {
|
||||
'zh-CN': `
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.
|
||||
删除站内的各种广告. 包括首页的推广模块, 手机 app 推荐, 视频页面右侧的广告等. 注意: 首页推广模块删除后留下空白区域是正常现象, 如果觉得怪可以开启 \`占位文本\` 选项.
|
||||
|
||||
- \`占位文本\`: 删除首页推广模块的广告后显示"🚫已屏蔽广告"来替代空白区域.
|
||||
- \`保留活动横幅\`: 保留视频页面的活动横幅.
|
||||
|
||||
@ -50,7 +50,7 @@ export const component: ComponentMetadata = {
|
||||
name: 'watchlaterRedirect',
|
||||
displayName: '稍后再看重定向',
|
||||
description: {
|
||||
'zh-CN': '将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.',
|
||||
'zh-CN': '将稍后再看的链接重定向为普通播放网址.',
|
||||
},
|
||||
entry,
|
||||
options: {
|
||||
|
||||
@ -4,6 +4,7 @@ import { hasVideo } from '@/core/spin-query'
|
||||
export const component: ComponentMetadata = {
|
||||
name: 'downloadVideo',
|
||||
displayName: '下载视频',
|
||||
description: '在功能面板中添加下载视频支持.',
|
||||
entry: none,
|
||||
reload: none,
|
||||
unload: none,
|
||||
|
||||
@ -59,7 +59,7 @@ export const component: ComponentMetadata = {
|
||||
entry,
|
||||
tags: [componentsTags.video],
|
||||
description: {
|
||||
'zh-CN': '控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`.',
|
||||
'zh-CN': '控制是否使用默认播放器模式, 可以为`常规`, `宽屏`, `网页全屏`或`全屏`. 注意: 不能和其他影响定位的功能一同使用, 例如播放器定位. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))',
|
||||
'en-US': 'Set the default player mode. Could be `Normal`, `Widescreen`, `Web fullscreen` or `Fullscreen`.',
|
||||
'ja-JP': 'デフォルト・プレーヤー・モードが使用するかどうかを制御する、 例えば`常规`、`宽屏`、 `网页全屏`か`全屏`.',
|
||||
},
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
进入视频/番剧页面时, 自动定位到播放器.
|
||||
进入视频 / 番剧页面时, 自动定位到播放器. 注意: 不能和其他影响定位的功能一同使用, 例如自动宽屏. (相关讨论: [#483](https://github.com/the1812/Bilibili-Evolved/issues/483))
|
||||
|
||||
可设置定位时的竖直偏移量, 单位为像素(px).
|
||||
@ -7,6 +7,7 @@ import { videoUrls } from '@/core/utils/urls'
|
||||
export const component: ComponentMetadata = {
|
||||
name: 'legacyAutoPlay',
|
||||
displayName: '传统连播模式',
|
||||
description: '模拟传统的多 P 连播策略: 仅连播视频的分 P 和番剧的多集, 最后 1P 放完禁止连播其他推荐视频.',
|
||||
tags: [componentsTags.video],
|
||||
urlInclude: videoUrls,
|
||||
entry: async () => {
|
||||
|
||||
@ -10,7 +10,7 @@ export const component: ComponentMetadata = {
|
||||
componentsTags.video,
|
||||
],
|
||||
description: {
|
||||
'zh-CN': '在网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.',
|
||||
'zh-CN': '在视频播放器网页全屏时, 即使宽度过小也强制保留弹幕发送栏, 注意这可能导致右侧的功能按钮挤出边界.',
|
||||
},
|
||||
urlInclude: playerUrls,
|
||||
}
|
||||
|
||||
@ -1,3 +1 @@
|
||||
启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.
|
||||
|
||||
如果弹幕渲染类型选择了Canvas, 则可以再按住<kbd>Shift</kbd>键来截取带弹幕的截图. 也就是鼠标操作为"按住<kbd>Shift</kbd>点击截图按钮", 键盘操作为"<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>".
|
||||
启用视频快速截图, 将在播放器的时间右边增加一个截图按钮. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>C</kbd>.
|
||||
@ -1,3 +1,3 @@
|
||||
在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.
|
||||
在播放器的时间右边增加两个按钮, 用于**较精细**调整视频时间. 装有 `快捷键扩展` 时支持键盘快捷键<kbd>Shift</kbd>+<kbd>←</kbd>/<kbd>→</kbd>.
|
||||
|
||||
> 注: `视频的实际播放帧率`跟`视频本身的帧率`和`显示器的刷新率`有关, 很难计算一个精准的数值, 部分视频仍然会有暂停不到那种一闪而过的图的情况.
|
||||
@ -26,7 +26,7 @@ export const component: ComponentMetadata = {
|
||||
],
|
||||
entry,
|
||||
description: {
|
||||
'zh-CN': '自动跳过视频结尾的充电鸣谢.',
|
||||
'zh-CN': '自动跳过视频结尾的充电鸣谢. 注意: 不包括番剧承包鸣谢.',
|
||||
},
|
||||
reload: () => document.body.classList.remove(SkipChargeListDisabledClass),
|
||||
unload: () => document.body.classList.add(SkipChargeListDisabledClass),
|
||||
|
||||
@ -36,7 +36,7 @@ export const component: ComponentMetadata = {
|
||||
name: 'quickFavorite',
|
||||
displayName: '启用快速收藏',
|
||||
description: {
|
||||
'zh-CN': '启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹.',
|
||||
'zh-CN': '启用快速收藏, 在视频页面可以一键收藏到设定的某个收藏夹. 首次启动时或者右键点击快速收藏图标可以配置快速收藏夹.',
|
||||
},
|
||||
entry,
|
||||
unload: () => {
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { ComponentMetadata } from '@/components/types'
|
||||
import { DocSource, DocSourceItem } from '.'
|
||||
import { getId } from '../../webpack/id'
|
||||
import { thirdPartyComponents } from './third-party'
|
||||
import { getThirdPartyDescription, thirdPartyComponents } from './third-party'
|
||||
|
||||
export const getComponentsDoc: DocSource = async rootPath => {
|
||||
const { getDescriptionMarkdown } = await import('@/components/description')
|
||||
@ -38,7 +38,7 @@ export const getComponentsDoc: DocSource = async rootPath => {
|
||||
fullAbsolutePath,
|
||||
} as DocSourceItem
|
||||
})
|
||||
.concat(thirdPartyComponents)
|
||||
.concat(thirdPartyComponents.map(getThirdPartyDescription))
|
||||
return {
|
||||
title: '组件',
|
||||
items: componentsPaths,
|
||||
|
||||
@ -29,7 +29,7 @@ export type DocSource = (rootPath: string) => Promise<{
|
||||
}>
|
||||
|
||||
const entry = () => {
|
||||
unsafeWindow.generateDocs = async () => {
|
||||
unsafeWindow.generateDocs = async (output = 'zip') => {
|
||||
const rootPath = '../../registry/dist/'
|
||||
const getDocText = (title: string, items: DocSourceItem[]) => {
|
||||
const docText = items.map(it => {
|
||||
@ -61,27 +61,33 @@ ${docText.join('\n\n')}
|
||||
}
|
||||
const componentsDoc = await getComponentsDoc(rootPath)
|
||||
const pluginsDoc = await getPluginsDoc(rootPath)
|
||||
const markdown = `
|
||||
const featuresMarkdown = `
|
||||
# 可安装功能
|
||||
|
||||
${getDocText(componentsDoc.title, componentsDoc.items)}
|
||||
${getDocText(pluginsDoc.title, pluginsDoc.items)}
|
||||
|
||||
`.trim()
|
||||
const featuresJson = JSON.stringify([
|
||||
...componentsDoc.items,
|
||||
...pluginsDoc.items,
|
||||
], undefined, 2)
|
||||
|
||||
const packData = await generatePackageDocs(componentsDoc.items.concat(pluginsDoc.items))
|
||||
|
||||
if (output === 'zip') {
|
||||
const { DownloadPackage } = await import('@/core/download')
|
||||
const pack = new DownloadPackage()
|
||||
pack.noEscape = true
|
||||
pack.add('features.md', markdown)
|
||||
pack.add('features.md', featuresMarkdown)
|
||||
pack.add('pack/pack.md', packData.markdown)
|
||||
pack.add('features.json', JSON.stringify([
|
||||
...componentsDoc.items,
|
||||
...pluginsDoc.items,
|
||||
], undefined, 2))
|
||||
pack.add('features.json', featuresJson)
|
||||
pack.add('pack/pack.json', packData.json)
|
||||
await pack.emit('features.zip')
|
||||
} else if (output === 'console') {
|
||||
console.log(JSON.parse(featuresJson))
|
||||
console.log(JSON.parse(packData.json))
|
||||
}
|
||||
}
|
||||
}
|
||||
export const doc: ComponentMetadata = {
|
||||
|
||||
@ -2,6 +2,10 @@ import { cdnRoots } from '@/core/cdn-types'
|
||||
import { branches } from '@/core/meta'
|
||||
import { DocSourceItem, Package } from '.'
|
||||
|
||||
const generateDescription = (pack: Package, containedItems: DocSourceItem[]) => {
|
||||
const finalDescription = `包含以下功能:\n${containedItems.map(it => it.displayName).join(', ')}`
|
||||
return pack.description ? `${pack.description}\n${finalDescription}` : finalDescription
|
||||
}
|
||||
export const generatePackageDocs = async (allItems: DocSourceItem[]) => {
|
||||
const packagesContext = require.context('./packages', true, /\.ts$/)
|
||||
const packagesPaths = packagesContext
|
||||
@ -30,6 +34,7 @@ export const generatePackageDocs = async (allItems: DocSourceItem[]) => {
|
||||
return {
|
||||
...pack,
|
||||
items: docSourceItems,
|
||||
description: generateDescription(pack, docSourceItems),
|
||||
// path,
|
||||
}
|
||||
})
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { PluginMetadata } from '@/plugins/plugin'
|
||||
import { DocSource, DocSourceItem } from '.'
|
||||
import { getId } from '../../webpack/id'
|
||||
import { thirdPartyPlugins } from './third-party'
|
||||
import { getThirdPartyDescription, thirdPartyPlugins } from './third-party'
|
||||
|
||||
export const getPluginsDoc: DocSource = async rootPath => {
|
||||
const pluginsContext = require.context('../plugins', true, /index\.ts$/)
|
||||
@ -35,7 +35,7 @@ export const getPluginsDoc: DocSource = async rootPath => {
|
||||
fullAbsolutePath,
|
||||
} as DocSourceItem
|
||||
})
|
||||
.concat(thirdPartyPlugins)
|
||||
.concat(thirdPartyPlugins.map(getThirdPartyDescription))
|
||||
return {
|
||||
title: '插件',
|
||||
items: pluginsPaths,
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import { getDescriptionMarkdown } from '@/components/description'
|
||||
import { DocSourceItem } from '.'
|
||||
|
||||
export const thirdPartyComponents: DocSourceItem[] = [
|
||||
@ -7,9 +8,19 @@ export const thirdPartyComponents: DocSourceItem[] = [
|
||||
displayName: '视频内显示时间',
|
||||
fullRelativePath: '../../registry/dist/components/video/player/localtime.js',
|
||||
fullAbsolutePath: 'registry/dist/components/video/player/localtime.js',
|
||||
description: '在视频播放器右上角显示系统时间.',
|
||||
owner: 'FoundTheWOUT',
|
||||
},
|
||||
]
|
||||
export const thirdPartyPlugins: DocSourceItem[] = [
|
||||
|
||||
]
|
||||
|
||||
// FIXME: 在线拉取 metadata 用 getDescriptionMarkdown 生成才能有最完整的信息, 现在这实现只能拿到主 owner, 链接也不能确定
|
||||
export const getThirdPartyDescription = (item: DocSourceItem) => {
|
||||
const ownerText = item.owner ? `by ${item.owner}\n\n` : ''
|
||||
return {
|
||||
...item,
|
||||
description: ownerText + getDescriptionMarkdown(item),
|
||||
}
|
||||
}
|
||||
|
||||
@ -3,6 +3,7 @@ import { PluginMetadata } from '@/plugins/plugin'
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'launchBar.trendingSearch',
|
||||
displayName: '搜索栏 - 搜索推荐',
|
||||
description: '在脚本的搜索栏中默认显示类似 b 站搜索栏的搜索推荐词, 替代原来的 "搜索" 两字.',
|
||||
setup: ({ addData }) => {
|
||||
addData('launchBar.recommended', async (data: {
|
||||
word: string,
|
||||
|
||||
@ -5,6 +5,7 @@ import { ComponentMetadata } from '@/components/types'
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'settingsPanel.tagFilters.recentComponents',
|
||||
displayName: '设置面板 - "最近使用" 类别',
|
||||
description: '在设置面板中添加 "最近使用" 类别, 方便检索最近操作过的组件.',
|
||||
setup: ({ addData, addHook }) => {
|
||||
const getRecentComponents = async () => {
|
||||
const { getGeneralSettings } = await import('@/core/settings')
|
||||
|
||||
@ -4,6 +4,7 @@ import { CustomNavbarItemInit } from '../../../components/style/custom-navbar/cu
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'customNavbar.items.darkMode',
|
||||
displayName: '自定义顶栏 - 夜间模式开关',
|
||||
description: '为自定义顶栏添加一个夜间模式开关, 方便快速切换夜间模式.',
|
||||
async setup({ addData }) {
|
||||
const { getComponentSettings } = await import('@/core/settings')
|
||||
addData('customNavbar.items', (items: CustomNavbarItemInit[]) => {
|
||||
|
||||
@ -4,7 +4,7 @@ import { KeyBindingAction } from 'registry/lib/components/utils/keymap/bindings'
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'keymap.actions.empty',
|
||||
displayName: '快捷键扩展 - 无动作',
|
||||
description: '添加一个"无动作", 将按键绑定到这个上面就可以阻止原有的快捷键行为.',
|
||||
description: '在快捷键的动作列表里添加一个 "无动作", 将按键绑定到这个上面就可以阻止原有的快捷键行为.',
|
||||
setup: ({ addData }) => {
|
||||
addData('keymap.actions', (actions: Record<string, KeyBindingAction>) => {
|
||||
actions.empty = {
|
||||
|
||||
@ -4,6 +4,7 @@ import { PluginMetadata } from '@/plugins/plugin'
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'vLoading.reimu',
|
||||
displayName: '加载提示 - 灵梦油库里',
|
||||
description: '用灵梦油库里代替脚本的所有 "加载中" 提示, 油库里素材来自[东方我乐多从志](https://cn.touhougarakuta.com/).',
|
||||
setup: ({ addData }) => {
|
||||
addData('vLoading', (config: { content: Executable<VueModule> | string }) => {
|
||||
config.content = () => import('./ReimuLoading.vue').then(m => m.default)
|
||||
|
||||
@ -6,6 +6,7 @@ import { aria2Rpc } from './aria2-rpc'
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'downloadVideo.outputs.aria2',
|
||||
displayName: '下载视频 - aria2 输出支持',
|
||||
description: '为下载视频增加 aria2 文件导出和 RPC 输出支持.',
|
||||
setup: ({ addData }) => {
|
||||
addData('downloadVideo.outputs', (outputs: DownloadVideoOutput[]) => {
|
||||
outputs.push(aria2Input)
|
||||
|
||||
@ -7,6 +7,7 @@ import { DownloadVideoOutput } from '../../../../components/video/download/types
|
||||
export const plugin: PluginMetadata = {
|
||||
name: 'downloadVideo.outputs.idm',
|
||||
displayName: '下载视频 - IDM 输出支持',
|
||||
description: '为下载视频增加 IDM 输出支持.',
|
||||
setup: ({ addData }) => {
|
||||
addData('downloadVideo.outputs', (outputs: DownloadVideoOutput[]) => {
|
||||
outputs.push({
|
||||
|
||||
@ -3,7 +3,8 @@ import marked from 'marked'
|
||||
import { ComponentMetadata } from './component'
|
||||
import { getSelectedLanguage } from './i18n/helpers'
|
||||
|
||||
export const getDescriptionMarkdown = (component: ComponentMetadata) => {
|
||||
type ItemWithDescription = Pick<ComponentMetadata, 'description' | 'author'>
|
||||
export const getDescriptionMarkdown = (component: ItemWithDescription) => {
|
||||
const { description, author } = component
|
||||
const authorPrefix = (() => {
|
||||
if (!author) {
|
||||
@ -33,10 +34,10 @@ export const getDescriptionMarkdown = (component: ComponentMetadata) => {
|
||||
})()
|
||||
return authorPrefix + descriptionText
|
||||
}
|
||||
export const getDescriptionHTML = (component: ComponentMetadata) => marked(
|
||||
export const getDescriptionHTML = (component: ItemWithDescription) => marked(
|
||||
getDescriptionMarkdown(component),
|
||||
)
|
||||
export const getDescriptionText = (component: ComponentMetadata) => {
|
||||
export const getDescriptionText = (component: ItemWithDescription) => {
|
||||
const html = getDescriptionHTML(component)
|
||||
const div = document.createElement('div')
|
||||
div.innerHTML = html
|
||||
|
||||
@ -201,11 +201,8 @@ export default Vue.extend({
|
||||
}
|
||||
}
|
||||
.online-registry-description {
|
||||
// flex: 1 0 100%;
|
||||
// transition: opacity 0.2s ease-out;
|
||||
// opacity: 0.5;
|
||||
font-size: 13px;
|
||||
// margin-top: 4px;
|
||||
@include markdown();
|
||||
word-break: break-all;
|
||||
}
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user