GNOME Bugzilla – Bug 149264
statusbar text cannot be set with javascript
Last modified: 2004-12-22 21:47:04 UTC
just try the following in a <script> element: window.defaultStatus = "the status that never shows"; or window.status = "this does not show either"; and nothing happens ...
window.defaultstatus doesn't appear to work for me, and it doesn't work either in TestGtkEmbed, so is a mozilla bug. window.status on the other hand works just fine for me, but you will need to ensure that the gconf setting "/apps/galeon/Advanced/Filtering/default_allow_statusbar" is set to true.
hmm, using mozilla with the following page, I see a default status line: http://de.selfhtml.org/javascript/objekte/anzeige/window_default_status.htm And my "default_allow_statusbar" is set to true, as is "statusbar_rewrite", yet still I cannot change it using window.status ... Could it be a distro specific thing (I'm using mandrakes cooker galeon)?
I have raised the window.defaultStatus issue as: http://bugzilla.mozilla.org/show_bug.cgi?id=254677 Lets just concentrate on the window.status javascript function. This is working fine for me, using the testcase I will attach, please also ensure that the "dom.disable_window_status_change" key in the "about:config" page is set to "false".
Created attachment 30300 [details] testcase
sorry for the late answer. you are right. window.status is working just like it should (unlike defaultStatus), so the bug report can be half closed :-)
The other issue is the mozilla bug reported above, so there is nothing to do here :-)