Join us and the lead editor of IRL, Mozilla's multi-award-winning podcast, for a behind-the-scenes look at the pod and to contribute your ideas for the next season, themed: "AI and ME." Mark your calendar and join our Community Call on Wednesday, Aug 7, 17:00–17:45 UTC. See you there!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How can I detect in javascript if a user has set "raise or lower windows" javascript option off?

  • 1 reply
  • 1 has this problem
  • 10 views
  • Last reply by cor-el

more options

I am working on an application and include a feature that allows users to hide a window by calling the javascript "focus" method. However, this does not work in Firefox when the user has the "raise or lower windows" setting turned off. Not a big deal, but it seems as if there is no way to detect this via javascript so I can gracefully handle the situation for my users (e.g. send them a message that their browser will not allow that to occur).

I am working on an application and include a feature that allows users to hide a window by calling the javascript "focus" method. However, this does not work in Firefox when the user has the "raise or lower windows" setting turned off. Not a big deal, but it seems as if there is no way to detect this via javascript so I can gracefully handle the situation for my users (e.g. send them a message that their browser will not allow that to occur).

All Replies (1)

more options

A good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.
The helpers at that forum are more knowledgeable about web development issues.
You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25