feat: adopt the anime video page styles

This commit is contained in:
Hakadao
2023-09-24 01:12:44 +08:00
parent c095ef7807
commit 2d56a757ec
4 changed files with 88 additions and 0 deletions

View File

@@ -91,6 +91,8 @@ function injectApp() {
// video page
|| /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(currentUrl)
// anime video page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/ss.*/.test(currentUrl)
// watch later playlist
|| /https?:\/\/(www.)?bilibili.com\/list\/watchlater.*/.test(currentUrl)
// favorite playlist

View File

@@ -83,6 +83,8 @@ const isTopbarFixed = computed(() => {
// || /https?:\/\/search.bilibili.com\/.*$/.test(location.href)
// video page
|| /https?:\/\/(www.)?bilibili.com\/video\/.*/.test(location.href)
// anime video page
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/ss.*/.test(location.href)
// moment page
|| /https?:\/\/t.bilibili.com.*/.test(location.href)
)