Edit Web Pages While They Are Open in Your Browser

Its a very cool hack using which you can make a webpage editable while it is open in your browser. Here’s the hack-

1. Open the webpage that you want to edit.

2. Paste the following javascript code into the browsers address bar(instead of the website’s URL), and press enter.

javascript:document.body.contentEditable="true"; document.designMode="on"; void 0

That’s it. Now you can directly edit the web page inside the browser. Try it, its really cool :)

9 thoughts on “Edit Web Pages While They Are Open in Your Browser”

  1. You can try File > Save As. Although I don’t think it is a good way to edit web pages. You need to edit it by directly editing css and HTML. This trick is just for fun.

Leave a Comment