Re: Problem with Window.Close()

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Evertjan,

Thx for ur reply.
As you said, the winow is not belong to me. But when i open few IE browser,
and then use window.close() to close one of them. The message box will not
appear. WHY??

Best Regards,
Sexball


"Evertjan." <exjxw.hannivoort@xxxxxxxxxxxx> ¼¶¼g©ó¶l¥ó·s»D:Xns96DA7145DE05Feejj99@xxxxxxxxxxxxxxxxxx
> sexball wrote on 23 sep 2005 in microsoft.public.scripting.jscript:
>
>> I'm using window.close() to close the window. However, it will show a
>> message box with ".......Do you want to close this window" when i use
>> this command. How can i disable this message box?
>>
>
> You cannot if the window is not yours, that is if the window was not
> opened
> by you, because those windows do not "belong" to you.
>
> Do not want to change things on the user's machine, that have nothing to
> do
> with your page. The window where your entry page opens is not yours.
>
> --
> Evertjan.
> The Netherlands.
> (Replace all crosses with dots in my emailaddress)
>


.



Relevant Pages

  • Re: IE6 doesnt open its own links, sends to another browser
    ... Did you run IE7alongside IE6 recently? ... > the URL in another browser (i.e. if the default browser is Opera, ... > opens in Opera). ... > browse to the link in either the original IE window or the new one. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • IPC between application and xserver is causing extra context switches
    ... Application opens unix socket connection to xserver. ... the request kernel decides to schedule client before there is response. ... Window Select_Window; ...
    (Linux-Kernel)
  • Re: IPC between application and xserver is causing extra context switches
    ... Application opens unix socket connection to xserver. ... the request kernel decides to schedule client before there is response. ... Window Select_Window; ...
    (Linux-Kernel)
  • Re: Open new Internet Explorer window in a new process
    ... I do not want the new window ... So I use CoCreateInstance when creating a new browser ... but then I cannot sink DWebBrowserEvents2 (although maybe I ... it opens it in the same process as that running instance. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Opening a new browser
    ... "Sarah" said in news:62e801c42e48$46eb1130$a601280a@phx.gbl: ... What is the web page's URL in which you click a link (which opens ... another browser instance but which closes after 60 seconds)? ... use a script to close that window). ...
    (microsoft.public.windows.inetexplorer.ie6.browser)