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.

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

3 Answers 3

up vote 3 down vote accepted

This Greasemonkey (GreaseKit is the port Safari) script will accomplish "all links in same window/tab" functionality: http://naruzo.vox.com/library/post/greasekit-script-to-open-all-links-in--same--tab-killtargets.html

share|improve this answer
    
I actually ended up writing a similar script: userscripts.org/scripts/show/72994 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
1  
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: http://forums.macrumors.com/archive/index.php/t-614308.html

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

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.