[Javascript] Opening new tabs in FireFox.

Shawn Milo Shawn at Milochik.com
Fri Feb 17 10:53:22 CST 2006


Paul,

Thanks.  I forgot that a newer (I think) option in Firefox allows you to
select that new windows requested by a page open in tabs. That's good enough
for me, because I'm mainly interested in this for my own use. I want a page
of my personal bookmarks which automatically sorts by frequency of use. I
did this a while back using Javascript and cookies, and it worked well.
However, a system which would allow me to just click and not have to CTRL +
click or right-click then "open in new tab" would be welcome. I think I can
do it in the way you mentioned.

Also, I'm going to change it to something PHP based so I can use the same
one for home and work, and have the same sorting. Not to mention not having
to have a JavaScript array of URLs in my source. ;o)

Shawn



On 2/17/06, Paul Novitski <paul at novitskisoftware.com> wrote:
>
> At 03:19 AM 2/17/2006, Shawn Milo wrote:
> >To anyone's knowledge, is there any JS yet which can open a URL in a new
> tab?
>
>
> I've looked for an answer to this, too, but as far as I've been able
> to discover, window.open() is the only way to do it.  Whether this
> opens a new browser window or a new tab is controlled by user
> settings within Firefox.  As I understand it, this evidences a very
> conscious design philosophy common in the web standards community
> which suggests, for example, that we developers not attempt to
> override the user's tab/window settings but to allow the user to
> control that level of usability.
>
> A couple of links on the new tab/new window technology:
>
> Open external links in new windows or tabs
> http://www.mozilla.org/support/firefox/tips#beh_reuse
>
> Firefox hacks: Tip 1: Modify tabbed browsing
> http://reviews.cnet.com/4520-10165_7-6212515-1.html
>
> I got 910,000 hits by googling
>          firefox javascript open new tab
>
> Cheers,
> Paul
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20060217/66225bae/attachment.htm>


More information about the Javascript mailing list