Pass url from java script to NPAPI plugin

点点圈 提交于 2019-12-11 03:15:16

问题


I need to pass currently browsing url string which I have in my javascript to npapi plugin. How can I do this?


回答1:


Please see http://npapi.com/tutorial3

You need to create a NPObject to return to the page; you can then implement a method or property for making the call.

You may want to look at FireBreath; it simplifies all of this.



来源:https://stackoverflow.com/questions/6986390/pass-url-from-java-script-to-npapi-plugin

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!