Comments on 1212jtraceur's Scripts

4 comments

Comment on window.open Opens in New Tab made Jul 2, 2008:

SethA

true... but the about:config is not quite good enough...

(read first... then comment... )

browser.link.open_newwindow.restriction

Possible values and their effects

[edit]

0

Divert all links according to browser.link.open_newwindow. (Default in Firefox 1.0.x and SeaMonkey)

This includes:

* All HTML links with target="_blank".

* All JavaScript calls to window.open().

[edit]

1

Do not divert any links (browser.link.open_newwindow will have no effect).

[edit]

2

Divert all links according to browser.link.open_newwindow, unless the new window specifies how it should be displayed. (Default in Firefox 1.5 and later and Camino 1.5)

This includes:

* All links with target="_blank".

* JavaScript calls to window.open() without the "features" parameter (3rd parameter).

This does not include:

* JavaScript calls to window.open() <u>with the "features" parameter</u> (3rd parameter).

what I REALLY need to know is how to get Those js windows to open in tabs...

(i have a thread at mozillazine about it... go there for more details... and if ya can help, i'd be everso glad... thanks)

'javascript'

http://forums.mozillazine.org/viewtopic.php?p=3...

Comment on window.open Opens in New Tab made Jul 8, 2007:

Descriptor

It's built into the browser already...

browser.link.open_newwindow

browser.link.open_newwindow.restriction

See also this thread.

Comment on window.open Opens in New Tab made Jul 8, 2007:

Neewb

Sweeet one liner. I love one liners!

Comment on window.open Opens in New Tab made Jul 8, 2007:

Peter Bunyan

I don't know why nobody thought of this before! It's incredibly useful, and it's just one line of code. You can't get much more elegant than that :)

10 / 10, definitely.