473,419 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,419 software developers and data experts.

FF !window.status

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
19 3729
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
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
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
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
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
BTW: IE7 is doing the same.

Feb 20 '06 #7
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
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
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
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
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
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
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
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
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
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
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

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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: mark4asp | last post by:
Why won't the window.status message change ? IE ver. 6.0.2800.1106 displays the tooltip OK. <td> <A HREF="editAuthor.asp?item=4" title="Edit author details"...
12
by: Steve | last post by:
hey guys, i have been searching around... and it seems that the below code is good for a SINGLE PAGE. <BODY BGCOLOR=white onMouseOver="window.status=' something ';return true"> but... i...
2
by: Mark Pappert | last post by:
Hi, I am trying to determine whether the status bar is visible or not .. is there a method to check the state? I did a google search and found info re: window.status.visible but it returns...
8
by: Mark | last post by:
There are no problems with the following image loading code fragment and window.status assigments/updates in IE but in Firefox window.status fails to update. Any suggestions? (function...
1
by: Jason | last post by:
Hi when you hover over a LinkButton, the window status text changes. e.g. javascript:__doPostBack('lnkNextBottom','') how do i change it so that it does not display this text? i have tried...
0
by: Sydem | last post by:
I have a classic ASP site that I'm converting to ASP.NET 2.0 using VS 2005 Beta 2 with the VB.NET language. In my classic ASP web app I use a custom Javascript that creates a menu "control". In...
2
by: Xerxes | last post by:
Hi, I am trying to hide/change the window.status text when the mouse is over the hyperlink text but it does not seem to work on Mozilla (Firefox). Am I doing something wrong: <a...
3
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change?...
1
by: RobertTheProgrammer | last post by:
Hi all, I have a perplexing problem here. I've developed some software using ASP.NET with C# in the code behind. I've been setting the "window.defaultStatus" in the code behind to send messages...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.