Cut and paste one line of code to make any website editable

  • 45
  • July 7, 2008

Have you ever wanted to edit the web pages of another website? This simple line of code makes it possible. Of course you can’t actually edit the actual web page but you can edit the page as you see it on your screen.

This is one of the ways scammers create fake screenshots, fake Adsense & affiliate earnings and even fake Paypal transactions.

Here’s a method of editing the webpage in browsers without developer tools; all you need to do is visit the site you want to edit, paste the code below into your web browser address bar (tested in Firefox & IE7, fails in the Chrome search box) and hit the Enter button.

Then simply select a portion of text on the page and start editing.

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

Alternatively, you can install firebug and edit inline using this tool.

Patrick Altoft

About Patrick Altoft

Patrick is the Director of Strategy at Branded3 and has spent the last 11 years working on the SEO strategies of some of the UK's largest brands. Patrick’s SEO knowledge and experience is highly regarded by many, and he’s regularly invited to speak at the world’s biggest search conferences and events.

Like what you see? Talk to an Expert