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, as you need to click multiple times to get the cursor where you want it to appear. 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.
Update: The two preferences are still valid in more recent versions of the web browser. You can restore the values easily by following the instructions above. Just double-click again on each value to change the value back to the default. You can alternatively right-click the parameter and select the reset option from the context menu. This should return to the browser's default functionality, where a left-click selects all of the url, and a double-click the position the cursor is currently hovering over.Advertisement