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!

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Why does user initiated pop-under fails?

  • 1 回覆
  • 10 有這個問題
  • 2 次檢視
  • 最近回覆由 cor-el

more options

This is for Firefox 4 and 5. I know that popunders are disabled. I need to enable "Lower or raise windows" setting in the "Advanced Javascript Settings" to make the popunders work

function pop_under() { window.blur(); window.opener.focus(); }

I understand that it is set to off by default to prevent popunders. But why shouldn't user initiated or user clicked link make the popunder work?

Regular users will not know how to change that setting.

Is there any rationale behind this?

Firefox 4 and 5 are the only ones where there is a draconian measure against the popunder.

This text is directly from the help file: Advanced JavaScript Settings

       Raise or lower windows: Uncheck this option to make sure scripts cannot raise (bring to the front) or lower (send to the back) windows. 

The actual behaviour is reversed. I need to check this feature so that the scripts can raise or lower windows.

I believe this is a serious bug that only exists in Firefox 4 and 5.

This is for Firefox 4 and 5. I know that popunders are disabled. I need to enable "Lower or raise windows" setting in the "Advanced Javascript Settings" to make the popunders work function pop_under() { window.blur(); window.opener.focus(); } I understand that it is set to off by default to prevent popunders. But why shouldn't user initiated or user clicked link make the popunder work? Regular users will not know how to change that setting. Is there any rationale behind this? Firefox 4 and 5 are the only ones where there is a draconian measure against the popunder. This text is directly from the help file: Advanced JavaScript Settings Raise or lower windows: '''Uncheck''' this option to make sure scripts cannot raise (bring to the front) or lower (send to the back) windows. The actual behaviour is reversed. I need to check this feature so that the scripts '''can''' raise or lower windows. I believe this is a serious bug that only exists in Firefox 4 and 5.

由 bobyu 於 修改

所有回覆 (1)

more options

Do you have a page with that code to test?

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).