為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I use domain guessing for single word but search for multiple?

more options

I would like to configure the search bar to make smart decisions about weather it should fill in an address or search for results. At the very least I would like it to be able to search when multiple words are entered but fill in the address when it's only one word (eg: typing "zelda" would take me to www.zelda.com but "the legend of zelda" would use search)

I would like to configure the search bar to make smart decisions about weather it should fill in an address or search for results. At the very least I would like it to be able to search when multiple words are entered but fill in the address when it's only one word (eg: typing "zelda" would take me to www.zelda.com but "the legend of zelda" would use search)

由 Link546511 於 修改

所有回覆 (1)

more options

The answer that you are probably looking for is what Google calls the I'm Feeling Lucky Search. Not quite what you describe but if there is one result that stands out as the most common result, you will get taken directly to the page. (Wouldn't work for me, I seldom find what I looking for in the first five hits.)

This will involve a change to your about:config configuration variables.

keyword.URL default string

http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=

The &gfns=1 is what gets you the I'm Feeling lucky search.

References:


Personally I prevent all (external) searching from the location bar to prevent errors from being redirected to a substitute page (along with additional filtering via the Adblock Plus extension).

For zelda, I would type in the word and then use Ctrl+Enter so that it becomes www.zelda.com (with "Ctrl+Shift+Enter" gets .org, and with "Shift+Enter" gets .net).

For more information on keyboard shortcuts and the fact that those two shortcuts above can be switched see

The AwesomeBar search is what you get in the location bar drop-down when you enter strings of characters that exist in the Title and/or url address of a previously visited site or one that you have in your bookmarks. You see those choices before you press "Enter".

Once you press "Enter" by default you would do a search with your currently selected (default) search engine, as if you had entered the search into the search bar.

I don't like the last method and would use a keyword shortcut to use a customized search or to go directly to a web page. But without knowledge of what is available using the Location bar to run an external search works okay for most people.


The "weather" threw me because for weather you really do want a keyword shortcut, the word you meant was whether.

More information on keyword shortcuts.

由 David McRitchie 於 修改