feat: support dark mode for login page

This commit is contained in:
Hakadao
2024-07-21 17:41:00 +08:00
parent 5b7c8a675f
commit 03be14e8c0
4 changed files with 94 additions and 2 deletions

View File

@@ -69,8 +69,10 @@ function isSupportedPages() {
|| /^https?:\/\/(?:www\.)?bilibili\.com\/404.*$/.test(currentUrl)
// creative center page 創作中心頁
|| /^https?:\/\/member\.bilibili\.com\/platform.*$/.test(currentUrl)
// account settings page 帳號中心
// account settings page 帳號設定
|| /^https?:\/\/account\.bilibili\.com\/.*$/.test(currentUrl)
// login page
|| /^https?:\/\/passport\.bilibili\.com\/login.*$/.test(currentUrl)
) {
return true
}