mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat: support dark mode for other channel pages
support dark mode for tv shows, movie, variety shows pages
This commit is contained in:
@@ -132,6 +132,8 @@ function injectApp() {
|
||||
|| /https?:\/\/www.bilibili.com\/v\/.*/.test(currentUrl)
|
||||
// anime page
|
||||
|| /https?:\/\/www.bilibili.com\/anime.*/.test(currentUrl)
|
||||
// tv shows, movie, variety shows page
|
||||
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety).*/.test(location.href)
|
||||
) {
|
||||
if (
|
||||
/https?:\/\/bilibili.com\/?$/.test(currentUrl)
|
||||
|
||||
@@ -67,6 +67,8 @@ const isTopbarFixed = computed(() => {
|
||||
|| /https?:\/\/(www.)?bilibili.com\/anime(\/)?.*/.test(location.href)
|
||||
// moment page
|
||||
|| /https?:\/\/t.bilibili.com.*/.test(location.href)
|
||||
// tv shows, movie, variety shows page
|
||||
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety).*/.test(location.href)
|
||||
)
|
||||
return true
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user