Add small adjustments to Google PRT
This commit is contained in:
parent
c6afbb7d6f
commit
e9c68dcf9f
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ function go() {
|
||||||
url = url.replaceAll("google.com/?q", "startpage.com/?q")
|
url = url.replaceAll("google.com/?q", "startpage.com/?q")
|
||||||
} 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("mail")) {
|
} 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 = url.replaceAll("google.com", "startpage.com")
|
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