Skip to content

Instantly share code, notes, and snippets.

@zub0r
Last active May 11, 2025 10:13
Show Gist options
  • Save zub0r/37a38ce40793d6ddcb491ce3d871a5a6 to your computer and use it in GitHub Desktop.
Save zub0r/37a38ce40793d6ddcb491ce3d871a5a6 to your computer and use it in GitHub Desktop.
Automatically open first Google search result that starts with "! "

Open first google search result automatically if you start the search with "! "

You need to create new search engine setting in Chrome - it's simple:

  • open Google Settings > Manage Search Engines
  • create new search engine
  • name it say "Google first result"
  • set keyword to "!"
  • set URL to {google:baseURL}search?q=%s&{google:RLZ}{google:acceptedSuggestion}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:searchClient}{google:sourceId}{google:instantExtendedEnabledParameter}ie={inputEncoding}&btnI
  • save

What it does is adding last extra parameter to default search url to jump directly to first result (I feel lucky mode).

Now when you open a new tab and type "! dog" (mind the space) it jumps to first result automatically.

Enjoy

@command-c
Copy link

Thanks a lot, that's really helpful.

@alberto-ingenito
Copy link

Very helpful!

@loulou64490
Copy link

It say me I'm redirected all the time, how to skip this page??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment