News for hackers. Stuff that matters.
Re:Bookmarklets I Use by chrismorgan on Sunday June 07, 2020 @03:50PM (#23450180)
If you’re putting the document into design mode (the best way of doing it), why are you also setting contenteditable on the body?

Shortened version of your bookmarklet, for fun:

  javascript:document.designMode=(document.body.spellcheck=document.designMode=='on')?'off':'on'

There are no comments on this comment yet.