Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In Firefox on Ubuntu, if I middle-click anywhere on a page that's not a link, it seems to treat whatever text is in the clipboard as a URL and tries to load it.

This is annoying, since if I either accidentally click the middle button or (more often) miss a link when trying to middle-click it, I'll either go to whatever URL is in my clipboard or get an alert saying:

The URL is invalid and cannot be loaded

Is there any way of either:

a) Disabling this functionality so that middle-click on a non-link does nothing (maybe an about:config setting?,


b) Making the functionality more intelligent, so that it will only try and open text if it looks like a URL (this seems like a job for a plugin).

share|improve this question
up vote 4 down vote accepted

In about:config - set middlemouse.contentLoadURL to false.

@corey, @therefromhere: done.

share|improve this answer
You should copy the answer here in case the link ever rots for whatever reason (thread expires, forums go down, etc). – Corey May 25 '10 at 17:49
I'll mark this accepted since it provided the right info - if someone edits in my answer into this I'll delete my own. – therefromhere May 26 '10 at 14:21
Note that even if you disable that, you can still get the useful behaviour of opening what is in the clipboard: Just middle-click on the favicon (left of the URL bar); this will still work. – sleske Jun 9 '10 at 10:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.