PDA

View Full Version : Why doesn't javascript allow us to open in a new tab?



brawnypandora0
July 14th, 2011, 08:45 AM
Is it possible to change firefox settings so that I can open links such as this:

javascript:openInnewWindow('http%

in a tab instead of a popup?

doorknob60
July 14th, 2011, 09:09 AM
Preferences > Tabs > Open new windows in new tab instead

That works just fine for me :)

Paqman
July 14th, 2011, 09:46 AM
In general I'd think very hard before using js to mess about with a user's browser. I'm thinking back to the bad old days of the web when people thought it was ok to try and resize users' browser windows.

Bachstelze
July 14th, 2011, 10:53 AM
In general I'd think very hard before using js to mess about with a user's browser. I'm thinking back to the bad old days of the web when people thought it was ok to try and resize users' browser windows.

+9001

When a site does something like that to me, they instantly lose a user. I am a big boy, if I want to open a link in a new window, I can do it myself.