We (www.anark.com) are implementing a plugin for any gecko-based browser and
were wondering about a bit of functionality.

In IE on windows, our plugin can send javascript events back into the page
by letting Explorer know that we support the IConnect interface.  Explorer
then registers itself with that interface and we can send messages back to
it through an IDispatch interface.

This is important so that our plugin can communicate events back to the
page, i.e. mouse position or a number of different settings.  We have had
success implementing an XPCom interface and letting the javascript in the
web page access the plugin.  Now we need to communication to go the other
way.

Any idea on how to send event from the plugin to javascript executing in the
web page would be greatly appreciated.  As a side note, our platforms are
windows and mac os 10.2+.

Again, thanks for any available help.




Reply via email to