This commit is contained in:
ManeraKai 2023-04-14 19:13:30 +03:00
parent 3f323c1825
commit 1a0fbed9f0

View File

@ -414,7 +414,6 @@ function redirect(url, type, initiator, forceRedirection) {
if (query) return `${randomInstance}/${mapCentre}/Mpnk/${query}` if (query) return `${randomInstance}/${mapCentre}/Mpnk/${query}`
} }
} }
case "breezeWiki": { case "breezeWiki": {
let wiki, urlpath = "" let wiki, urlpath = ""
if (url.hostname.match(/^[a-zA-Z0-9-]+\.(?:fandom|wikia)\.com/)) { if (url.hostname.match(/^[a-zA-Z0-9-]+\.(?:fandom|wikia)\.com/)) {
@ -539,8 +538,10 @@ function redirect(url, type, initiator, forceRedirection) {
} }
return `${randomInstance}${url.pathname}${url.search}` return `${randomInstance}${url.pathname}${url.search}`
} }
case "mikuIndividious": { case "mikuInvidious": {
console.log("Hello?")
if (url.hostname == "bilibili.com" || url.hostname == "www.bilibili.com" || url.hostname == 'b23.tv') { if (url.hostname == "bilibili.com" || url.hostname == "www.bilibili.com" || url.hostname == 'b23.tv') {
console.log('wewe')
return `${randomInstance}${url.pathname}${url.search}` return `${randomInstance}${url.pathname}${url.search}`
} }
if (url.hostname == "space.bilibili.com") { if (url.hostname == "space.bilibili.com") {