mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Remove force wide, update README
This commit is contained in:
parent
9409f229b5
commit
727c3667bf
18
README.md
18
README.md
@ -45,6 +45,7 @@
|
|||||||
- 夜间模式计划时段: `关闭`
|
- 夜间模式计划时段: `关闭`
|
||||||
- 起始时间: `18:00`
|
- 起始时间: `18:00`
|
||||||
- 结束时间: `6:00`
|
- 结束时间: `6:00`
|
||||||
|
- 首页紧凑布局: `关闭`
|
||||||
- 搜索栏置顶: `开启`
|
- 搜索栏置顶: `开启`
|
||||||
- 显示顶部横幅: `开启`
|
- 显示顶部横幅: `开启`
|
||||||
- 显示排行榜图标: `开启`
|
- 显示排行榜图标: `开启`
|
||||||
@ -54,8 +55,6 @@
|
|||||||
- 缩放直播看板娘: `开启`
|
- 缩放直播看板娘: `开启`
|
||||||
- 删除直播水印: `开启`
|
- 删除直播水印: `开启`
|
||||||
- 删除视频标题层: `关闭`
|
- 删除视频标题层: `关闭`
|
||||||
- 强制宽屏: `关闭`
|
|
||||||
- 触发宽度: `1368px`
|
|
||||||
### 工具
|
### 工具
|
||||||
- 删除广告: `开启`
|
- 删除广告: `开启`
|
||||||
- 稍后再看重定向: `开启`
|
- 稍后再看重定向: `开启`
|
||||||
@ -153,6 +152,12 @@
|
|||||||
#### 夜间模式计划时段
|
#### 夜间模式计划时段
|
||||||
设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.
|
设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.
|
||||||
> 结束时间小于起始时间时将视为次日, 如`18:00`至`6:00`表示晚上18:00到次日6:00.
|
> 结束时间小于起始时间时将视为次日, 如`18:00`至`6:00`表示晚上18:00到次日6:00.
|
||||||
|
### 首页使用紧凑布局
|
||||||
|
设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 番剧的图片和排名序号会变成圆形, 分区栏的图标会使用高清重制版.
|
||||||
|
#### 启用前
|
||||||
|

|
||||||
|
#### 启用后
|
||||||
|

|
||||||
### 搜索栏置顶
|
### 搜索栏置顶
|
||||||
在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示. 仅对常用页面有效, 部分页面可能会有点布局错乱.
|
在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示. 仅对常用页面有效, 部分页面可能会有点布局错乱.
|
||||||
#### 启用前
|
#### 启用前
|
||||||
@ -188,15 +193,6 @@
|
|||||||
|
|
||||||
标题覆盖层的位置:
|
标题覆盖层的位置:
|
||||||

|

|
||||||
### 强制宽屏
|
|
||||||
对主站强制使用宽屏样式, 将在宽度达到`1300px`时启用. 此功能的适用范围为屏幕宽度介于`1300px`至`1400px`的设备.
|
|
||||||
> 原有的宽屏样式会在宽度超过`1400px`时自动启用, 如果你的屏幕宽度大于`1400px`, 则没有必要开启此功能.
|
|
||||||
|
|
||||||
> 非宽屏样式下, 首页视频排行为2行**3**列; 宽屏样式下, 首页视频排行为2行**4**列.
|
|
||||||
#### 启用前
|
|
||||||

|
|
||||||
#### 启用后
|
|
||||||

