fix google news.
This commit is contained in:
parent
c57bcb26f9
commit
b664e3f3f1
1 changed files with 2 additions and 2 deletions
|
@ -8,12 +8,12 @@ function go() {
|
|||
url = url.replaceAll("youtu.be", "yewtu.be")
|
||||
} else if (url.includes("google.com/?q")) {
|
||||
url = url.replaceAll("google.com/?q", "startpage.com/?q")
|
||||
} else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("mail")) {
|
||||
url = url.replaceAll("google.com", "startpage.com")
|
||||
} else if (url.includes("https://news.google.com")) {
|
||||
url = url.replaceAll("https://news.google.com", "http://68k.news")
|
||||
} else if (url.includes("news.google.com")) {
|
||||
url = url.replaceAll("news.google.com", "68k.news")
|
||||
} else if (url.includes("google.com") && !url.includes("maps") && !url.includes("news") && !url.includes("webstore") && !url.includes("mail")) {
|
||||
url = url.replaceAll("google.com", "startpage.com")
|
||||
}
|
||||
document.getElementById("txtUrl").value = ""
|
||||
browserFrame.loadURL(url);
|
||||
|
|
Loading…
Reference in a new issue