mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Remove comma (fix #4237)
This commit is contained in:
parent
481be12427
commit
fba10a80c0
@ -94,7 +94,7 @@ const entry = async () => {
|
||||
const getCleanUrl = (originalUrl: string) => {
|
||||
const url = new URL(originalUrl, location.origin)
|
||||
const urlParams = [...new URLSearchParams(url.search).entries()].map(
|
||||
([key, value]) => `${key}=${value},`,
|
||||
([key, value]) => `${key}=${value}`,
|
||||
)
|
||||
if (urlParams.some(param => noClean.some(it => param.includes(it)))) {
|
||||
return originalUrl
|
||||
|
||||
Loading…
Reference in New Issue
Block a user