How to search your favorite site directly from Chrome's address bar in two keystrokes

Has been a thing for a while to just add the search term to Chrome or Edge in its custom search engine box. TomsHardware's, for example, would be:

https://www.tomshardware.com/search?searchTerm=%s

Comes with the added benefit of syncing across devices, not requiring any extension, and already excludes subs like forums.tomshardware.com since it has its own search function not included in the main TomsHardware search, so no need to add additional exclusions. The TH forum's address would be

https://forums.tomshardware.com/search/6764509/?q=%s


Personally I think your extension is more complicated and less efficient to use than the in-built system, especially if you have to manually exclude subs, like forums, from every site.

At least I assume TH's EIC coded the extension himself and didn't ask Copilot or Bard to write it.
 
Last edited:
Or...one could use AutoHotKey to create a script to assign a shortcut (such as TH for -site:forums.tomshardware.com), and let the script load at Startup.

Then, one would just type (for example) "best cpu" and then TH and hit the space bar. Done.

I haven't typed my address (among many other long sentences) in years, I just enter addr instead.
 
At least I assume TH's EIC coded the extension himself and didn't ask Copilot or Bard to write it.
Yes. I wrote this, without any help from an AI. I have been writing extensions, web pages, etc for a long, long time. I made this one for my coworkers a long time ago, but then I realized that I could revise it slightly and set it to public in case anyone else might want it. I found that most people I work with prefer the simplicity of the extension to changing the advanced search settings, but to each their own, which is why I explained how to do it manually or via extension.