Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have seen (and am using) the "hack" to make Safari open links in a new tab that would normally open in a new window, but now what I am looking for is a way to make links that should open in a new window open in the same window and tab, and only open a new one when I tell it to.

share|improve this question
up vote 3 down vote accepted

This Greasemonkey (GreaseKit is the port Safari) script will accomplish "all links in same window/tab" functionality:

share|improve this answer
I actually ended up writing a similar script: Thanks though – Jeffrey Aylesworth Aug 10 '10 at 2:30

Check the Safari preferences. There are two settings. First is in General panel that controls links from other apps. The second is in the Tabs panel. You can set which key modifier is used to open a link in a new tab vs. a new window. Command + click is the default to open a link in a new tab.

share|improve this answer
I am not looking for how to open links in a new tab. I am looking for how to make the default behaviour for all links to be open in the same window/tab, like how most links act, however when a link is set to open in a new window/tab (<a target="some_target">) to open in the same tab, as though that had not been set. – Jeffrey Aylesworth Oct 18 '09 at 19:58

Doesn't seem like it's possible. Found another one who wanted this:

I guess the only thing left to do is write hatemail to Jobs. :)

share|improve this answer
Oh, that's too bad – Jeffrey Aylesworth Nov 5 '09 at 12:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .