ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to use Firefox dictionary from Javascript

  • 2 (ردّان اثنان)
  • 1 has this problem
  • 1 view
  • آخر ردّ كتبه Col_Boogie

more options

I know Firefox has its own dictionary used when I enter words in a text box. How can I use and access the dictionary from javascript? If it is complicated, like having to write a C program, that ugly, but OK. There are two functionalities that I will need: 1) Is this a word? 2) Is this the start of a word? Being able to do both at the same time would be nice. For 2) a list of letters the word could continue with would be nice

I know Firefox has its own dictionary used when I enter words in a text box. How can I use and access the dictionary from javascript? If it is complicated, like having to write a C program, that ugly, but OK. There are two functionalities that I will need: 1) Is this a word? 2) Is this the start of a word? Being able to do both at the same time would be nice. For 2) a list of letters the word could continue with would be nice

All Replies (2)

more options

Modified by cor-el

more options

I want to invoke functions from javascript (will <script src='http://mxr.mozilla.org/mozilla-release/source/toolkit/modules/InlineSpellChecker.jsm'> do that?. I want to use same module that Firefox is using. If I need to point to right language, that is OK).