Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

ค้นหาฝ่ายสนับสนุน

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.

เรียนรู้เพิ่มเติม

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

  • 1 การตอบกลับ
  • 1 คนมีปัญหานี้
  • 10 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย 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).

การตอบกลับทั้งหมด (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