Closed Bug 215071 Opened 22 years ago Closed 22 years ago

Typing "google" and in the search box results in autocompletiong search for %s in google.

Categories

(Firefox :: Address Bar, defect)

x86
All
defect
Not set
minor

Tracking

()

VERIFIED INVALID

People

(Reporter: sjs-netass, Assigned: hewitt)

Details

User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1 Build Identifier: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.5a) Gecko/20030728 Mozilla Firebird/0.6.1 In the location bar, typing the word "google" by iteself results in a google search for "%s". Reproducible: Always Steps to Reproduce: 1. press ctrl-l 2. type "google" (no quotes) 3. Press return Actual Results: Google search for term "%s" Expected Results: autocompleted to www.google.com web page.
Well I'll be... with a new profile this does indeed happen. I can't seem to get it to happen in my main profile, but in my testing profile it does. Autocomplete seems to pick the top entry if you don't choose one, and for some reason the %s search has got itself to the top. The problem I think is that the word "google" is a keyword, and it is expected that it will be followed by a search term (google mozilla, for example). %s is probably the code for the search term, but if you don't enter one it defaults to that instead. My advice is to just use the search box itself (Ctrl+k) or always enter a search term if you're only going to type "google". Or hit Ctrl+Enter and it will auto add www. and .com. Confirming with a CVS Linux build 20030805
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 95 → All
Additional Research: This bug is true for every bookmark with a keyword and a substitution string (%s) in the URL (such as "dict" in the default profile). Should the code be that if a bookmark has a keyword and if a %s is in the bookmarked URL and there is no second term typed in the location bar, then treat the typed term as a URL that requires substitution? I agree there are many work-arounds -- This is more of a minor cosmetic problem.
Guys, there IS a quicksearch in the default bookmarks. There is already a bug to prompt for a search term if none is given. But this is INVALID since its working as expected for a bookmark keyword. (Look under Quick Searches for Google Quicksearch if you want to get rid of this behaviour).
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Well then this bug should probably have been marked as a dupe of that one then, since it is essentially the same thing. That bug, btw, is bug 196626. Verified, since I'm really not in the mood to bugspam a whole pile more people than necessary.
Status: RESOLVED → VERIFIED
Even if this is by design, it should be changed. Users who know about the automatic I'm-Feeling-Luckying but not about the Google quicksearch can get confused (I've seen it happen). I propose changing the default keyword for Google quicksearch; Google suggests "gg".
You need to log in before you can comment on or make changes to this bug.