Update libbrowz.js
This commit is contained in:
parent
96f9400a2c
commit
77c618d190
1 changed files with 2 additions and 2 deletions
|
@ -6,8 +6,8 @@ function go() {
|
||||||
if (url.includes("youtube.com") || url.includes("youtu.be")) {
|
if (url.includes("youtube.com") || url.includes("youtu.be")) {
|
||||||
url = url.replaceAll("youtube.com", "yewtu.be")
|
url = url.replaceAll("youtube.com", "yewtu.be")
|
||||||
url = url.replaceAll("youtu.be", "yewtu.be")
|
url = url.replaceAll("youtu.be", "yewtu.be")
|
||||||
} else if (url.includes("google.com")) {
|
} else if (url.includes("google.com/?q")) {
|
||||||
url = url.replaceAll("google.com", "startpage.com")
|
url = url.replaceAll("google.com/?q", "startpage.com/?q")
|
||||||
}
|
}
|
||||||
document.getElementById("txtUrl").value = ""
|
document.getElementById("txtUrl").value = ""
|
||||||
browserFrame.loadURL(url);
|
browserFrame.loadURL(url);
|
||||||
|
|
Loading…
Reference in a new issue