feat: adapt documentary page && adjust styles

This commit is contained in:
Hakadao
2024-01-14 23:31:08 +08:00
parent b5eff63b6f
commit e11cc164d5
4 changed files with 28 additions and 2 deletions

View File

@@ -57,8 +57,11 @@ function isSupportedPages() {
|| /https?:\/\/www.bilibili.com\/v\/.*/.test(currentUrl)
// anime page & chinese anime page
|| /https?:\/\/www.bilibili.com\/(anime|guochuang).*/.test(currentUrl)
// tv shows, movie, variety shows, mooc, article page
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety|mooc|read).*/.test(currentUrl))
// channel page e.g. tv shows, movie, variety shows, mooc page
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety|mooc|documentary).*/.test(currentUrl)
// article page
|| /https?:\/\/(www.)?bilibili.com\/(read).*/.test(currentUrl)
)
return true
else
return false