Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Set Up Search Keywords in Firefox and Chrome

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can set up search keywords in Firefox and Chrome so that typing a short word in the address bar searches a specific site. For example, type "yt" then press Space and enter a query to search YouTube directly. This works in both browsers with a few clicks, and no extra software is needed.

What You'll Need

  • A desktop or laptop computer with Firefox or Chrome installed.
  • The URL of the site you want to search (e.g., https://www.youtube.com).
  • Access to the browser's settings (no admin rights required).

Step-by-Step

In Chrome

  1. Open Chrome and go to the site you want to create a keyword for (e.g., YouTube).
  2. Click the three-dot menu (⋮) in the top-right corner, then select Settings.
  3. In the left sidebar, click Search engine (or scroll to the “Search engine” section).
  4. Click Manage search engines and site search.
  5. Next to “Site search,” click Add.
  6. Fill in the fields:
    • Search engine: Give it a name, e.g., “YouTube”.
    • Keyword: Type a short word like “yt”.
    • URL: Paste the site’s search URL with %s where the query goes. For YouTube, use https://www.youtube.com/results?search_query=%s.
  7. Click Save.
  8. Now type your keyword in the address bar (e.g., “yt”), press Space or Tab, then type your search and press Enter.

In Firefox

  1. Open Firefox and go to the site you want to search (e.g., YouTube).
  2. Right-click on the page’s search box (if there is one) and select Add a Keyword for this Search.
  3. In the dialog that appears:
    • Name: Enter a name like “YouTube”.
    • Keyword: Enter a short word like “yt”.
  4. Click Save.
  5. If the site doesn’t have a search box, you can manually add a bookmark keyword:
    1. Go to the site and click the star icon in the address bar to bookmark it.
    2. Right-click the bookmark in the toolbar or library, choose Properties.
    3. In the Keyword field, type “yt”.
    4. In the Location field, change the URL to the search URL with %s (e.g., https://www.youtube.com/results?search_query=%s).
    5. Click Save.
  6. Now type “yt” in the address bar, press Space, type your query, and press Enter.

Common Mistakes

  • Wrong URL format: Forgetting to replace the query part with %s. The browser replaces %s with your typed search term.
  • Using the site’s homepage URL: That will just open the site, not perform a search. You need the search results URL.
  • Keyword with spaces: Keywords should be a single word (no spaces). Use letters and numbers only.
  • Not pressing Space/Tab: After typing the keyword, you must press Space or Tab to trigger the search mode. Otherwise the browser may treat it as a normal URL.

Tips

  • Choose short, memorable keywords like “yt” for YouTube, “wiki” for Wikipedia, “amz” for Amazon.
  • To find the search URL for a site, do a search on that site and copy the URL from the address bar. Replace the query term with %s.
  • You can edit an existing keyword anytime: in Chrome, go to Settings > Search engine > Manage search engines; in Firefox, right-click the bookmark and select Properties.
  • Use the same keyword in both browsers to keep your muscle memory consistent.

Troubleshooting

If typing the keyword doesn’t trigger a search:

  1. Check the keyword spelling: Make sure you typed it exactly as saved, with no extra spaces.
  2. Press Space or Tab after the keyword: Some versions require you to press Tab or Space to switch to “search” mode. If you press Enter directly, it may try to open a URL.
  3. Verify the URL: In Chrome, go to Settings > Search engine > Manage search engines and click the three dots next to your entry, then Edit. Ensure the URL contains %s in the correct place.
  4. Restart the browser: Occasionally, changes take effect after a restart.
  5. Check for conflicts: If you have an extension that modifies the address bar, it might interfere. Try disabling extensions temporarily.
  6. If the site’s search URL has changed: Some sites update their URL structure. Re-copy the search URL and update the keyword entry.

Frequently Asked Questions

Can I use spaces in a keyword?

No, keywords must be a single word without spaces. Use letters, numbers, and underscores if needed.

Does this work on mobile browsers?

No, this feature is only available on desktop versions of Chrome and Firefox. Mobile browsers do not support custom search keywords in the address bar.

Can I delete a keyword later?

Yes. In Chrome, go to Settings > Search engine > Manage search engines, click the three dots next to the entry, and select Delete. In Firefox, right-click the bookmark and choose Delete.

What if the site doesn’t have a search box? Can I still add a keyword?

Yes, in Firefox you can manually create a bookmark with the keyword. In Chrome, you can still add a site search entry if you know the search URL. If the site has no search function, you cannot create a search keyword for it.

Will this work with any site?

Yes, as long as the site has a search results page that uses a query parameter in the URL. Most major sites do.

Why does my keyword sometimes open the site instead of searching?

This happens if you press Enter immediately after the keyword without pressing Space or Tab. Make sure to press Space or Tab to separate the keyword from your query.