Opening links in new tabs instead of a new window

Talk about the native Mac OS X browser.

Moderator: Camino Developers

User avatar
jhirshon
Posts: 762
Joined: June 11th, 2003, 3:24 pm

Post by jhirshon »

krmathis - takk! :)

Let's hope it's sooner rather than later...

cheers, JH
User avatar
krmathis
Posts: 4699
Joined: May 24th, 2004, 9:40 pm
Location: Oslo, Norway
Contact:

Post by krmathis »

jhirshon, and others. The SWM bug have just been fixed! :)
274143 - Fix "single-window mode" prefs

jhirshon. Guess thats soon enough? he he
User avatar
jhirshon
Posts: 762
Joined: June 11th, 2003, 3:24 pm

Post by jhirshon »

Wow - ask and ye shall receive!!! :)

takk, med vennlig hilsen - JH
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Post by phiw13 »

krmathis wrote:jhirshon, and others. The SWM bug have just been fixed! :)
274143 - Fix "single-window mode" prefs

jhirshon. Guess thats soon enough? he he


And it works nicely on my homemade trunk build :-)

Thanks Pink !
User avatar
jcraig
Posts: 1958
Joined: December 6th, 2002, 6:38 pm
Location: Plainfield, IL USA
Contact:

Post by jcraig »

Happy happy joy joy!
There is no dark side of the moon, really. As a matter of fact, it's all dark.
acollins
Posts: 29
Joined: May 7th, 2005, 6:09 pm

Post by acollins »

This may be a very basic question, but is there a setting that will force all links to open in new tabs? Even ones that would normally just reuse the same window/tab?
User avatar
cflawson
Posts: 4721
Joined: December 26th, 2004, 2:54 pm
Location: Flying over your house in a red, white, and blue jet
Contact:

Post by cflawson »

No. That's what multi-button programmable mice are for (or your middle mouse button on a non-programmable multi-button mouse).

cl
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Post by phiw13 »

One possible problem I just noticed on my desktop Mac with the 1.8.1 nightly:
with the pref set as

Code: Select all

user_pref("browser.link.open_newwindow", 3);

(the default, when you the check the checkbox in Preferences > tabs).
'new window links' are opened in a new tab, as expected. But the tab opens in the foreground, not the background (my pref is set as such).
I hadn't noticed it yet previously, on my Powerbook I had the pref already set:

Code: Select all

user_pref("browser.link.open_newwindow", 1);

which opens the link in the _same_ tab.

me ? or a bug/weakness ?
User avatar
Uncle Asad
Camino Developer
Posts: 3957
Joined: July 24th, 2004, 1:38 pm
Location: بين العالمين
Contact:

Post by Uncle Asad »

phiw13 wrote:One possible problem I just noticed on my desktop Mac with the 1.8.1 nightly:
'new window links' are opened in a new tab, as expected. But the tab opens in the foreground, not the background (my pref is set as such).

That may be the default behavior of that setting...does Firefox respect the background pref? If so, file a bug ;)
Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQSearch the Forum  Camino. HelpTroubleshoot Camino
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Post by phiw13 »

Uncle Asad wrote:That may be the default behavior of that setting...does Firefox respect the background pref? If so, file a bug ;)

Hmm right, probably the default behavior for that feature; Firefox (Minefield) does the same indeed. Feature Weakness then.
For ages, I've had that setting going to the same tab on my side.

Something else, and the discussion in the bug is not clear as to the intentions

Code: Select all

user_pref("browser.link.open_newwindow.restriction", 2);

should allow javascript windows with size assigned (window.open) to open as a new window. And that works correctly in Firefox. Camino doesn't respect it.

Personally it doesn't bother me too much; it can create problems though. Many CMS or message boards use that to popup little 'help' windows (including here on the forum, look at the 'options' on the left in a 'Post a Reply' page, or the 'add Smilies' link here).
User avatar
Uncle Asad
Camino Developer
Posts: 3957
Joined: July 24th, 2004, 1:38 pm
Location: بين العالمين
Contact:

Post by Uncle Asad »

phiw13 wrote:Something else, and the discussion in the bug is not clear as to the intentions

Code: Select all

user_pref("browser.link.open_newwindow.restriction", 2);

should allow javascript windows with size assigned (window.open) to open as a new window. And that works correctly in Firefox. Camino doesn't respect it.

Personally it doesn't bother me too much; it can create problems though. Many CMS or message boards use that to popup little 'help' windows

Hrm, I thought I tested that and it worked, but it certainly doesn't work now. I consider that a bug, for precisely the reason you mention above. :(
Mac OS X 10.3.9 • PowerBook G4 17" 1.33 GHz | Mac OS X 10.5.x • MacBook Pro 15" 2.2 GHz
Snow7's Camino Forum FAQSearch the Forum  Camino. HelpTroubleshoot Camino
phiw13
Posts: 2777
Joined: November 7th, 2002, 1:00 am
Location: Japan
Contact:

Post by phiw13 »

Uncle Asad wrote:Hrm, I thought I tested that and it worked, but it certainly doesn't work now. I consider that a bug, for precisely the reason you mention above. :(

--> bug 338777.

It is* annoying me right now, in a CMS where I have to edit templates. Thing opens a pop-up to generate code that it automatically appends in the textarea.
* not really, I'm use Firefox for that, I need the DomI...:-). But I can see it as a problem for others.
jedik
Posts: 1313
Joined: November 7th, 2003, 12:02 pm
Contact:

Post by jedik »

acollins wrote:This may be a very basic question, but is there a setting that will force all links to open in new tabs? Even ones that would normally just reuse the same window/tab?


COMMAND+CLICK or use your mouse's middle button (if you have one). ;)

Cheers
Powered by Camino
timotab
Posts: 4
Joined: December 3rd, 2006, 7:37 am

Post by timotab »

jedik wrote:
acollins wrote:This may be a very basic question, but is there a setting that will force all links to open in new tabs? Even ones that would normally just reuse the same window/tab?


COMMAND+CLICK or use your mouse's middle button (if you have one). ;)

Cheers


The problem with that is that I don't know until I click on a link if it plans to open in the same window or a new one. All I want is for it to open in the same tab if it normally would, and to open in a new tab if it has a target=_blank directive, rather than a new window.

Using a multi button mouse - not a valid solution, as I typically use the pad on my laptop

using cmd-click, not a valid option as that opens in a new tab EVEN IF it would normally have reused the current tab.

Really, is it so hard to add this as a preference?

Timothy
User avatar
BDog
Posts: 805
Joined: March 6th, 2004, 9:01 am
Location: Roseville, MN
Contact:

Post by BDog »

timotab wrote:The problem with that is that I don't know until I click on a link if it plans to open in the same window or a new one.
Add this to your "userContent.css" file.

Code: Select all

a[href][target]:not([target="_self"]) {cursor: ne-resize !important;}
Post Reply