mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
chore:
This commit is contained in:
@@ -21,6 +21,8 @@ import { getCookie, i18n, setCookie, SVG_ICONS } from '~/utils'
|
||||
|| /https?:\/\/www.bilibili.com\/?$/.test(currentUrl)
|
||||
|| /https?:\/\/bilibili.com\/\?spm_id_from=.*/.test(currentUrl)
|
||||
|| /https?:\/\/www.bilibili.com\/\?spm_id_from=(.)*/.test(currentUrl)
|
||||
// || /https?:\/\/www.bilibili.com\/video\/.*/.test(currentUrl)
|
||||
// || /https?:\/\/bilibili.com\/video\/.*/.test(currentUrl)
|
||||
) {
|
||||
// if the current homepage is an old version, redirect to the new version
|
||||
// because they had some style errors in the old version
|
||||
|
||||
Reference in New Issue
Block a user