Bilibili-Evolved/src/video/seo-jump.ts
2020-07-15 20:43:37 +08:00

4 lines
127 B
TypeScript

if (document.URL.startsWith('https://www.bilibili.com/s/video/')) {
window.location.assign(document.URL.replace('/s', ''))
}