<!DOCTYPE html> <html> <body onload="init()" spellcheck="true"> <div contenteditable>blahblahblah</div> <script> function init() { document.body.setAttribute("spellcheck", "false"); } </script> </body> </html>