Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrepol742 committed Apr 20, 2024
1 parent 808f5d2 commit a72e543
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,13 @@ function find(query) {
if (WebviumSearchHelper.isValidDomain(aq)) {
window.location.href = escapeHtml(query);
} else {
s222(query);
// window.location.href = WebviumSearchHelper.getSearchEngine() + query;
window.location.href = WebviumSearchHelper.getSearchEngine() + query;
}
} else {
if (WebviumSearchHelper.isValidDomain(aq)) {
window.location.href = escapeHtml("https://" +query);
} else {
s222(query);
// window.location.href = WebviumSearchHelper.getSearchEngine() + query;
window.location.href = WebviumSearchHelper.getSearchEngine() + query;

}
}
Expand All @@ -268,8 +266,7 @@ function find(query) {
if (aq.startsWith("https://") || aq.startsWith("http://")) {
window.location.href = escapeHtml(query);
} else {
s222(query);
//window.location.href = atob("aHR0cHM6Ly9nb29nbGUuY29tL3NlYXJjaD9xPQ==") + query;
window.location.href = atob("aHR0cHM6Ly9nb29nbGUuY29tL3NlYXJjaD9xPQ==") + query;
}
}
}
Expand Down

0 comments on commit a72e543

Please sign in to comment.