Dom.disable window open feature.status

From MozillaZine Knowledge Base
Revision as of 05:43, 29 January 2006 by Np (talk | contribs) (security)
Jump to navigationJump to search

Background

Web authors who use window.open() to create new browser windows have the option of specifying which chrome features appear on the window (menu bars, toolbars, the status bar, etc.) and what window functionality is present (whether it’s resizable, whether it has scrollbars, etc.).

Oftentimes these parameters make a popup window less useful, or even obfuscate the popup’s contents and origin. This preference allows you to ignore the part of window.open() calls that tries to hide the status bar.

Possible values and their effects

True

Ignore "status=no" in the window features argument of window.open() and prevent popups from hiding the status bar. (Default)

False

Allow popups to hide the status bar.

Caveats

  • Setting this value to false may make website spoofing attempts more effective.

UI

Mozilla Suite

A checkbox labeled “Hide the status bar” is located under “Edit → Preferences → Advanced → Scripts & Plug-ins → Allow scripts to:”.

Mozilla Firefox 1.0.x

A checkbox labeled “Hide the status bar” is located under “Tools → Options → Web Features → Enable JavaScript / Advanced... → Allow scripts to:”.

Mozilla Firefox 1.5

A checkbox labeled “Hide the status bar” is located under “Tools → Options → Content → Enable JavaScript / Advanced... → Allow scripts to:”.

First checked in

2002-06-04 by Christopher Aillon

Has an effect in

  • Mozilla Suite (all versions since 1.1 alpha)
  • Mozilla Phoenix (all versions)
  • Mozilla Firebird (all versions)
  • Mozilla Firefox (all versions)
  • SeaMonkey (all versions)

Related bugs

Related preferences