News for hackers. Stuff that matters.
Re:Let’s Write a Firefox Web Extension by FreakyT on Monday September 21, 2015 @10:14PM (#10256305)
To be fair, no one should be using Java applets in this day and age, and hopefully this will finally kill them off for good.
Re:Let’s Write a Firefox Web Extension by mindcrime on Monday September 21, 2015 @11:02PM (#10256423)
Not sure I agree with that. I like, for example, the Java applet that goes with FreeMind for viewing mindmaps.
Re:Let’s Write a Firefox Web Extension by yellowapple on Tuesday September 22, 2015 @12:20AM (#10256609)
Java is still required for a lot of educational gizmos online (like physics demos/examples). Hopefully there'll be an effective way to keep such things alive "in this day and age".
Re:Let’s Write a Firefox Web Extension by drdeca on Monday September 21, 2015 @10:21PM (#10256330)
Though, now you can't make certain types of sockets in browser...
Re:Let’s Write a Firefox Web Extension by mmebane on Monday September 21, 2015 @11:13PM (#10256446)
Nor can you integrate with the local filesystem, or call native APIs. With a hidden Java applet, it was pretty easy to make a full-fledged application that just happened to have a web-based API. That's getting a lot harder.

Chrome extensions have an API called Native Messaging which is roughly the postMessage API over stdin/stdout. It works, but isn't cross-browser. Alternatively, you can start up a local server and make XHR or WebSocket calls to localhost. However, both of those require the user going through an external install process. Maybe, in the current security landscape, that's the way it has to be, but it's kind of annoying.