Re:Bookmarklets I Use
by madars on Sunday June 07, 2020 @09:44AM
(#23447274)
You can also make any existing page editable (and then back to non-editable):
[ Parent
| on HN ]
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'