diff --git a/libbrowz.js b/libbrowz.js index 6bbc213..9d00948 100644 --- a/libbrowz.js +++ b/libbrowz.js @@ -6,8 +6,8 @@ function go() { if (url.includes("youtube.com") || url.includes("youtu.be")) { url = url.replaceAll("youtube.com", "yewtu.be") url = url.replaceAll("youtu.be", "yewtu.be") - } else if (url.includes("google.com")) { - url = url.replaceAll("google.com", "startpage.com") + } else if (url.includes("google.com/?q")) { + url = url.replaceAll("google.com/?q", "startpage.com/?q") } document.getElementById("txtUrl").value = "" browserFrame.loadURL(url);