By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,052 Members | 1,248 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,052 IT Pros & Developers. It's quick & easy.

FF !window.status

P: n/a
Firefox is not respecting window.status, examples in this pg
http://www.csua.berkeley.edu/~jgwang/jsform02.htm
are ignored by Firefox.. why is this.. is there a solution.. thank you..

Frances
Feb 19 '06 #1
Share this Question
Share on Google+
19 Replies


P: n/a
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,
Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.

examples in this pg
http://www.csua.berkeley.edu/~jgwang/jsform02.htm
are ignored by Firefox..
As it should be.
why is this..
See above.
is there a solution..
Yes. Instead of attempting to hijack my status bar, put a div on the
page for extra information, or the title attribute, or.....
thank you..


And thank you for leaving my status bar alone.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 19 '06 #2

P: n/a
Frances wrote:
Firefox is not respecting window.status,
Yes, it is.
[...] why is this..
There is a preference checkbox that can be unchecked (and is probably
unchecked by default) to prevent client-side scripts from changing the
status bar text. This preference is also available for Mozilla Suite
and a number of other user agents. It is because the status bar usually
displays far more useful information compared to what script kiddies
(the irresponsible and largely incompetent type of script programmers)
want it to display.
is there a solution..


Enable the preference.

This is not about /your/ Firefox? Tough luck.
PointedEars
Feb 19 '06 #3

P: n/a
Randy Webb wrote:
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,

Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.

examples in this pg
http://www.csua.berkeley.edu/~jgwang/jsform02.htm
are ignored by Firefox..

As it should be.
why is this..

See above.
is there a solution..

Yes. Instead of attempting to hijack my status bar, put a div on the
page for extra information, or the title attribute, or.....
thank you..

And thank you for leaving my status bar alone.


I think it's kind of stupid to have a window on which it always "DONE"
at the bottom w/o being able to change it.. but oh well... thank you for
yr response..
Feb 19 '06 #4

P: n/a
Frances wrote:
Randy Webb wrote:
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,

Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.
[...]


I think it's kind of stupid to have a window on which it always "DONE"
at the bottom w/o being able to change it.. [...]


You did not understand. The status bar is to display status information
about the window (and the document it shows). For example, if I would move
the mouse pointer over a visible hyperlink, it would display the URI of the
linked resource, and if I clicked the hyperlink, it would display the load
status of the target document (before it is showing it). The status bar
does not necessarily display "DONE" all the time, provided that there is
even a status bar. In fact, if there is a status bar, "DONE" is what it
rather displays least of the time. Observe yourselves more closely when
web-browsing and you will probably see this to be true.

There are undoubtedly reasonable approaches to modify the status bar text
but the other approaches have been used much more on the Web by the people
I described in my other posting, with rather disturbing effects to
usability. Hence the existence of the preference (in Firefox
1.5.0.1/Linux: Edit, Preferences, Content, [x] Enable JavaScript, Advanced,
Allow scripts to: [x] Change status bar text), and the fact that it is
probably unchecked by default.
PointedEars
Feb 19 '06 #5

P: n/a
Frances wrote:
Randy Webb wrote:
And thank you for leaving my status bar alone.

I think it's kind of stupid to have a window on which it always "DONE"
at the bottom w/o being able to change it


It isn't. I point at a link, it shows me where that link goes.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Feb 19 '06 #6

P: n/a
BTW: IE7 is doing the same.

Feb 20 '06 #7

P: n/a
caston said the following on 2/20/2006 5:37 AM:
BTW: IE7 is doing the same.


"doing the same" as what?

Please quote what you are replying to.

If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 20 '06 #8

P: n/a
caston wrote:
BTW: IE7 is doing the same.


oh man.. that's just grand!....;)

(btw, is it true IE7 will not work in Win 2000?)

Feb 20 '06 #9

P: n/a
Frances said the following on 2/20/2006 12:34 PM:
caston wrote:
BTW: IE7 is doing the same.


oh man.. that's just grand!....;)

(btw, is it true IE7 will not work in Win 2000?)


Yes, it is true according to MS but what MS says is like the wind in a
windstorm. It's apt to change at any minute.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 20 '06 #10

P: n/a
JRS: In article <jZ********************@comcast.com>, dated Sun, 19 Feb
2006 16:03:32 remote, seen in news:comp.lang.javascript, Randy Webb
<Hi************@aol.com> posted :
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,


Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.

That's a Lahnish attitude.

There are two sorts of status; that provided by the system and that
provided by the programmer. Since that provided by the system can be
useful, it should not be overwritten gratuitously; but, if the
programmer considers other material more important, then that should be
shown instead.

