From 77c618d1900a50b01cb1c7c12671b9e735ca8d27 Mon Sep 17 00:00:00 2001 From: NodeMixaholic Date: Thu, 9 Mar 2023 08:18:28 -0600 Subject: [PATCH] Update libbrowz.js --- libbrowz.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);