How do I stop script error message from appearing?

I have the client set to brouwse using “Notes with IE.”

When there is a script error on a web page, I get an IE error message, and I have to choose whether or not to continue running scripts on that page.

I would rather not get the error message.

Even though the error message says “Internet Explorer” script error, this seems to be a Notes issue. Within IE, I have the options set so that script errors do not display. When running IE without Notes, I don’t see script error messages. They only appear when browsing within Notes.

Is there a way to stop the error message from dispaying?

Thanks…

Subject: How do I stop script error message from appearing?

//this line prevents users from seeing javascript errors…window.onerror = function() {return true;};

Not sure if this will help but it’s worth a try. Just paste it into each form’s jsheader.

Subject: Thank you

Greg,

Thanks for responding.

I’m not sure how to post your code to a jsheader.

FYI, I’m just using the Notes Client - no Domino. Also, the web page with the error is an internet page - not on my computer.

When I have the web page up, within notes client, I can select edit/properties for the applet, document or database, but I haven’t figured out where to paste the code.

Anyway, I appreciate the response. Please let me know if you have any other ideas.

Bill

Subject: RE: Thank you

If you open the offending web page in Domino Designer, there is a placeholder for javascript code that is called “JSHeader.” That’s where you paste it.

This presupposes that you have control over the web page in question. It sounds, though, as if you just want to change the behavior of an individual browser, not a web page. In that case, try to, in IE, choose Tools > Internet Options > Advanced > Disable Script Debugging.

Subject: RE: Thank you

Greg,

On my computer, in IE6 advanced settings:

“Disable script debugging” is checked.

“Display a notification about every script error” is unchecked.

When I view a particular internet web page (not connected with Domino) that contains a script error, IE6 does just fine and doesn’t display the script error. However, with the Notes browser using IE, the script error notifications still appear.

I guess I’ll see what happens in the next verison of Notes Client.

Regards,

Bill