Вопрос

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.

Это было полезно?

Решение

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).

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top