HACKER Q&A
📣 solardev

Why is Firefox's spell check so awful? Is there a way to make it better?


Having just recently switched from Chrome to Firefox a few days ago because of Manifest V2 and a breaking change to bookmark keywords (https://issues.chromium.org/issues/397720842), I noticed that Firefox's English spell checker is much, much worse than anything else I've ever used. Compared to Chrome's internet-enabled spell check (that sends things to Google), it is so bad as to be almost unusable.

It doesn't recognize many normal words, much less common slang or proprietary nouns and names.

Is there a way to make it better? I don't care about the privacy aspects and wouldn't mind sending it to a cloud service like Chrome did, as long as it can better recognize common words.


  👤 veilgen Accepted Answer ✓
Ican understand your frustration with Firefox's default spell checker. While it's not as advanced as Chrome's cloud-based checker, there are a few things you can try to improve it:

1. Install a Better Dictionary: Firefox allows you to install custom dictionaries. You can search for dictionaries that might be more comprehensive or suited to your needs, such as specialized dictionaries for slang, names, or specific topics. To do this:

Go to Firefox Settings > Language > Choose a Dictionary.

Install additional dictionaries from the available list or download them from reputable sources.

2. Add Words to the Dictionary: If it’s not recognizing common words, you can manually add them to Firefox’s dictionary. Simply right-click on the word that’s flagged as incorrect and choose “Add to Dictionary.”

3. Enable Third-Party Extensions: There are extensions available for Firefox like Grammarly or LanguageTool that offer more accurate spell checking and even grammar suggestions. They can integrate cloud-based checks similar to Chrome's approach.

4. Consider Cloud-Based Spell Checkers: If you don’t mind sending data to a cloud service, using third-party spell checkers (like the ones mentioned above) can offer better performance. They can work across browsers, so it’s a similar experience to what you had with Chrome.

Unfortunately, Firefox doesn’t have the same advanced cloud integration for spell checking as Chrome, but these options might help make the experience better!


👤 solardev
I wonder if it'd be possible to write an extension that uses the Native messaging API (https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/Web...) to talk to a lightweight shim that uses the macOS native spell checker (https://developer.apple.com/documentation/appkit/nsspellchec...) instead. It'd be faster than sending it to a cloud service, yet still much better than the Firefox one.

Has anyone tried that, or know any reasons that shouldn't work?

I might try to write one, otherwise.


👤 solardev
I found some alternative dictionaries, like this one (https://addons.mozilla.org/en-US/firefox/addon/english-us-di...), but it doesn't seem any better.

Words like "necropsy", "spilt", "frontend", "ecmascript", etc. are completely foreign to it. I never had an issue with common words like those in Chrome. Even the OS's own spellcheck is better... can I turn off Firefox's and use my OS's instead?


👤 stop50
which dictionary do you have installed? Dictionaries are a special type of extensions, so you can install additional ones.