Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ronakmunjapara committed May 27, 2023
1 parent 9f13413 commit d04adcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ searchForm.addEventListener('submit', function (event) {
searchQuery = `intext:"${searchTerm}" ${fileTypes} ${excludeURLs} intitle:"index.of./"`;
const searchURL = `https://www.google.com/search?q=${searchQuery}`;
if (searchTerm.length > 0) {
window.location.href = searchURL;
window.open(searchURL, "_blank");
}
});
});

0 comments on commit d04adcd

Please sign in to comment.