I find it particularly appropriate to indicate progress of a long
calculation :-
for ( Y=y1 ; Y<=y2 ; Y++ ) { if (!(Y%100)) window.status = Y

The traditional "Done" is overwritten; but, after the calculation,
hovering over a link still gives the usual status line, at least in this
system.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Feb 20 '06 #11

P: n/a
Frances wrote:
(btw, is it true IE7 will not work in Win 2000?)


STFW. From
<URL:http://www.microsoft.com/windows/ie/ie7/ie7betaredirect.mspx>
it looks as if that will be so:

| Internet Explorer 7 Beta 2 Preview will only run on Windows® XP Service
| Pack 2 (SP2) systems, but will ultimately be available for Windows Vista,
| Windows XP Professional x64 Edition, and Windows Server 2003.

Not a surprise to me, though.
PointedEars
Feb 20 '06 #12

P: n/a
Randy Webb wrote :
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,
Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.


Internet Explorer 7 beta 2 also prevents web authors from editing the
status line.

Tools/Internet Options.../Security tab/Internet/Custom
Level.../Scripting section/Allow status bar updates via script/Disable
radio button is checked by default.

And thank you for leaving my status bar alone.


I think all major and minor browsers give absolute veto power to users
now on this editing of the status bar message.

Gérard
--
remove blah to email me
Feb 20 '06 #13

P: n/a
Dr John Stockton said the following on 2/20/2006 10:39 AM:
JRS: In article <jZ********************@comcast.com>, dated Sun, 19 Feb
2006 16:03:32 remote, seen in news:comp.lang.javascript, Randy Webb
<Hi************@aol.com> posted :
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status, Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.

That's a Lahnish attitude.


Given the choice between having a "Lahnish attitude" (which I don't) and
an arrogantly British attitude (which you do), I will choose mine.
There are two sorts of status; that provided by the system and that
provided by the programmer.
Well Duh! And the status bar of the browser is *not* for the status
provided by the programmer.
Since that provided by the system can be useful, it should not
be overwritten gratuitously;
Not, it should not be overwritten at all. And that is precisely why you
see more and more browsers not allowing it.
but, if the programmer considers other material more important,
then that should be shown instead.
That is the typical "I, the programmer, know more about what the user
wants than the user" and that abuse is precisely why most modern
browsers do not allow scripting of the status bar.

I find it particularly appropriate to indicate progress of a long
calculation :-
for ( Y=y1 ; Y<=y2 ; Y++ ) { if (!(Y%100)) window.status = Y
Then you need to rethink your approach as most people (that excludes
you) will never see that message. You will see it because you are using
an outdated browser and outdated thinking.
The traditional "Done" is overwritten; but, after the calculation,
hovering over a link still gives the usual status line, at least in this
system.


And considering that your system, and obviously your thinking with
regards to the status bar is ancient, it doesn't mean a whole lot.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Feb 23 '06 #14

P: n/a
Dr John Stockton wrote:
[...] Randy Webb [...] posted :
Frances said the following on 2/19/2006 3:58 PM:
Firefox is not respecting window.status,

Actually, it does. It prevents people from changing the status bar and
letting the status bar be used by the UA for what it was intended -
status of the page.


That's a Lahnish attitude.


"Never be afraid to cultivate your concept of the enemy.", yes? You would
never admit that a view was indeed a reasonable one if I was among those
who held it, would you?

JFYI: Again you missed the context of the request completely, or, what is
more probable, you ignored it deliberately.
PointedEars
Feb 28 '06 #15

P: n/a
Thomas 'PointedEars' Lahn wrote:
Dr John Stockton wrote:
That's a Lahnish attitude.


JFYI: Again you missed the context of the request completely, or, what is
more probable, you ignored it deliberately.


Why can't you stop discussing unuseful things? This consumes a lot of
bytes and I'm going to travel again in one day, it's horrible to read so
many messages :)

Just answer the question of the guy and it's over... That's so annoying,
you're always looking for idiot mistakes on idiot messages, that's loss
of time =b

"Firefox is not respecting window.status blablabla": Because setting the
window.status is disabled by default, if you want to enable it, there's
an option on your Firefox JavaScript options, [bla bla bla]. Using it
for notifications doesn't look nice and as an user I preffer a simple
tooltip :)
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Feb 28 '06 #16

P: n/a
I agree with most of you to leave the status bar alone, tho if it would
be a normal page. i have <aelements in my page wich are not used as
direct link but as a text to trigger a javascript function the href in
there is just to make the mousecursor change when u move over (tho tha
can also be done tru js i know but this is easier), but the onclick
function returns false so it doesn't actually triggers the href only my
js function. the function cointains action to change content on the page
tru ajax etc. But there comes the problem, as the href is fake , i don't
want it in my windows status, i'd rather but some real info about that
link there, maybe even something usefull. so for problems like these, it
is retarded.

*** Sent via Developersdex http://www.developersdex.com ***
Dec 24 '06 #17

P: n/a
Ruben Decleyn escreveu:
I agree with most of you to leave the status bar alone, tho if it would
be a normal page. i have <aelements in my page wich are not used as
direct link but as a text to trigger a javascript function the href in
there is just to make the mousecursor change when u move over (tho tha
can also be done tru js i know but this is easier), but the onclick
function returns false so it doesn't actually triggers the href only my
js function.
If it's not a link, you shouldn't use the <aelement :]
But in real life when you have small deadlines due to your boss
non-sense notion of time, it's quite difficult to do everything as it
should be done, the workarounds then are welcome.
the function cointains action to change content on the page
tru ajax etc. But there comes the problem, as the href is fake , i don't
want it in my windows status, i'd rather but some real info about that
link there, maybe even something usefull. so for problems like these, it
is retarded.
The right thing to do is feed a valid URL that will make the same thing
as the JavaScript request, but if you don't have time to do it, as a
user I prefer to see the "empty link". But if your client asked you to
put the text on the status bar explaining what the link will do, do it =b
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Dec 24 '06 #18

P: n/a

a quick example

a page full of links
most of them are real links , some of em are adds.
u shoudn't be able to see with the status bar if the link is an add or
not.

*** Sent via Developersdex http://www.developersdex.com ***
Dec 24 '06 #19

P: n/a
Ruben Decleyn escreveu:
a quick example

a page full of links
most of them are real links , some of em are adds.
u shoudn't be able to see with the status bar if the link is an add or
not.
Why? It doesn't make sense, only if you/your client wants to earn money
with ads in a bad way (deceiving the user with false links) :]
--
Jonas Raoni Soares Silva
http://www.jsfromhell.com
Dec 24 '06 #20

This discussion thread is closed

Replies have been disabled for this discussion.