Toggle design mode to edit the current page

document.designMode = 'on'; // edit, then set to 'off'
  • javascript
  • dom