"patches, and patches for the patches"

This commit is contained in:
The Ghost of FOSS' Past 2024-11-21 15:12:04 -06:00
parent dc9f6a45a6
commit 37e109f739

View file

@ -58,7 +58,7 @@ 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/search")) {
} 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 = ""