How to disable spell checking in Firefox for a specific website/domain?

I want spell checking enabled on Firefox except in a few websites.

How can I permanently disable spell checking in a specific website or a domain, e.g. foo.xxx?

I know I can right-click and remove the check mark from "Check Spelling" but that is temporary, I want something that saves the setting for that particular website or text field.


Solution 1:

Half solution but better than nothing:

You can turn off the default spell checking in Firefox ( layout.spellcheckDefault set to 0 ) and then use the https://addons.mozilla.org/pl/firefox/addon/languagetool/ extension. (recommended by Firefox)

  • Now you can get permanent domain exclusion in this extension:

enter image description here

  • or that way:

enter image description here

Solution 2:

If it's a website you have control over, you could set the spellcheck attribute on the input tags.

https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck

<input type="text" spellcheck="false" />

I just used this attribute on a text field where I asked the user to enter a work order number that included letters and numbers. (Definitely not a dictionary word.) Worked perfectly.