2 ms·
NSAPI was horrible in many ways from day one. FWIW, here's some feedback I wrote up and sent to Netscape about the original version of the Netscape 2.0b3 plug-
by DonHopkins 5y ago
NSAPI was horrible in many ways from day one.
FWIW, here's some feedback I wrote up and sent to Netscape about the original version of the Netscape 2.0b3 plug-in SDK (NPAPI), when I worked at Kaleida. This was from around 1995, when JavaScript was called LiveScript, before anything like LiveConnect/XPConnect/NPRuntime existed, when Netscape though Java was the solution to all their problems, and before ActiveX of course (but I warned them about Microsoft's use of OLE in the browser), so plug-ins only had very limited if any interaction with LiveScript and DOM.
ScriptX was a multimedia scripting language, a lot like object oriented Lisp or Python with built-in graphics and multimedia libraries. But unfortunately it was not designed to be an extension language library that could plug into another application like Netscape, the way Python does so well. So I made a "ScriptX Plug-Out" that integrated ScriptX running in another process with a Netscape plug-in via Apple Events.
https://donhopkins.com/home/archive/netscape/Netscape-Plugin-API-Feedback.txt https://donhopkins.com/home/archive/netscape/Netscape-Plugin...
>The plug-in interface is totally mime viewer oriented, which is very
limiting, and too narrowly focused. There's no way to do background
plug-ins (even though the documentation claims they're supported,
there's no way to express them through the api), protocol handlers
(like you can already do through the Spyglass Browser Remote Control
interface, but only in another process), or embeded plug-ins that
aren't viewing a file (like a QuickCam viewer plug-in that doesn't need
to read a file since it gets its input from hardware, or my cellular
automata plug-in which can be configured from the html embed properties,
and generates animation algorythmically).
>I hope NetScape can come up with a plug-in interface that is good enough that they can implement their own navigator components with it (like the mail reader, outliner, progressive jpeg viewer, etc). The only way it's going to go anywhere is if they work closely with developers, and use the plug-in interface for non-trivial things themselves. Microsoft already has a VRML plug-in for their navigator, so presumably they have a plug-in interface, and from what I've seen on their web site, it may not be "good enough", but it's probably going to do a lot more that you can do with NetScape right now, since they're exposing a lot of their navigator's functionality through OLE. They seem to understand that there's a much bigger picture, and that the problems aren't trivial. Java isn't going to magically solve all those problems, folks.
For more historical background, here's some stuff I wrote about the browser plugin scene in 1996, including a link to a "pluggers" survey about plug-in technology that I wrote at Interval Research called "An Overview of Plug-In Technology circa March 1996", which describes and compares Spyglass's Browser Remove Control API, NSAPI, ActiveX, Java, JavaScript, etc.
https://news.ycombinator.com/item?id=19837817 https://news.ycombinator.com/item?id=19837817
https://donhopkins.com/home/interval/pluggers https://donhopkins.com/home/interval/pluggers
https://donhopkins.com/home/interval/pluggers/navigator.html https://donhopkins.com/home/interval/pluggers/navigator.html
https://donhopkins.com/home/interval/pluggers/java.html https://donhopkins.com/home/interval/pluggers/java.html
https://donhopkins.com/home/interval/pluggers/requirements.html https://donhopkins.com/home/interval/pluggers/requirements.h...
https://donhopkins.com/home/interval/pluggers/problems.html https://donhopkins.com/home/interval/pluggers/problems.html
- RedShift1 5y agoThanks for this. I really don't like it when stuff gets thrown away but I'm starting to come around why NPAPI had to go... Haven't finished yet but interesting reads.