Remove debug console.log statements
This commit is contained in:
parent
2e5b23c83f
commit
5db2536eae
|
@ -445,9 +445,7 @@ function redirect(url, type, initiator, forceRedirection, incognito) {
|
||||||
return `${randomInstance}${url.pathname}${url.search}`
|
return `${randomInstance}${url.pathname}${url.search}`
|
||||||
}
|
}
|
||||||
case "mikuInvidious": {
|
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") {
|
||||||
|
@ -500,7 +498,6 @@ function redirect(url, type, initiator, forceRedirection, incognito) {
|
||||||
}
|
}
|
||||||
case "quetre": {
|
case "quetre": {
|
||||||
const regex = /([a-z]+)\.quora\.com/.exec(url.hostname)
|
const regex = /([a-z]+)\.quora\.com/.exec(url.hostname)
|
||||||
console.log(regex)
|
|
||||||
if (regex) {
|
if (regex) {
|
||||||
const lang = regex[1]
|
const lang = regex[1]
|
||||||
url.searchParams.append("lang", lang)
|
url.searchParams.append("lang", lang)
|
||||||
|
|
Loading…
Reference in New Issue