spongebob fun pack

This commit is contained in:
Sam Sneed 2024-08-12 18:44:24 -05:00
parent 3b07296b75
commit f36b1ae72a

View file

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