Re: Why "window.open(' 'my.jpg' ',' '_blank' ')" does work on IE but not work on Navigate2

From: Mike J ("Mike)
Date: 10/08/04


Date: Fri, 8 Oct 2004 20:52:30 +0100

I tried, it really worked. If I don't insert the script, it will pop up
error message. (If SetSilent(TRUE), debugger will be invoked). When insert
the script into the head, no error message popup(other HTML codes are the
same).
I use m_pHtmlDoc2->write(sfArray). I have not tried Navigate2 yet.

Mike

"Igor Tandetnik" <itandetnik@mvps.org> wrote in message
news:%23fzMxpWrEHA.332@TK2MSFTNGP14.phx.gbl...
> "Mike J" <cannotbeanywhere(at)hotmail.com> wrote in message
> news:uqCm1hWrEHA.2948@TK2MSFTNGP11.phx.gbl
>> I found a solution to block script debugger.
>> I insert the following script into the head of the HTML document:
>>
>> window.onerror = errorHandler;
>
> Are you sure this stops a script debugger, as opposed to just a regular
> error message (these are two different things)? It does not, in my
> experience. The article you quote seems to agree with me:
>
> A common problem that bites many developers occurs when their onerror
> handler is not called because they have script debugging enabled for
> Internet Explorer. This will be the case by default if you have installed
> the Microsoft Script Debugger or Microsoft Visual Studio 6.0R
> (specifically Visual InterDev 6.0T)-onerror handling is how these products
> launch their debugger. You can disable script debugging for a given
> instance of Internet Explorer on the Advanced tab of the Internet Options
> dialog box (note that checking the Disable script debugging setting will
> apply only to that instance of Internet Explorer)
>
> --
> With best wishes,
> Igor Tandetnik
>
> "On two occasions, I have been asked [by members of Parliament], 'Pray,
> Mr. Babbage, if you put into the machine wrong figures, will the right
> answers come out?' I am not able to rightly apprehend the kind of
> confusion of ideas that could provoke such a question." -- Charles Babbage
>



Relevant Pages

  • Re: VBS Editor???
    ... du musst den Debugger nicht irgendwie in die "Gänge" setzen. ... So erfolgen die Aufrufe des Debuggers durch den WSH (entweder durch das ... die Aufrufe //D oder //X für das Script. ... > Ich habe den Quelltext von 'quadrat.vbs' in MSE7.EXE geladen. ...
    (microsoft.public.de.german.scripting.wsh)
  • RE: Problem with LWP::UserAgent
    ... have an xml file that contains a list of URLs. ... hash and pass them as a parameter into the function that does LWP get. ... > assume your script is named net.pl, you can involve the debugger with: ...
    (perl.beginners)
  • Re: Testing strategy for Tk application?
    ... your GUI should be nothing but a bunch of widgets that call ... > action invoke focus main ... > and then read a test script from stdin. ... I'll embed a built-in debugger. ...
    (comp.lang.tcl)
  • Re: IS there a java script debuger that can be used with frontpage and
    ... I wasn't sure, as I have the Script Debugger on my system, but I don't ... If you have FrontPage, you have Microsoft Script ...
    (microsoft.public.frontpage.programming)
  • Re: IS there a java script debuger that can be used with frontpage and
    ... Debugger, and if you have Internet Explorer, you're almost there. ... and UNCheck the option that says "Disable Script Debugging ... you can put breakpoints into your JavaScript. ...
    (microsoft.public.frontpage.programming)