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