modified: libbrowz.js

This commit is contained in:
Sam Sneed 2024-08-12 16:49:46 -05:00
parent cbc14de39d
commit 842f9bf8c5

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", "https://piped.video")
url = url.replaceAll("youtu.be", "https://piped.video")
url = url.replaceAll("youtube.com", "piped.video")
url = url.replaceAll("youtu.be", "piped.video")
} else if (url.includes("google.com/?q")) {
url = url.replaceAll("google.com/?q", "startpage.com/?q")
} else if (url.includes("https://news.google.com")) {