Of course this will trap all java script alert messages. You could
use a prefix to diference the messages intended to your app and
those for the users fx. " alert('#app# Hello world')" .
We've been suggesting this kind of workaround for people who need
this feature with today's Web Kit, and many people have had really
great results with this technique. Try it out and let us know how it
works for you.
Thanks for the tip. This might work if I'm able to install a filter
them. The filter would find function calls that work on platform "Z"
Another idea is to actually define the objects and functions that are
needed. You can construct a suitable function definition and call
the function has the right name and then calls alert with the
appropriate parameters, then it might work. I haven't tried this yet.