Skip to content

Commit

Permalink
🚸 added '.dev' domains to be redirected to rather than searched
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimche committed Oct 14, 2024
1 parent 257e258 commit e821aee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta/scripts/startpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,12 @@ function performSearch() {
query.trim().includes('.org') ||
query.trim().includes('.com') ||
query.trim().includes('.net') ||
query.trim().includes('.dev') ||
query.trim().includes('.gov') ||
query.trim().includes('.edu') ||
query.trim().includes('.co') ||
query.trim().includes('.io')

) {
window.location.href = 'https://' + encodeURI(query.trim());
} else if (
Expand Down

0 comments on commit e821aee

Please sign in to comment.