Set Up a Firefox Custom Search Engine for Google Web
A Firefox custom search engine can open Google Web from the address bar. Use a short keyword for links-only searches and keep your usual engine for everything else.
The desktop Firefox add-on listing is pending. The steps below work today.
On this page
Add a Firefox custom search engine
In desktop Firefox 140 or later, open Settings → Search. Scroll to Search Shortcuts or Additional search engines, then choose Add. Name the Firefox custom search engine Google Web and paste this URL.
https://www.google.com/search?q=%s&udm=14The %s placeholder is where Firefox puts what you type. Add a keyword like gw and save. Mozilla’s instructions for custom engines
Test the Firefox custom search engine without changing your default
Type gw why do leaves change color in the address bar. The page should match this Web results example. Try the same query without gw to make sure it still uses your normal default.
What to do if Add is missing
Use Google Web without a Firefox custom search engine
Try an update if your browser is older. You can also search on Google and select Web under the search field. Check More if you can’t see it, or bookmark the Web search form for later.
Remove or repair a Firefox custom search engine
Go back to the Search panel and select the custom entry to see its settings or remove it. If Google searched for the literal text %s, put the template inside the Firefox custom search engine settings and start the query with your shortcut.
Name a Firefox custom search engine for Google Web
Choose a label you can recognize beside your normal Google option, such as Google Web. Give the Firefox custom search engine its own keyword. If gw belongs to another search or bookmark, use a free shortcut you can remember. Leave Firefox’s default engine set to your usual choice so a search typed without the keyword keeps working as before.
Check the Firefox custom search engine’s placeholder with two queries
Use a query about leaves first and another about a local library second. Each time, look for the custom engine’s label as Firefox recognizes the shortcut. On Google, confirm that the two runs show different search words and both request Web. If both run the same query, edit the Firefox custom search engine and replace the fixed words in its URL with %s.
Use the Firefox custom search engine only when you want links
For other searches, leave out the keyword or select your normal engine. This is useful when a map or image card matters. The Firefox custom search engine affects the search you launch with it. A new query you type directly on Google will use the controls for that page.
Check a Firefox custom search engine on a second profile
Open Settings → Search in that profile and see whether the engine is listed before relying on its keyword. Add it there if it’s missing, then repeat the two-query check.