How I enter URLs in my browser

September 21, 2012

Aristotle Pagaltzis wrote in a comment on my alternative to bookmarks:

But that means when you open a new window, the address bar is a) already filled and b) not focused, right? I could not abide that...

One of my browser peculiarities is that in my primary browser I never type URLs in the address bar or otherwise modify the URL there; it's strictly read-only. I think that this goes back to when Firefox (or perhaps at the time it was Mozilla) acquired its first and terribly bad version of address bar autocompletion support, but the habit may even have predated that. Firefox has been doing things with hand-entered URLs that irritate me for a very long time.

My substitute has been a series of graphical widgets that I call up, enter a URL, and they bring up browser window for that URL (usually through Firefox remote control). The first version was a little TK program that I started from a window manager menu entry. The current version is part of my dmenu setup and is extremely fast to use; I hit F5, type the URL, hit return, and I'm done.

What this lacks is autocompletion, but another of my peculiarities is that I historically haven't liked the URL autocompletion that browsers do. Partly this is because many of the URLs that I enter by hand are URLs that I'm using for the first time and may never use again; throwing them in autocompletion results is just annoying clutter.

(Similarly bad things happen from mining my browser history for URL autocompletion, especially since I have a very, very big browser history. If I remember right, that was one of the problems with early versions of Firefox address bar autocompletion.)

Another answer is that if I ever want to use the address bar, it's only a keystroke away. Ctrl-L focuses the address bar and selects all of its current text, so you can do Ctrl-L and start typing to get the same effect as a focused and empty address bar. Ctrl-L is also a good way to get the current URL from the address bar in order to paste it into something else, such as an email message.

(Not that I usually remember this when I need to copy the URL out.)


Comments on this page:

From 192.171.3.126 at 2012-09-21 03:41:35:

I rarely use the URL bar for typing URLs. Far more often it is for keyword searches: so e.g. w searches wikipedia, osm for openstreetmap etc. The most irritating thing is the default of doing a google search but I disable that by setting keyword.enabled to false in about:config. Also annoying is that firefox immediately replaces what you typed with a URL making it hard to go back and edit it.

A URL often comes via cut and paste and firefox lets you go to these with a simple middle-click in a blank area of a page.

For the autocompletion, you might get better results by restricting what it completes: ~ is URLS you've previously typed, ^ is history, @ is URLS, # titles, + tags, * bookmarks.

From 76.113.49.212 at 2012-09-21 11:50:43:

You're still not as crazy as the guy I knew who used Ion.

From 142.150.215.2 at 2012-09-21 12:55:42:

Thanks to your post, I just learned a shortcut I've been longing for for a long time: Command+L on the Mac moves focus to the URL bar. Thanks! @profpolymath

From 85.0.112.218 at 2012-09-21 14:54:33:

I use Ctrl-L all the time. Having to tap it after opening a new tab or window is a speed bump I can’t stand – I’ve tried. (For half a month or so a few years ago I had my homepage set to a data: URI. It was a constant cause of friction, I never got used to it.)

Aristotle Pagaltzis

Written on 21 September 2012.
« My alternative to bookmarks: a page of links as the browser start page
Speculation about what comment spammers think they're doing here »

Page tools: View Source, View Normal, Add Comment.
Search:
Login: Password:
Atom Syndication: Recent Comments.

Last modified: Fri Sep 21 00:16:08 2012
This dinky wiki is brought to you by the Insane Hackers Guild, Python sub-branch.