HTMLViewer JavaScript not running

It sounded like both to me.

Ok, so for desktop, you could create a specially crafted url and assign it to document.location in JavaScript. Then in the CancelLoad event, catch it, display a dialog and return True to prevent the url change from happening. Something like

yourappname://alert/urlencodedmessage

Sorry guys, flu and a bunch of other stuff kept me away for a while. @Greg O’Lone: I did need it for both desktop and web. I’ve since dropped this requirement, and am going to proceed in another direction with this particular project. Thanks also to @Tim Parnell for the help!