firefox URL autocomplete: how to suppress autocomplete for the first few characters?

1

1

Firefox's "awesomebar" goes into autocomplete mode as soon as you type in 1 character. That seems silly to me, and it hangs for a few seconds when I first start the program up, as it does its thinking + database queries / caching / whatever.

Is there a way I can suppress autocomplete until at least 3 or 4 characters have been typed?

Jason S

Posted 2009-11-04T14:36:15.627

Reputation: 5 983

Answers

3

Besides the 'search.timeout' configuration (in Sean's answer),
a few more suggestions here and here might make your experience better.

You may want to look at,

  • 'browser.urlbar.default.behavior'
  • 'browser.urlbar.matchBehavior'

nik

Posted 2009-11-04T14:36:15.627

Reputation: 50 788

aha, the default behavior is something that looks really promising. thanks! – Jason S – 2009-11-04T14:56:09.083

2

You may also want to "vacuum" the database Firefox uses to store your history - believe it or not, it greatly improves the speed of the awesome bar.

There are two ways to do this - manually, or through an extension.

Manually:

  1. Open the Error Console - Tools->Error Console (on a Windows computer, you can press Ctrl + Shift + J)

  2. In the Code box, paste the following line (it's one line):

    Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");

  3. Press the Evaluate button. Firefox will seem to "hang" as it cleans up the database.

  4. You're done!

Extension: Vacuum Places - after it's installed, just click on the little vacuum in the status bar, and it cleans everything up!

Jared Harley

Posted 2009-11-04T14:36:15.627

Reputation: 11 692

1

I don't see a setting to set the minimum characters required to launch a search, but you can try increasing the searchTimeout setting to, say, 700 (ms) from the default of 100. This will give you a chance to type a few more characters before the thrashing begins.

Sean O

Posted 2009-11-04T14:36:15.627

Reputation: 820

0

I'm not sure how to configure autocomplete in the Firefox 3 AwesomeBar.

However, I find that the oldbar extension works great. It restores the old the Location Bar functionality of Firefox 2 to Firefox 3

eleven81

Posted 2009-11-04T14:36:15.627

Reputation: 12 423