fix: exclude the unsupported page (#206)

This commit is contained in:
Hakadao
2024-01-23 01:42:48 +08:00
committed by starknt
parent 5c83b934d1
commit 05b02365fe

View File

@@ -56,7 +56,7 @@ function isSupportedPages() {
// notifications page
|| /https?:\/\/message.bilibili.com\.*/.test(currentUrl)
// bilibili channel page b站分区页面
|| /https?:\/\/www.bilibili.com\/v\/.*/.test(currentUrl)
|| /https?:\/\/www.bilibili.com\/v\/(?!popular).*/.test(currentUrl)
// anime page & chinese anime page
|| /https?:\/\/www.bilibili.com\/(anime|guochuang).*/.test(currentUrl)
// channel page e.g. tv shows, movie, variety shows, mooc page