Use Firefox to spell check your website

If you maintain a website, you will surely know how important it is to never have any spelling errors in your copy. And if you really care you will always run for sure a spell checker on all your text, but isn't that quite over work? Wouldn't it be much simpler if your browser did all the spell checking without you having to worry about anything?

Well, there is a very simple way of doing so, simply copy the following javascript code and paste it into the address bar:

  1.  
  2. javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
  3.  

If you find it useful, I recommend that you store that code as a bookmark, I call it Spell Check for example.

Note: I'm not sure whether this will work or not on all browsers, I have only used it on Firefox. And by the way, if you want to change the language right click over some text (Once the spell check was applied) and in Languages select another one, remember that you can download any dictionary that you might need.

This system basically makes all the text editable, and since Firefox automatically spells checks all user input (If you set the options to do so) it will spell check the whole page ;)

Cheers,

About Alex

Hello! I'm Alejandro U. Alvarez, an engineering student at Universidad de Oviedo (Spain). I started programming during my Freshman year in Brookline High School (Boston, MA), and then got more and more interested in web development. I'm almost in love with JavaScript, although I keep an open mind with other languages