since i added adblock/trackblock support this isnt really needed
This commit is contained in:
parent
7198b136a6
commit
42de741e08
1 changed files with 0 additions and 2 deletions
|
@ -55,8 +55,6 @@ function go() {
|
||||||
url = searchPattern.replaceAll("!!!QUERY!!!", query)
|
url = searchPattern.replaceAll("!!!QUERY!!!", query)
|
||||||
} else if (url.includes("https://news.google.com")) {
|
} else if (url.includes("https://news.google.com")) {
|
||||||
url = url.replaceAll("https://news.google.com", "http://68k.news")
|
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 = ""
|
document.getElementById("txtUrl").value = ""
|
||||||
browserFrame.loadURL(url,
|
browserFrame.loadURL(url,
|
||||||
|
|
Loading…
Reference in a new issue