brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: add a site search keyword in Chrome to search any site from the address bar

Chrome
~/tips/tip-chrome-site-search-keyword

Settings > Search engine > Manage search engines and site search > Site search > Add

Type a short word and your query to search a favourite site directly.

I do not like loading a site’s front page just to find its search box. Chrome can send your words straight to that site’s results from the address bar.

Open this path:

Settings > Search engine > Manage search engines and site search > Site search > Add

Fill in three fields. The name is whatever you like, the shortcut is the word you will type, and the URL is the site’s results page with %s where your words should go. The easy way to get it: search once on the site, copy the address of the results, and replace your search term with %s.

For English Wikipedia I would use the shortcut wiki and this URL:

https://en.wikipedia.org/w/index.php?search=%s

Now type wiki in the address bar, press Space or Tab, type your query and hit Enter.

It works for anything with a normal results URL, such as a ticket system, a package index or your own wiki. Sites that search only with a script and never change the address give you nothing to copy, so those will not work. Pick short words that you would not type by accident as the start of a normal search.

Further reading: Google Chrome Help: set your default search engine and site search

More Chrome tips chrome://net-export/ google-chrome --user-data-dir=/tmp/chrome-clean --no-first-run Windows and Linux: Ctrl+Shift+A chrome://net-internals/#hsts chrome://version All Chrome tips (12) All topics

Link