How to edit any web page by activating Design Mode

<Andrew Rymaruk />
Oct 18, 2019 · 2 min read
Image for post
Image for post

You can edit any website directly in your browser.

If the design mode is enabled, the user can edit the entire contents of the document like in a WYSIWYG (What You See Is What You Get) editor.

Image for post
Image for post

The designMode property is not supported by HTML elements, only the editable state of the entire document can be modified with it.

Image for post
Image for post

If you’ve ever wanted to quickly:

  • Show a client how their site should look
  • Edit a website so your designer knows what you want
  • Make your bank account look like it has $100m in it

…then the following trick is for you.

No tech knowledge is needed. No HTML tags appear in the text.


JavaScript In Plain English

New JavaScript + Web Development articles every day.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store