status=no compatibility problems

S

Simon Wigzell

I have a little asp progress bar window that I open up with javascript,
sized and located, all the extras turned off. It works by refreshing itself
every second and displaying how much a file upload has progressed. (This is
a paid for 3rd party thing so don't ask me to change the way it works!) Even
though I have "status=no" in the javascript window.open statment it has a
status bar and every second the status bar does its thing where it displays
its own little progress bar and the word "done", obviously this is only
going to cause confusion with what the rest of the window is doing.

I've been experimenting with status=no

This little test page opens another window without status bar if I run it
locally on my PC but not if I run it from the server. (I'm XP, server is Win
2003)

http://www.mississippiprinting.com/NewTest/test.htm

If I run it from the server in Netscape it doesn't have the status bar.
If I run it locally in firefox it does!

So it looks like turning off the status bar is not as easy as sending the
right javascript code to do it. Looks to me like it is dependent on browser
and operating system and just by looking at some googled links on the
subject it is also dependent on your security settings.

I cannot find a definitive answer to this, my client wants the status bar
gone from his progress window and I'd like to be able to explain why it is
beyond my control, if that turns out to be the case.

Anyone familiar with this that can send me a link that explains it all? My
googling hasn't been very successfull.

Thanks!
 
T

Thomas 'PointedEars' Lahn

Simon said:
[...]
I've been experimenting with status=no

You could in fact omit this parameter with the same result as that is the
default value.
This little test page opens another window without status bar if I run it
locally on my PC but not if I run it from the server. (I'm XP, server is
Win 2003)

http://www.mississippiprinting.com/NewTest/test.htm

Probably that is because the browser or popup blocker vendor tried to
prevent JS abuse on the Web (that is, http:// URIs) while retaining
the functionality for the local file system (that is, file:// URIs).

If you have a local Web server and access the document via
If I run it from the server in Netscape it doesn't have the status bar.
If I run it locally in firefox it does!

Test results should be comparable, so you should test both URIs in both user
agents. Netscape != Firefox, even though both are Gecko-based.


PointedEars
 
G

Gérard Talbot

Simon Wigzell wrote :
I have a little asp progress bar window that I open up with javascript,
sized and located, all the extras turned off. It works by refreshing itself
every second and displaying how much a file upload has progressed. (This is
a paid for 3rd party thing so don't ask me to change the way it works!) Even
though I have "status=no" in the javascript window.open statment it has a
status bar and every second the status bar does its thing where it displays
its own little progress bar and the word "done", obviously this is only
going to cause confusion with what the rest of the window is doing.

I've been experimenting with status=no

This little test page opens another window without status bar if I run it
locally on my PC but not if I run it from the server. (I'm XP, server is Win
2003)

http://www.mississippiprinting.com/NewTest/test.htm

If I run it from the server in Netscape it doesn't have the status bar.
If I run it locally in firefox it does!

So it looks like turning off the status bar is not as easy as sending the
right javascript code to do it.

Everything has been summed up here:

DOM:window.open()
http://developer.mozilla.org/en/docs/DOM:window.open#Note_on_status_bar
"The default preference setting in recent Mozilla-based browser releases
and in Firefox 1.0 is to force the presence of the status bar."

"In MSIE 6 for XP SP2: For windows opened using window.open():
For windows opened using window.open():
'Expect the status bar to be present, and code for it. The status
bar will be on by default and is 20-25 pixels in height. (...)'
quote from Fine-Tune Your Web Site for Windows XP Service Pack 2,
Browser Window Restrictions in XP SP2
"

etc.

Gérard
 
G

Gérard Talbot

Randy Webb wrote :
Your client is out of luck. The reason you can't remove it is because
too many people abused it and users complained to the browser people and
now you can't remove it.

Exactly. And IE7 (starting with beta 2) will force the address bar at
all time. Because of hacks, phishing attacks, etc.. Everything clearly
worded like this:

"We think the address bar is also important for users to see in pop-up
windows. A missing address bar creates a chance for a fraudster to forge
an address of their own. To help thwart that, IE7 will show the address
bar on all internet windows to help users see where they are."
coming from Microsoft Internet Explorer Blog, Better Website Identification
http://blogs.msdn.com/ie/archive/2005/11/21.aspx

Gérard
 
R

Randy Webb

Gérard Talbot said the following on 1/30/2006 5:53 PM:
Randy Webb wrote :


Exactly. And IE7 (starting with beta 2) will force the address bar at
all time. Because of hacks, phishing attacks, etc.. Everything clearly
worded like this:

"We think the address bar is also important for users to see in pop-up
windows. A missing address bar creates a chance for a fraudster to forge
an address of their own. To help thwart that, IE7 will show the address
bar on all internet windows to help users see where they are."
coming from Microsoft Internet Explorer Blog, Better Website Identification
http://blogs.msdn.com/ie/archive/2005/11/21.aspx

About time MS caught up with everybody else. Now, if Mozilla and the
rest will enforce that without me having to edit a file to force an
address bar :)

How does one request that features like that be added in Mozilla though?

I know I can edit the user_prefs file but it would be nice if you didn't
have to.
 
G

Gérard Talbot

Randy Webb wrote :
Gérard Talbot said the following on 1/30/2006 5:53 PM:
[snipped]


About time MS caught up with everybody else. Now, if Mozilla and the
rest will enforce that without me having to edit a file to force an
address bar :)

How does one request that features like that be added in Mozilla though?

I know I can edit the user_prefs file but it would be nice if you didn't
have to.


Open up about:config,
search for
dom.disable_window_open_feature.location
set it to true.
You're done.
There is no user interface besides the about:config.

Gérard
 
R

Randy Webb

Jasen Betts said the following on 2/5/2006 2:50 AM:
can't you reach that option from about:config ?

Yes. But it would be nice if it were forced to start with and me having
the option of disallowing it, not the other way around.
dom.disable_window_open_feature.location


one submits a bug report.... set aside a couple of hours:

Submit a bug report to request a new/changed feature?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top