Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I'm on my home page (www.google.com, for example), I would like all links to open in a new tab even if it explicitly orders the link to open in a new window. On the other hand, I would like all links on Hulu to open in a new window.

Is there a method in Firefox that allows you to control how links open based on the domain/site you are in?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

I use Firefox with Tab Mix Plus to do this so sort of do what you want.

While it doesn't allow specific behaviors based on the site you are on, I get the same effect by configuring what the mouse buttons do.

I have it set up like this:

  • LeftClick - Load the page like normal but, if the page tries to open in another window, it forces the page to open in another tab instead.
  • MiddleClick - Open the page in a new tab.
  • SHIFT-LeftClick - Open the page in another window.

You can set it up any way you want.

share|improve this answer

What i do is change the option Browser.link.open_newwindow to 1 in about:config. Then left click if I want to open it in the same tab, middle click in a new tab and shift+click in a new window.

share|improve this answer

Your Answer

 
discard

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.