mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Apply dark style slice 3, fix bug in main script
This commit is contained in:
parent
ebb1c1d0c9
commit
a61ad772b6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved (Preview)
|
// @name Bilibili Evolved (Preview)
|
||||||
// @version 1.3.7
|
// @version 1.3.8
|
||||||
// @description 增强哔哩哔哩Web端体验. (预览版分支)
|
// @description 增强哔哩哔哩Web端体验. (预览版分支)
|
||||||
// @author Grant Howard
|
// @author Grant Howard
|
||||||
// @match *://*.bilibili.com/*
|
// @match *://*.bilibili.com/*
|
||||||
@ -45,7 +45,7 @@
|
|||||||
notifyNewVersion: true,
|
notifyNewVersion: true,
|
||||||
fixFullscreen: false,
|
fixFullscreen: 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: "1.3.7"
|
currentVersion: "1.3.8"
|
||||||
};
|
};
|
||||||
function loadSettings()
|
function loadSettings()
|
||||||
{
|
{
|
||||||
@ -81,6 +81,7 @@
|
|||||||
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1),
|
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1),
|
||||||
darkStyleSlice1: new Resource("style/style-dark-slice-1.min.scss", 2),
|
darkStyleSlice1: new Resource("style/style-dark-slice-1.min.scss", 2),
|
||||||
darkStyleSlice2: new Resource("style/style-dark-slice-2.min.scss", 2),
|
darkStyleSlice2: new Resource("style/style-dark-slice-2.min.scss", 2),
|
||||||
|
darkStyleSlice3: new Resource("style/style-dark-slice-3.min.scss", 2),
|
||||||
darkStyleImportant: new Resource("style/style-dark-important.min.scss"),
|
darkStyleImportant: new Resource("style/style-dark-important.min.scss"),
|
||||||
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3),
|
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3),
|
||||||
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4),
|
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4),
|
||||||
@ -120,6 +121,7 @@
|
|||||||
this.useDarkStyle.dependencies = [
|
this.useDarkStyle.dependencies = [
|
||||||
this.darkStyleSlice1,
|
this.darkStyleSlice1,
|
||||||
this.darkStyleSlice2,
|
this.darkStyleSlice2,
|
||||||
|
this.darkStyleSlice3,
|
||||||
this.darkStyleImportant
|
this.darkStyleImportant
|
||||||
];
|
];
|
||||||
this.useNewStyle.dependencies = [
|
this.useNewStyle.dependencies = [
|
||||||
@ -541,7 +543,7 @@
|
|||||||
getStyle(id)
|
getStyle(id)
|
||||||
{
|
{
|
||||||
const style = this.text;
|
const style = this.text;
|
||||||
if (!style)
|
if (style === null)
|
||||||
{
|
{
|
||||||
console.error("Attempt to get style which is not downloaded.");
|
console.error("Attempt to get style which is not downloaded.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name Bilibili Evolved
|
// @name Bilibili Evolved
|
||||||
// @version 1.3.7
|
// @version 1.3.8
|
||||||
// @description 增强哔哩哔哩Web端体验.
|
// @description 增强哔哩哔哩Web端体验.
|
||||||
// @author Grant Howard
|
// @author Grant Howard
|
||||||
// @match *://*.bilibili.com/*
|
// @match *://*.bilibili.com/*
|
||||||
@ -45,7 +45,7 @@
|
|||||||
notifyNewVersion: true,
|
notifyNewVersion: true,
|
||||||
fixFullscreen: false,
|
fixFullscreen: 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: "1.3.7"
|
currentVersion: "1.3.8"
|
||||||
};
|
};
|
||||||
function loadSettings()
|
function loadSettings()
|
||||||
{
|
{
|
||||||
@ -81,6 +81,7 @@
|
|||||||
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1),
|
scrollbarStyle: new Resource("style/style-scrollbar.min.css", 1),
|
||||||
darkStyleSlice1: new Resource("style/style-dark-slice-1.min.scss", 2),
|
darkStyleSlice1: new Resource("style/style-dark-slice-1.min.scss", 2),
|
||||||
darkStyleSlice2: new Resource("style/style-dark-slice-2.min.scss", 2),
|
darkStyleSlice2: new Resource("style/style-dark-slice-2.min.scss", 2),
|
||||||
|
darkStyleSlice3: new Resource("style/style-dark-slice-3.min.scss", 2),
|
||||||
darkStyleImportant: new Resource("style/style-dark-important.min.scss"),
|
darkStyleImportant: new Resource("style/style-dark-important.min.scss"),
|
||||||
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3),
|
touchPlayerStyle: new Resource("style/style-touch-player.min.scss", 3),
|
||||||
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4),
|
navbarOverrideStyle: new Resource("style/style-navbar-override.min.css", 4),
|
||||||
@ -120,6 +121,7 @@
|
|||||||
this.useDarkStyle.dependencies = [
|
this.useDarkStyle.dependencies = [
|
||||||
this.darkStyleSlice1,
|
this.darkStyleSlice1,
|
||||||
this.darkStyleSlice2,
|
this.darkStyleSlice2,
|
||||||
|
this.darkStyleSlice3,
|
||||||
this.darkStyleImportant
|
this.darkStyleImportant
|
||||||
];
|
];
|
||||||
this.useNewStyle.dependencies = [
|
this.useNewStyle.dependencies = [
|
||||||
@ -541,7 +543,7 @@
|
|||||||
getStyle(id)
|
getStyle(id)
|
||||||
{
|
{
|
||||||
const style = this.text;
|
const style = this.text;
|
||||||
if (!style)
|
if (style === null)
|
||||||
{
|
{
|
||||||
console.error("Attempt to get style which is not downloaded.");
|
console.error("Attempt to get style which is not downloaded.");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
1.3.7
|
1.3.8
|
||||||
Loading…
Reference in New Issue
Block a user