Spell checking with Firefox

The script:

if(document.designMode=='off')
  {
    document.designMode='on';
    document.body.contentEditable='true';
    void(0);
  }
else
  {
    document.designMode='off';
    document.body.contentEditable='false';
    void(0);
}

One-liner:

if(document.designMode=='off'){document.designMode='on';document.body.contentEditable='true';void(0);}else{document.designMode='off';document.body.contentEditable='false';void(0);}

p.s. russian spellchecking dict is here

Tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.