How To Edit Any Website Using Javascript

I stumbled upon this cool piece of Javascript today. Using this, you can visually edit (WYSIWYG) any website online using just your browser. Of course, the changes won’t be saved and this trick is pretty useless, but it may come handy to impress your n00b friends.

Just navigate to any site you want to visit, copy this line of JS code into the address bar and press Enter.

[js]javascript:document.body.contentEditable=’true’; document.designMode=’on’; void 0[/js]

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

The whole site turns editable and you can screw it up as you want. You can use it to test the look of your website and edit it fast without any softwares and without having to tinker with the source. A few n00bs I showed it to even thought I hacked the site. Whoa!

Also read...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>