Thomas 'PointedEars' Lahn said the following on 12/16/2005 6:24 AM:[color=blue]
> Andy Fish wrote:
>
>[color=green]
>>I have an asp.net web application which uses a pop-up form[/color]
>
>
> What is a "pop-up form"?[/color]
I will try to explain this to you as simple as can be so that maybe you
can understand it since English is not your native language PointedHead.
pop-up - Generally refers to a - gasp - popup window.
form - If you don't know what a form is, give up the web.
Put them together:
popup form - form in a popup window.
I know, that is a stretch for you to comprehend but try, you can manage it.
[color=blue][color=green]
>>that works a bit like a dialog box. when the user clicks "OK" it does a
>>postback (basically a form post if you don't know .net) to save the
>>contents of the form, and then I put an onload event to do a window.close.
>>this works fine for hundreds of people on different browsers.[/color]
>
> Well, probably it will not work for me.[/color]
As well it may not work for a lot of people that have window.open
disabled or it is not present for some other reason.
[color=blue]
>[color=green]
>>However, for one user the window does not close.
>>
>>The user has a brand new PC from Dell with Norton Internet Security and is
>>using IE. other javascipt on the site seems to work fine. She has tried
>>adding the site to her IE "trusted sites" list with no effect. We have
>>tried enabling javascript errors in IE and none are shown.[/color]
>
>
> Has she Active Scripting enabled for either Security Zone?
>[/color]
Indication 1: "other javascript on the site seems to work fine"
indicates that Scripting is indeed enabled. Learn to read, and
comprehend what you read, and you will go a lot further than you already
are Thomas. Your idiotic pedantics get old after a while.
[color=blue][color=green]
>>Does anyone know of any settings in NIS or any other browser security
>>add-ons (especially supplied by dell) that might cause this behaviour?[/color]
>
>
> As a result of its built-in popup blocker, Norton _InSecurity_ probably
> disables the `onload' event handler by injecting code not written by you.[/color]
NIS doesn't block popups by disabling the onload, it disables popup
windows by disabling the window.open call by redefining it to return
false when called.
[color=blue]
> Furthermore "does not close" can mean anything.[/color]
No, it is simple. It doesn't close. Thats not that difficult to understand.
[color=blue]
> For example, it is likely that the window "does not close" because the
> user is presented a security confirm box that is there in order to protect
> her from losing her window history.[/color]
Hmmm. You open a popup, you close that popup. There is no "window
history" to lose. If the user is presented a security confirm window on
a popup that was opened by script then your UA is severely broken. And I
know of *no* UA that when you manage to open a window with window.open
that will, by default, give you a confirm box when you attempt to
execute window.close() on that window.
[color=blue]
> Or the security settings of IE with XP SP-2 (indicated by the
> new Dell PC) simply prevent windows not opened through scripting to be
> closed by scripting.[/color]
Where did you come up with that Rubbish?
[color=blue]
> Recommending her to uninstall pseudo-security applications like NIS and
> to get informed about system and network security being a Good Thing[1]
> aside:[/color]
But totally 100% irrelevant to anything but your diatribe about NIS.
[color=blue]
> Never ever mess with browser windows without the users' explicit consent,
> that is, do not suppose anything to work regarding this without their direct
> interaction (and the `onload' event handler does not classify as such).[/color]
More Rubbish that is irrelevant to the question.
[color=blue]
>
> Followup-To comp.lang.javascript[/color]
microsoft.public.dotnet.framework.aspnet added back as it should have
been left alone to start with.
[color=blue]
> [1] <URL:http://www.iks-jena.de/mitarb/lutz/usenet/Firewall.en.html>[/color]
More irrelevant rubbish.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/