I need to pass currently browsing url string which I have in my javascript to npapi plugin. How can I do this?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
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.