Question

is there any way the NPAPI plug-in call the function in JS? if yes,please give me an example.By the way,my plug-in is running on safari.
Thanks very much.

Was it helpful?

Solution

You call JS functions using NPN_Invoke() or NPN_InvokeDefault().
I recommend to read through some introductory material on writing NPAPI plugins.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top