Avatar of aplatti
aplatti

asked on 

Detecting whether Firefox 3 browser window has tabs with JavaScript

Is it possible in Firefox 3 to detect in JavaScript whether the browser window that a page is in has tabs?

I can do this in IE by calling window.moveBy(1,1) and seeing if the window actually moved.  If it didnt move, then the IE window probably has tabs.
Web BrowsersWeb Languages and StandardsJavaScript

Avatar of undefined
Last Comment
aplatti
ASKER CERTIFIED SOLUTION
Avatar of scrathcyboy
scrathcyboy
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of aplatti
aplatti

ASKER

Good try, that's what I thought.  I was hoping there was a clever way like the IE solution I discovered. Oh well....
Avatar of aplatti
aplatti

ASKER

Oh well, I was hoping there was some clever indirect solution like I had for IE, but I guess not.  
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo