mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat: adapt articles page (WIP)
This commit is contained in:
@@ -57,8 +57,8 @@ 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 page
|
||||
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety|mooc).*/.test(currentUrl))
|
||||
// tv shows, movie, variety shows, mooc, article page
|
||||
|| /https?:\/\/(www.)?bilibili.com\/(tv|movie|variety|mooc|read).*/.test(currentUrl))
|
||||
return true
|
||||
else
|
||||
return false
|
||||
|
||||
@@ -48,8 +48,10 @@ const isTopBarFixed = computed(() => {
|
||||
|| /https?:\/\/(www.)?bilibili.com\/bangumi\/play\/.*/.test(location.href)
|
||||
// moment page
|
||||
|| /https?:\/\/t.bilibili.com.*/.test(location.href)
|
||||
// channel, anime, chinese anime, tv shows, movie, variety shows, mooc page
|
||||
// channel, anime, chinese anime, tv shows, movie, variety shows, mooc
|
||||
|| /https?:\/\/(www.)?bilibili.com\/(v|anime|guochuang|tv|movie|variety|mooc).*/.test(location.href)
|
||||
// articles page
|
||||
|| /https?:\/\/(www.)?bilibili.com\/read\/home.*/.test(location.href)
|
||||
)
|
||||
return true
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user