--- title: window.status slug: Web/API/Window/status tags: - DOM - DOM_0 - Gecko - Gecko DOM Reference translation_of: Web/API/Window/status ---
ブラウザの下部にあるステータスバー内にテキストを設定するか、もしくは、直前に設定されていたテキストを返します。
このプロパティは、Firefox、及び、いくつかの他のブラウザのデフォルト設定では動作しません。つまり、window.status
を設定しても、ステータスバーに表示されているテキストには何の効果もないということです。ステータスバーのテキストを変更するスクリプトを許可するには、ユーザは、about:config
画面で、dom.disable_window_status_change
の設定を false
にしなければなりません。
{{gecko_callout_heading("1.9.1")}}
Starting in Gecko 1.9.1 {{geckoRelease("1.9.1")}}, users can let websites change the status text by enabling the "Change status bar" preference in the Advanced options panel.
string =window.status; //取得window.status = string; //設定
{{DOM0}}