By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,620 Members | 1,730 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,620 IT Pros & Developers. It's quick & easy.

Firefox - accessing urls of tabs

P: n/a

How do I access the urls of tabbed windows currently open in Firfox?
(Or the other tabbed browsers like Opera.)

I know "tab" is not a javascript object, but in pseudo code I'm looking
for something like this:

var myURL = window.tab[1].location

Thanks,

ns

Jul 23 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Nevada wrote:
How do I access the urls of tabbed windows currently open in Firfox?
(Or the other tabbed browsers like Opera.)
You don't.
I know "tab" is not a javascript object, but in pseudo code I'm looking
for something like this:

var myURL = window.tab[1].location


To put it bluntly, its none of your business what other websites I have
open, and thats the main reason that the browser manufacturer's do not
allow such things to be possible.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #2

P: n/a
Nevada wrote:
How do I access the urls of tabbed windows currently open in Firfox?
(Or the other tabbed browsers like Opera.)

I know "tab" is not a javascript object, but in pseudo code I'm looking
for something like this:

var myURL = window.tab[1].location


This is like asking to be able to detect the URL of all the browser
windows that a user has open. The next logical step is to be able to
manipulate those windows...

Yes, it'd be real handy in some situations but is way to easy to
abuse so it's unlikely to happen.

One thing that would be nice is the ability to access 'child' tabs in
much the same way as windows opened by the current page can be
accessed. However, I can't see that happening either.
--
Rob
Jul 23 '05 #3

P: n/a

Gee - guess I won't do it!

ns

Jul 23 '05 #4

P: n/a
Nevada wrote:
Gee - guess I won't do it!


No need to guess, you won't do it!

Please read this groups FAQ, it is full of useful information.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.