|
|
||||||
|
|
||||||
## 工具
|
## 工具
|
||||||
### 删除广告
|
### 删除广告
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -38,7 +38,6 @@
|
|||||||
touchVideoPlayer: false,
|
touchVideoPlayer: false,
|
||||||
customControlBackgroundOpacity: 0.64,
|
customControlBackgroundOpacity: 0.64,
|
||||||
customControlBackground: true,
|
customControlBackground: true,
|
||||||
forceWide: false,
|
|
||||||
darkScheduleStart: "18:00",
|
darkScheduleStart: "18:00",
|
||||||
darkScheduleEnd: "6:00",
|
darkScheduleEnd: "6:00",
|
||||||
darkSchedule: false,
|
darkSchedule: false,
|
||||||
@ -87,6 +86,7 @@
|
|||||||
useDefaultPlayerMode: true,
|
useDefaultPlayerMode: true,
|
||||||
useDefaultPlayerLayout: true,
|
useDefaultPlayerLayout: true,
|
||||||
about: false,
|
about: false,
|
||||||
|
forceWide: false,
|
||||||
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js",
|
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/preview/bilibili-evolved.preview.user.js",
|
||||||
currentVersion: GM_info.script.version,
|
currentVersion: GM_info.script.version,
|
||||||
};
|
};
|
||||||
@ -190,9 +190,6 @@
|
|||||||
path: "min/blur-video-control.min.css",
|
path: "min/blur-video-control.min.css",
|
||||||
order: 20,
|
order: 20,
|
||||||
},
|
},
|
||||||
forceWideStyle: {
|
|
||||||
path: "min/force-wide.min.css",
|
|
||||||
},
|
|
||||||
downloadVideoStyle: {
|
downloadVideoStyle: {
|
||||||
path: "min/download-video.min.css",
|
path: "min/download-video.min.css",
|
||||||
},
|
},
|
||||||
@ -438,20 +435,6 @@
|
|||||||
darkScheduleEnd: "结束时间",
|
darkScheduleEnd: "结束时间",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
forceWide: {
|
|
||||||
path: "min/force-wide.min.js",
|
|
||||||
styles: [
|
|
||||||
{
|
|
||||||
key: "forceWideStyle",
|
|
||||||
important: true,
|
|
||||||
condition: () => true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
displayNames: {
|
|
||||||
forceWide: "强制宽屏",
|
|
||||||
forceWideMinWidth: "触发宽度",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
clearCache: {
|
clearCache: {
|
||||||
path: "min/clear-cache.min.js",
|
path: "min/clear-cache.min.js",
|
||||||
displayNames: {
|
displayNames: {
|
||||||
|
|||||||
@ -38,7 +38,6 @@
|
|||||||
touchVideoPlayer: false,
|
touchVideoPlayer: false,
|
||||||
customControlBackgroundOpacity: 0.64,
|
customControlBackgroundOpacity: 0.64,
|
||||||
customControlBackground: true,
|
customControlBackground: true,
|
||||||
forceWide: false,
|
|
||||||
darkScheduleStart: "18:00",
|
darkScheduleStart: "18:00",
|
||||||
darkScheduleEnd: "6:00",
|
darkScheduleEnd: "6:00",
|
||||||
darkSchedule: false,
|
darkSchedule: false,
|
||||||
@ -87,6 +86,7 @@
|
|||||||
useDefaultPlayerMode: true,
|
useDefaultPlayerMode: true,
|
||||||
useDefaultPlayerLayout: true,
|
useDefaultPlayerLayout: true,
|
||||||
about: false,
|
about: false,
|
||||||
|
forceWide: false,
|
||||||
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js",
|
latestVersionLink: "https://github.com/the1812/Bilibili-Evolved/raw/master/bilibili-evolved.user.js",
|
||||||
currentVersion: GM_info.script.version,
|
currentVersion: GM_info.script.version,
|
||||||
};
|
};
|
||||||
@ -190,9 +190,6 @@
|
|||||||
path: "min/blur-video-control.min.css",
|
path: "min/blur-video-control.min.css",
|
||||||
order: 20,
|
order: 20,
|
||||||
},
|
},
|
||||||
forceWideStyle: {
|
|
||||||
path: "min/force-wide.min.css",
|
|
||||||
},
|
|
||||||
downloadVideoStyle: {
|
downloadVideoStyle: {
|
||||||
path: "min/download-video.min.css",
|
path: "min/download-video.min.css",
|
||||||
},
|
},
|
||||||
@ -438,20 +435,6 @@
|
|||||||
darkScheduleEnd: "结束时间",
|
darkScheduleEnd: "结束时间",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
forceWide: {
|
|
||||||
path: "min/force-wide.min.js",
|
|
||||||
styles: [
|
|
||||||
{
|
|
||||||
key: "forceWideStyle",
|
|
||||||
important: true,
|
|
||||||
condition: () => true,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
displayNames: {
|
|
||||||
forceWide: "强制宽屏",
|
|
||||||
forceWideMinWidth: "触发宽度",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
clearCache: {
|
clearCache: {
|
||||||
path: "min/clear-cache.min.js",
|
path: "min/clear-cache.min.js",
|
||||||
displayNames: {
|
displayNames: {
|
||||||
|
|||||||
BIN
images/compact-layout-disabled.png
Normal file
BIN
images/compact-layout-disabled.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
BIN
images/compact-layout.png
Normal file
BIN
images/compact-layout.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.2 MiB |
2
min/settings-tooltip.min.js
vendored
2
min/settings-tooltip.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,71 +0,0 @@
|
|||||||
@media screen and (min-width: 1300px) {
|
|
||||||
.bili-wrapper {
|
|
||||||
width:1160px;
|
|
||||||
}
|
|
||||||
.bili-wrapper .l-con {
|
|
||||||
width:900px;
|
|
||||||
}
|
|
||||||
.bili-header-m .bili-wrapper {
|
|
||||||
width:1160px;
|
|
||||||
}
|
|
||||||
.bili-header-m .bili-wrapper .l-con {
|
|
||||||
width:900px;
|
|
||||||
}
|
|
||||||
.gg-floor-module {
|
|
||||||
width:1160px;
|
|
||||||
max-height: 96px;
|
|
||||||
}
|
|
||||||
.bangumi-timing-module .headline .bili-tab {
|
|
||||||
width:650px;
|
|
||||||
}
|
|
||||||
.bangumi-timing-module .headline .bili-tab .bili-tab-item {
|
|
||||||
width: 70px;
|
|
||||||
}
|
|
||||||
.bangumi-timing-module .card-timing:first-child:nth-child(4),
|
|
||||||
.bangumi-timing-module .card-timing:nth-child(2):nth-child(4),
|
|
||||||
.bangumi-timing-module .card-timing:nth-child(3):nth-child(4),
|
|
||||||
.bangumi-timing-module .card-timing:nth-child(4):nth-child(4) {
|
|
||||||
padding-top:0;
|
|
||||||
}
|
|
||||||
.bangumi-timing-module .card-timing {
|
|
||||||
padding:36px 34px 0 0;
|
|
||||||
}
|
|
||||||
.audio-list .song-list .song-li:nth-child(5n) .content .text {
|
|
||||||
margin-right:0;
|
|
||||||
}
|
|
||||||
.audiolist-list .song-list .song-li:nth-child(5n) .content .text {
|
|
||||||
margin-right:0;
|
|
||||||
}
|
|
||||||
.elevator-module {
|
|
||||||
margin-left:590px;
|
|
||||||
}
|
|
||||||
#primary_menu,
|
|
||||||
#primary_menu>ul.nav-menu,
|
|
||||||
.uns_box li.u-i.b-post
|
|
||||||
{
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
.primary-menu
|
|
||||||
{
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.primary-menu .nav-menu
|
|
||||||
{
|
|
||||||
flex-grow: 1;
|
|
||||||
}
|
|
||||||
.primary-menu .nav-gif
|
|
||||||
{
|
|
||||||
position: static;
|
|
||||||
margin-left: 2%;
|
|
||||||
}
|
|
||||||
.primary-menu .nav-menu>li
|
|
||||||
{
|
|
||||||
margin-right: 0 !important;
|
|
||||||
}
|
|
||||||
.primary-menu .nav-menu>li.home
|
|
||||||
{
|
|
||||||
padding-right: 1%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,7 +0,0 @@
|
|||||||
(() =>
|
|
||||||
{
|
|
||||||
return (_, resources) =>
|
|
||||||
{
|
|
||||||
resources.applyImportantStyle("forceWideStyle");
|
|
||||||
};
|
|
||||||
})();
|
|
||||||
@ -42,9 +42,6 @@
|
|||||||
harunaScale: `根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,
|
harunaScale: `根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,
|
||||||
removeLiveWatermark: `删除观看直播时角落的水印.`,
|
removeLiveWatermark: `删除观看直播时角落的水印.`,
|
||||||
removeVideoTopMask: `删除视频里鼠标经过时出现在顶端的标题覆盖层.`,
|
removeVideoTopMask: `删除视频里鼠标经过时出现在顶端的标题覆盖层.`,
|
||||||
forceWide: `对主站强制使用宽屏样式, 将在宽度达到<span>1300px</span>时启用. 此功能的适用范围为屏幕宽度介于<span>1300px</span>至<span>1400px</span>的设备.
|
|
||||||
原有的宽屏样式会在宽度超过<span>1400px</span>时自动启用, 如果你的屏幕宽度大于<span>1400px</span>, 则没有必要开启此功能.
|
|
||||||
非宽屏样式下, 首页视频排行为2行<span>3</span>列; 宽屏样式下, 首页视频排行为2行<span>4</span>列.`,
|
|
||||||
removeAds: `删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,
|
removeAds: `删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,
|
||||||
watchLaterRedirect: `将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,
|
watchLaterRedirect: `将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,
|
||||||
hideTopSearch: `将搜索框的推荐词替换为<span>搜索</span>.`,
|
hideTopSearch: `将搜索框的推荐词替换为<span>搜索</span>.`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user