ufal / korektor

Statistical spell- and (occasional) grammar-checker.
lindat.mff.cuni.cz/services/korektor
BSD 2-Clause "Simplified" License
17 stars 4 forks source link

Create browser plugins for Korektor service. #8

Open foxik opened 9 years ago

foxik commented 9 years ago

Create browser plugins for Korektor service.

Current plan is to have nearly same plugins for Firefox and Chrome. The plugin add context menu items which appear when clicking on input, textarea or contenteditable HTML fields. The rest of the implementation is a Javascript injected to the page.

Features:

MikkCZ commented 6 years ago

Is there something from the initial feature set not implemented yet? Are there any other ideas or plans, how to improve the extension?

foxik commented 6 years ago

In Chrome, an icon of Korektor appears on toolbar after installation; but we do not use it in any way (i.e., we do not have any context menu on left-click) and we probably should.

In Firefox, I am not sure what the current policy is, but having an icon appearing on toolbar after installation would be also reasonable (so that users can "see" the plugin is installed) -- but maybe we should instead use the "Tools" menu?

Other than that, the plugin currently offers all functionality as the web service. So the future improvements probably lie in (much) better UI -- the current one is a prototype I patched up in a few days. Opening the window "in" the page seems like a horrible hack, but I did not find a better way.