Remove debug console.log statements

This commit is contained in:
syeopite 2023-12-10 02:01:34 -08:00
parent 2e5b23c83f
commit 5db2536eae
No known key found for this signature in database
GPG Key ID: A73C186DA3955A1A
1 changed files with 0 additions and 3 deletions

View File

@ -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)