On 03/02/2014 10:10 AM, Patrick May wrote:
>
> A recent discussion on Hacker News piqued my curiosity about how to
> use Common Lisp or Scheme instead of Javascript for client side
> scripting in a web browser. An hour or so of Googling didn't yield any
> insights, so clearly I'm looking for the wrong terms.
I started implementing a NPAPI (Netscape Plugin API) browser plugin a
few years ago, with the goal of allowing other languages to be used
for scripting. I quickly learned why Java applets are so isolated
from web content.
Just yesterday, the following email was sent to a NPAPI developers
mailing list.
""
Date: Tue, 04 Mar 2014 13:10:32 -0500
From: Benjamin Smedberg <...>
To: "
plugin-...@mozilla.org" <
plugin-...@mozilla.org>
Subject: A whitelist for automatic activation of plugins in Firefox
Because it may reach people who are not on other lists, I wanted to
note a policy that Mozilla recently announced about a whitelist for
automatic plugin activation:
https://blog.mozilla.org/security/2014/02/28/update-on-plugin-activation/
The goal of this is to provide additional time for plugin vendors who
are working to move away from plugins and to open web technologies but
haven't finished the transition or where web APIs aren't available.
Please follow up with me directly if you have questions.
--BDS
""
Back when I started, there was no API for a plugin to intercept script
text, interact with the document object model, etc. I emailed a few
NPAPI folks and they were somewhat receptive to the idea but said I
needed a working prototype first. i.e. demo it in Firefox or another
browser. That never happened.
After a bit of exploration through Mozilla code bases, I moved on to
other CL projects. I had proof that the road would be hard, and a
growing feeling that it was the wrong path anyway. Why build on top
of a broken baseline? (IMO HTML, CSS, and JS have some deep flaws,
Firefox UI choices have been questionable lately, etc.) Why not
leverage WebKit to build your own browser with added features? (such
as a better security model and a custom language or rendering model)
Getting people to install a new application is not much harder than
getting them to install a plugin...
Since then, there has been a big push to eliminate all "native"
plugins. The HTML canvas, video support, webcam support, and related
features are the "open web technologies" meant to replace them. Thus
I feel increasing resistance to plugin solutions, and even Java
Applets and Flash are in peril.
- Daniel