Edit Webpage Content on the Fly and Play Pranks with This Handy Bit of JavaScript
Feb 8th, 2011, 12:45 pm
Recommended Videos
Call us immature, but we just had far too much fun playing with a simple JavaScript trick that allows you to edit the text of most webpages as you see it. Go to a webpage, paste
javascript:document.body.contentEditable=’true’;
document.designMode=’on’; void 0
in the address bar, and hit enter. For the majority of sites, this will allow you to mess with the content of the site as you see it, most notably giving you the ability to delete text and replace it with whatever you want. Sarah Palin’s Facebook page and celebrities’ Twitter pages just got a whole lot more interesting! We thank Mr. Kanye West for bringing this trick to our attention.
(h/t Reddit. title pic “via” @kanyewest)
Have a tip we should know? tips@themarysue.com