LanguageTool for Safari?

My local server works fine in Chrome - don’t work in Safari.

I use command:
docker run --rm -p 8010:8010 silviof/docker-languagetool

Could you check whether Docker is the cause of the problem by running LT directly?

java -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8010 --public --allow-origin '*'

Also, does it work if you specify https://api11.languagetool.org/v2 as the server in the settings?

I can’t check this now (installing java etc.). If I specify https://api11.languagetool.org/v2 in settings all works great.

EDIT: My bet - maybe Safari needs secure (https://) connection? Even if it’s local.

Yes, I think lack of HTTPS is what’s causing the issue.

I got it to work after setting a reverse proxy (Caddy, using these instructions HTTPS in Development) and changing the extension’s setting to use “Other server” (and setting it to https://localhost:8082/v2).

I wish Safari made it easier to find the issue.

How to open internal editor in Safari tab?
Something like URL chrome-extension://oldceeleldhonbafppcapldpdifcinji/validator/validator.html in Chrome?

I found URL safari-extension://{some ID}/{some ID}/validator/validator.html, but it’s not working. I can type text, but it is not checked by LanguageTool.

IIRC, there’s no item for LT in the context menu in Safari, is it? Thus, this feature isn’t accessible and has never been tested, I guess.

I’ve tried to install it as a Web Extension for Safari on iPadOS but it seems to be incompatible so far. Any chance to port it to iPadOS ?

1 Like

It’s on our wishlist, but I can’t make any promises about when we’ll work on it.