change source code of website code example Example: how to edit web pages like a document using console document.body.contentEditable=true