Truth be told I didnt know I could use npruntime to do it. After googling callbacks to js i saw the threads mentioning observer service.
I havent found many sources of examples on npruntime save this google groups thread. http://groups-beta.google.com/group/mozilla.dev.tech.plugins/browse_thread/thread/65b86973d35bdbf9/7e2234a37b9cf17b?lnk=gst&q=NPN_HasMethod&rnum=1#7e2234a37b9cf17b Does anyone have examples on how to implement hasMethod? the first example that the poster used is using macros and objects that I cannot find. I want to try and use bipingm's method. I need to find an example though of how to implement NPN_HasMethod(). He says use NPN_HasMethod() to check the 'dom node', and then invoke the javascript function. I guess I'm still at a loss on how to invoke a javascript function though from the plugin. In the end its the very thing im trying to do with all this. appreciate your responses Nickolay _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
