How to trigger a NPAPI (hardware related) plugin in the absence of an html/mime/content tag?

81 views Asked by At

If this is a borderline question I would appreciate it if someone could point me in the right direction or a more appropriate web site venue for this kind of query.

I am very much a web newb and trying to figure out the following: how to trigger a NPAPI plugin in the absence of an appropriate tag?

My understanding is that plugins are triggered by MIME content tags in the html stream from the server for which the plugin has registered itself in the browser. This seems to require that the server be a participant in that it places the tag in the stream.

I have a situation where I need to access some hardware via a plugin from an generic (non-participating in the above sense) web site. For instance, any html stream with a login field should trigger an event (if that is the appropriate term) that calls the plugin. Is this possible in this - or any other - way?

1

There are 1 answers

8
taxilian On BEST ANSWER

You can't. Plugins are only instantiated by mimetype or object/embed tag. You could potentially add an extension that would inject said plugin into the page, though.

see http://npapi.com/extensions