comScore JavaScript to Edit Webpages | The Mary Sue

Edit Webpage Content on the Fly and Play Pranks with This Handy Bit of JavaScript


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

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? [email protected]

Filed Under:

Follow The Mary Sue: