Confirmed users, Bureaucrats and Sysops emeriti
722
edits
GavinSharp (talk | contribs) No edit summary |
|||
Line 26: | Line 26: | ||
* If it looks like a search according to [http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDefaultURIFixup.cpp#804 this algorithm], insert it into the <tt>keyword.URL</tt> preference value to produce a search URL, since the <code>keyword.enabled</code> preference defaults to true in Firefox. | * If it looks like a search according to [http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDefaultURIFixup.cpp#804 this algorithm], insert it into the <tt>keyword.URL</tt> preference value to produce a search URL, since the <code>keyword.enabled</code> preference defaults to true in Firefox. | ||
** Note: "insert it into the <tt>keyword.URL</tt> preference" now means "perform a search using the default search engine", when keyword.URL's value is empty (the default in Firefox) | |||
* The algorithm says it's a search if it contains a space or a quote before the first dot, colon or question mark, or if it starts with a question mark. | * The algorithm says it's a search if it contains a space or a quote before the first dot, colon or question mark, or if it starts with a question mark. | ||