mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add search history settings
This commit is contained in:
parent
5bce931916
commit
ad5ae36af7
5
@types/global/index.d.ts
vendored
5
@types/global/index.d.ts
vendored
@ -13,6 +13,10 @@ declare global {
|
||||
method: 'get' | 'post'
|
||||
skipByDefault: boolean
|
||||
}
|
||||
interface SearchHistoryItem {
|
||||
keyword: string
|
||||
count: number
|
||||
}
|
||||
interface MonkeyInfo {
|
||||
script: {
|
||||
author: string;
|
||||
@ -292,6 +296,7 @@ declare global {
|
||||
foldComment: boolean,
|
||||
downloadVideoDefaultDanmaku: '无' | 'XML' | 'ASS',
|
||||
aria2RpcOption: RpcOption,
|
||||
searchHistory: SearchHistoryItem[],
|
||||
latestVersionLink: string,
|
||||
currentVersion: string,
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name Bilibili Evolved (Offline)
|
||||
// @version 375.22
|
||||
// @version 375.87
|
||||
// @description Bilibili Evolved 的离线版, 所有功能都已内置于脚本中.
|
||||
// @author Grant Howard, Coulomb-G
|
||||
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||
@ -242,7 +242,7 @@ const settings = {
|
||||
hideHomeLive: false,
|
||||
noMiniVideoAutoplay: false,
|
||||
useDefaultVideoSpeed: false,
|
||||
defaultVideoSpeed: '1',
|
||||
defaultVideoSpeed: '1.0',
|
||||
hideCategory: false,
|
||||
foldComment: true,
|
||||
downloadVideoDefaultDanmaku: '无',
|
||||
@ -254,6 +254,7 @@ const settings = {
|
||||
method: 'get',
|
||||
skipByDefault: false,
|
||||
},
|
||||
searchHistory: [],
|
||||
cache: {},
|
||||
}
|
||||
const fixedSettings = {
|
||||
@ -1921,7 +1922,7 @@ Resource.manifest = {
|
||||
},
|
||||
dropdown: {
|
||||
key: 'defaultVideoSpeed',
|
||||
items: ['0.5', '0.75', '1', '1.25', '1.5', '2.0'],
|
||||
items: ['0.5', '0.75', '1.0', '1.25', '1.5', '2.0'],
|
||||
}
|
||||
},
|
||||
aria2Rpc: {
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
// ==UserScript==
|
||||
// @name Bilibili Evolved (Preview Offline)
|
||||
// @version 375.22
|
||||
// @version 375.87
|
||||
// @description Bilibili Evolved 的预览离线版, 可以抢先体验新功能, 并且所有功能都已内置于脚本中.
|
||||
// @author Grant Howard, Coulomb-G
|
||||
// @copyright 2019, Grant Howard (https://github.com/the1812) & Coulomb-G (https://github.com/Coulomb-G)
|
||||
@ -242,7 +242,7 @@ const settings = {
|
||||
hideHomeLive: false,
|
||||
noMiniVideoAutoplay: false,
|
||||
useDefaultVideoSpeed: false,
|
||||
defaultVideoSpeed: '1',
|
||||
defaultVideoSpeed: '1.0',
|
||||
hideCategory: false,
|
||||
foldComment: true,
|
||||
downloadVideoDefaultDanmaku: '无',
|
||||
@ -254,6 +254,7 @@ const settings = {
|
||||
method: 'get',
|
||||
skipByDefault: false,
|
||||
},
|
||||
searchHistory: [],
|
||||
cache: {},
|
||||
}
|
||||
const fixedSettings = {
|
||||
@ -1921,7 +1922,7 @@ Resource.manifest = {
|
||||
},
|
||||
dropdown: {
|
||||
key: 'defaultVideoSpeed',
|
||||
items: ['0.5', '0.75', '1', '1.25', '1.5', '2.0'],
|
||||
items: ['0.5', '0.75', '1.0', '1.25', '1.5', '2.0'],
|
||||
}
|
||||
},
|
||||
aria2Rpc: {
|
||||
|
||||
@ -241,7 +241,7 @@ const settings = {
|
||||
hideHomeLive: false,
|
||||
noMiniVideoAutoplay: false,
|
||||
useDefaultVideoSpeed: false,
|
||||
defaultVideoSpeed: '1',
|
||||
defaultVideoSpeed: '1.0',
|
||||
hideCategory: false,
|
||||
foldComment: true,
|
||||
downloadVideoDefaultDanmaku: '无',
|
||||
@ -253,6 +253,7 @@ const settings = {
|
||||
method: 'get',
|
||||
skipByDefault: false,
|
||||
},
|
||||
searchHistory: [],
|
||||
cache: {},
|
||||
}
|
||||
const fixedSettings = {
|
||||
@ -1834,7 +1835,7 @@ Resource.manifest = {
|
||||
},
|
||||
dropdown: {
|
||||
key: 'defaultVideoSpeed',
|
||||
items: ['0.5', '0.75', '1', '1.25', '1.5', '2.0'],
|
||||
items: ['0.5', '0.75', '1.0', '1.25', '1.5', '2.0'],
|
||||
}
|
||||
},
|
||||
aria2Rpc: {
|
||||
|
||||
@ -241,7 +241,7 @@ const settings = {
|
||||
hideHomeLive: false,
|
||||
noMiniVideoAutoplay: false,
|
||||
useDefaultVideoSpeed: false,
|
||||
defaultVideoSpeed: '1',
|
||||
defaultVideoSpeed: '1.0',
|
||||
hideCategory: false,
|
||||
foldComment: true,
|
||||
downloadVideoDefaultDanmaku: '无',
|
||||
@ -253,6 +253,7 @@ const settings = {
|
||||
method: 'get',
|
||||
skipByDefault: false,
|
||||
},
|
||||
searchHistory: [],
|
||||
cache: {},
|
||||
}
|
||||
const fixedSettings = {
|
||||
@ -1834,7 +1835,7 @@ Resource.manifest = {
|
||||
},
|
||||
dropdown: {
|
||||
key: 'defaultVideoSpeed',
|
||||
items: ['0.5', '0.75', '1', '1.25', '1.5', '2.0'],
|
||||
items: ['0.5', '0.75', '1.0', '1.25', '1.5', '2.0'],
|
||||
}
|
||||
},
|
||||
aria2Rpc: {
|
||||
|
||||
@ -644,7 +644,7 @@ Resource.manifest = {
|
||||
},
|
||||
dropdown: {
|
||||
key: 'defaultVideoSpeed',
|
||||
items: ['0.5', '0.75', '1', '1.25', '1.5', '2.0'],
|
||||
items: ['0.5', '0.75', '1.0', '1.25', '1.5', '2.0'],
|
||||
}
|
||||
},
|
||||
aria2Rpc: {
|
||||
|
||||
@ -123,7 +123,7 @@ export const settings = {
|
||||
hideHomeLive: false,
|
||||
noMiniVideoAutoplay: false,
|
||||
useDefaultVideoSpeed: false,
|
||||
defaultVideoSpeed: '1',
|
||||
defaultVideoSpeed: '1.0',
|
||||
hideCategory: false,
|
||||
foldComment: true,
|
||||
downloadVideoDefaultDanmaku: '无',
|
||||
@ -135,6 +135,7 @@ export const settings = {
|
||||
method: 'get',
|
||||
skipByDefault: false,
|
||||
},
|
||||
searchHistory: [],
|
||||
cache: {},
|
||||
}
|
||||
const fixedSettings = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user