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

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
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.
 
Status
Not open for further replies.
Back
Top Bottom