npruntime

How come NPRuntime require xpt file ?

I am trying to make sense of whatever I learned about NPRuntime. Here is a example of NPRuntime plugin from from mozilla-central of NPRuntime plugin, which mentions following lines // ============================== 145 // ! Scriptability related code ! 146 // ============================== 147 // 148 // here the plugin is asked by Mozi...

Using NPRuntime plugin in Firefox extension.

I have successfully run NPRuntime plugin on webpage by copying it to firefox plugin directory. I want to create a firefox extension using it, so I created small extension that displays a textbox and a button on status bar, button click calls a javascript function which takes value from textbox and passes as a argument to the function in ...

npruntime example plugin (c++) of NPAPI fails to run on mac OSX 10.5

Hi I have compiled Mozilla NPAPI plugin example npruntime on Mac OSX 10.5. It give me a libnprt.dylib I am bundling this dylib with proper plist. On loading the plugin, NP_GetMIMEDescription() is getting called (i am logging this), but its not going inside NP_GetEntryPoints(). How a part of code is getting loaded and a part not? Can...