Skip to content

Commit

Permalink
optimize: item name
Browse files Browse the repository at this point in the history
  • Loading branch information
festoney8 committed Jan 3, 2024
1 parent 42b58a3 commit 963e77b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- 优化:首页 隐藏下载桌面端弹窗 改为默认开启
- 优化:全屏下隐藏弹幕输入框,完整展示章节名
- 优化:用户开启开关时执行功能函数
- 优化:功能名称
- 修复:视频列表增加高度

## 2.2.1
Expand Down
6 changes: 3 additions & 3 deletions src/pages/bangumi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ const bangumiSimpleShare = () => {
if (location.href.startsWith('https://www.bilibili.com/bangumi/play/')) {
// 基本功能part, basicItems
{
// 净化分享功能, 默认开启
// 净化分享功能, 默认开启, 关闭功能需刷新
basicItems.push(
new NormalItem(
'video-page-simple-share',
'净化分享功能 (需刷新)',
'净化分享功能',
true,
bangumiSimpleShare,
false,
Expand Down Expand Up @@ -450,7 +450,7 @@ if (location.href.startsWith('https://www.bilibili.com/bangumi/play/')) {
}
.bpx-player-container[data-screen=full] .bpx-player-control-bottom-center,
.bpx-player-container[data-screen=web] .bpx-player-control-bottom-center {
padding: 0 0 !important;
padding: 0 15px !important;
}
/* 弹幕开关按钮贴紧左侧, 有章节列表时增大列表宽度 */
.bpx-player-container[data-screen=full] .bpx-player-control-bottom-left,
Expand Down
4 changes: 2 additions & 2 deletions src/pages/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ if (host === 't.bilibili.com') {
),
)

// URL参数净化, 在urlchange时需重载, 默认开启
// URL参数净化, 在urlchange时需重载, 默认开启, 关闭功能需刷新
// 以前会出现URL缺少参数导致充电窗口载入失败报错NaN的bug, 现无法复现, 猜测已修复
basicItems.push(new NormalItem('url-cleaner', 'URL参数净化 (需刷新)', true, cleanURL, true, null))
basicItems.push(new NormalItem('url-cleaner', 'URL参数净化', true, cleanURL, true, null))
}
commonGroupList.push(new Group('common-basic', '全站通用项 基本功能', basicItems))
// 通用header净化,直播页除外
Expand Down
10 changes: 5 additions & 5 deletions src/pages/video.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@ if (
) {
// 基本功能part, basicItems
{
// BV号转AV号, 在url变化时需重载
basicItems.push(new NormalItem('video-page-bv2av', 'BV号转AV号 (需刷新)', false, bv2av, true, null))
// 净化分享, 默认开启
// BV号转AV号, 在url变化时需重载, 关闭功能需刷新
basicItems.push(new NormalItem('video-page-bv2av', 'BV号转AV号', false, bv2av, true, null))
// 净化分享, 默认开启, 关闭功能需刷新
basicItems.push(
new NormalItem(
'video-page-simple-share',
'净化分享功能 (需刷新)',
'净化分享功能',
true,
simpleShare,
false,
Expand Down Expand Up @@ -695,7 +695,7 @@ if (
}
.bpx-player-container[data-screen=full] .bpx-player-control-bottom-center,
.bpx-player-container[data-screen=web] .bpx-player-control-bottom-center {
padding: 0 0 !important;
padding: 0 15px !important;
}
/* 弹幕开关按钮贴紧左侧, 有章节列表时增大列表宽度 */
.bpx-player-container[data-screen=full] .bpx-player-control-bottom-left,
Expand Down

0 comments on commit 963e77b

Please sign in to comment.