Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-Evolved into preview-fixes

This commit is contained in:
the1812 2022-02-17 13:18:04 +08:00
commit b811173532
2 changed files with 12 additions and 2 deletions

View File

@ -92,6 +92,7 @@
"Violentmonkey",
"Vuex",
"Wasm",
"watchlater",
"woff",
"xmlhttp"
],

View File

@ -3,21 +3,30 @@ import { TestPattern } from '../common-types'
/** 稍后再看页面 */
export const watchlaterUrls = [
'//www.bilibili.com/medialist/play/watchlater/',
'//www.bilibili.com/medialist/play/watchlater',
]
/** 收藏夹连播页面 */
export const favoriteListUrls = [
'//www.bilibili.com/medialist/play/ml',
]
/** UP 主视频连播页面 */
export const upListUrls = [
/\/\/www\.bilibili\.com\/medialist\/play\/\d+/,
]
/** 合集类页面 */
export const mediaListUrls = [
...watchlaterUrls,
...favoriteListUrls,
...upListUrls,
]
/** 拜年纪页面 */
export const bnjUrls = [
/\/\/www\.bilibili\.com\/festival\/(\d+)bnj/,
]
/** 含有普通视频的页面 */
export const videoUrls = [
'//www.bilibili.com/video/',
/\/\/www\.bilibili\.com\/festival\/(\d+)bnj/,
...bnjUrls,
...mediaListUrls,
]
/** 含有番剧的页面 */