Mikel Artetxe <[email protected]> writes:

> On Wed, Mar 13, 2013 at 9:40 AM, Mikel L. Forcada
> <[email protected]> wrote:
>
>     Apertiumers,
>     here's my idea #6:
>     
>     (6) Write an offline Apertium plugin for Firefox or Chromium, if
>     they
>     can launch Java plugins, based on apertium-caffeine but capable of
>     dealing with HTML.
>     
>     Not sure if it is feasible.
>     
>
> I basically know nothing about plugin development for web browsers,
> but Mozilla's own documentation says that "The DOM java object has
> been removed in Gecko 15.0 ((Firefox 15.0 / Thunderbird 15.0 /
> SeaMonkey 2.12). For this and other reasons, you should not write
> extensions that use Java code."[1]. As for Chrome, it seems that Java
> isn't supported for plugin development neither[2]. Note that, in both
> cases, compiling Java to JavaScript wouldn't probably be a viable
> solution in our case because of performance.

In which case you might as well compile the C++ to JavaScript:
https://github.com/kripken/emscripten#readme
;)

> In any case, what's the point of having an offline plugin for a web
> browser? If you are surfing the web, it's obvious that you have an
> Internet connection, so an online plugin could do the same job without
> any problem...

1. You don't have to send everything you read to a third party
2. No run-time dependencies except a web browser would be awesome

(But I agree, it's not _that_ much of a use case.)

-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to