Pregunta

Does anybody know some translation dictionary libraries in JavaScript behaving like Kindle?

A main use case is that just putting the cursor on a word makes a popup meaning of the word in browser.

¿Fue útil?

Solución

Yes, there are a couple of browser plugins which do that:

There are probably similar services for other browsers.

If you want to do it with JavaScript in your web page, look into the source code of the plugins. But note that allowing users to use plugins for this gives them freedom of choice: They can bring their own (preferred) tool(s).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top