since i added adblock/trackblock support this isnt really needed

This commit is contained in:
The Ghost of FOSS' Past 2024-11-25 14:18:15 -06:00
parent 7198b136a6
commit 42de741e08

View file

@ -55,8 +55,6 @@ function go() {
url = searchPattern.replaceAll("!!!QUERY!!!", query)
} else if (url.includes("https://news.google.com")) {
url = url.replaceAll("https://news.google.com", "http://68k.news")
} else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("drive") && !url.includes("docs") && !url.includes("sheets") && !url.includes("slides") && !url.includes("mail") && !url.includes("webstore")) {
url = url.replaceAll("google.com", "search.sparksammy.com")
}
document.getElementById("txtUrl").value = ""
browserFrame.loadURL(url,