Monday, June 23, 2008

Edit Any Webpage with this JavaScript Trick

I stumbled upon another cool JavaScript. This time this line of code enables the document or the webpage to be editable(well resizable actually)... To try it out, just paste this line of code below onto the address bar of a site, for example www.google.com, thus overwriting the website's url and hit enter. Then click on any content in the webpage to edit(resize) it. hehe...

Here's a sample screenshot:


And here's the piece of code:

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

Cheers!

No comments:

Post a Comment