Javascript - Edit Any Webpage

08 Sep 2008 | Sent in by Peter Jones

Here's a neat Javascript trick that allows you to edit any webpage on any site using just the web browser. Of course, you are only changing the site in your own computers memory/cache not on the actual site itself.

Simply goto any website and paste in the URL address bar:

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

Now you can edit anything on that page. How you can use this trick - try making up some wacky headline about aliens or even yourself on the www.nytimes.com news website and taking a snapshot to send to your friends, etc. The neat things you can do with this are endless.

 

Comments (0) Add your comment

No comments have been submitted yet - why not be the first?