let's try this again

This commit is contained in:
Sam Sneed 2024-08-12 18:04:40 -05:00
parent 3a10c82fb3
commit 8a2bf6c631

View file

@ -26,8 +26,8 @@ function go() {
let browser = tabGroup.getActiveTab()
let url = normalizeUrl(document.getElementById("txtUrl").value)
if (url.includes("youtube.com") || url.includes("youtu.be")) {
url = url.replaceAll("youtube.com", "piped.video")
url = url.replaceAll("youtu.be", "piped.video")
url = url.replaceAll("youtube.com", "invidious.perennialte.ch")
url = url.replaceAll("youtu.be", "invidious.perennialte.ch")
} else if (url.includes("google.com/?q")) {
url = url.replaceAll("google.com/?q", "startpage.com/?q")
} else if (url.includes("https://news.google.com")) {