ghacks Technology News

Change Single- and Middle-Click behavior in the Firefox location bar


A left-click in the location bar of Firefox 3 will select the complete URL instead of just moving the cursor to that position. This makes it complicated to select only part of the url. If you do not like that feature and prefer the old behavior I have a nice alternative for you.

A left-click puts the cursor at that position without selecting the full URL while a double-click would select the full URL instead. This can be achieved by changing two parameters in the Firefox configuration.

Type about:config in the location bar and filter for the parameter browser.urlbar.clickSelectsAll which defines the behavior of a left-click in the location bar. The value is set to true by default which means that everything is selected when left-clicking in the location bar. A double-click changes that value to false so that a left-click no longer selects the full URL.

The second parameter changes the behavior of the middle-click. The parameter browser.urlbar.doubleClickSelectsAll is set to false by default which means that a middle-click will not select all of the URL in the location bar. A double-click changes the value to true so that the full URL is selected from now on when middle-clicking on a position in the location bar.




Tags: , , , ,
Categories: Browsing, firefox



Related posts:

Change the number of results in the Firefox 3 location bar
Change Address Bar Search Behavior In Firefox
Change Firefox 3 Full Screen Mode
Change the Firefox Location Bar Search Engine
Firefox 3.1 Improvements

7 Responses to “Change Single- and Middle-Click behavior in the Firefox location bar”

  1. Mutant says:

    This is thing works dude!!
    I was longing for it.

  2. Mutant says:

    Sorry for a Typo.Please dont read ‘is’ in the first line.

  3. Deuce says:

    I, for one, like the single-click highlights all feature. The problem is, no matter what I do in about:config, it has no berring. The URL bar always points the cursor rather than highlighting the whole URL. This happens only with firefox 3.

    Am I the only one that cannot control this behavior?

  4. Martin says:

    When I left-click the location bar in Firefox 3 the full url is selected.

  5. Deuce says:

    For some strange reason, it appears to be working the default way for the first time. Note, I turn off the computer every night. I have been experiencing the problem for a week, since updating to FF3. I changed the browser.urlbar.clickSelectsAll to false. Used FF3 for awhile, then set it back to true. This had no effect. The next day, however, it seems to be working in the default state! Don’t know what I did, but it seems ok for now.

    Thanks

  6. boomshot says:

    Nice!
    I have so bugged about this “feature”. Thanks for posting a fix.

  7. boomshot says:

    one more thing though…..how to do the same for the google search field?

Leave a Reply   Subscribe To Comment Rss

© 2005-2009 Ghacks.net. All Rights Reserved. Privacy Policy - About Us