languagetool-org / languagetool-browser-addon

LanguageTool Firefox and Chrome Add-on (OUTDATED)
Other
128 stars 52 forks source link

LanguageTool does not work in Thunderbird for macOS #277

Closed vaelu closed 1 month ago

vaelu commented 1 month ago

I recently switched from my Windows to macOS and installed Thunderbird there. However, the LanguageTool extension does not work. I can see it in the top right, so it's installed, but it does not check the text. image

danielnaber commented 1 month ago

Are you sure you installed it from https://addons.thunderbird.net/thunderbird/addon/grammar-and-spell-checker/? The screenshot mentions "This website", so it looks you installed the browser extension instead of the Thunderbird one?

vaelu commented 1 month ago

@danielnaber Yes, I installed it from there. Just reinstalled it again but it doesn't work.

danielnaber commented 1 month ago

Which version of TB do you use? Do you write HTML or plain text email, does it fail for both types? Also, could you send a larger screenshot that also shows some part of the email text that doesn't get checked?

vaelu commented 1 month ago

My TB version is 115.12.2. It happens in both email types, HTML and plain text. image

danielnaber commented 1 month ago

Please make sure you're installing the add-on from within TB, i.e. clicking the cog wheel icon, then "Add-ons and Themes". If that doesn't help, I'm running out of ideas.

vaelu commented 1 month ago

@danielnaber I installed it directly within TB. Do you have a macOS test device, or do you know someone in the community which is using TB with LanguageTool on macOS? I would be interested in other macOS users, since I don't think that this happens only to me.

danielnaber commented 1 month ago

I can ask a colleague on Monday. Until then, can you open Tools -> Developer Tools and see what the output of navigator.userAgent in the console is?

tools

vaelu commented 1 month ago

@danielnaber The output is "Thunderbird". image

danielnaber commented 1 month ago

The output is "Thunderbird".

That's the issue. We expect "Thunderbird/" followed by a version number. Maybe you or an add-on manually modified the user agent in the past. If you reset it (should be possible in TB's advanced config dialog), LT should start working again.

vaelu commented 1 month ago

@danielnaber Oh, you are right. To be honest, I don't remember exactly why I did this, but resetting the user agent fixed the problem.