Google PlusFacebook iconTwitter icon+44 113 260 4010 contact@branded3.com

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

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.

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) 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

BY Patrick Altoft AT 9:30am ON Monday, 7 July 2008

Patrick Altoft is Director of Search at Branded3 and has worked in the SEO industry for over 10 years. With experience across some of the worlds largest brands as well as startup businesses Patrick is well known in the industry and speaks regularly at the major SEO conferences and events. Follow Patrick on Twitter or Google+

Comments

  • Lewiss

    I dont understand how to edit the website or what to do helppppp

  • http://www.lalacan.com/ lalacan

    Hmmmm…I’ve never heard about this before,
    I’ll try it on my blog :D

  • jowanie

    Pleas provide me a code on how to update the edited website

  • Nicole

    it is easy as 123 and abc that is how i now good luck everyone

  • http://www.poundproductionsllc.com/ Azim

    Cool, I’ll try it later :)

  • none

    How do you save it

  • http://www.techsource.in application development india

    Very interesting bit of code there. I tried it and found it working. I could actually edit websites. Great post!

  • http://www.rumneyexclusive.com canvas paintings

    Hi there, never new you could do this, thank you for posting.

  • http://stardoll.com kiara

    hey i love doing it.

  • noname

    How would you make the changes permanent??????

  • http://balochyout.webs.com Sardar Baloch

    how do after change the website how can submit or publish it editable page

  • Pingback: Prabhakaran’s » How to edit a website – cut & paste one line of code to make any site editable

  • http://www.shopfordesigns.com logo design crowdsourcing

    wow thats really nice and scary as well. being a webmaster i am afraid of it. i dont know how many such tricks exist. will try it

  • http://www.oc-swimwear.co.uk Oli

    Damn! Thats just made a whole lot of things make a whole lot of sense! Thats how they do it! Thank you so much.

  • http://www.priyankarmukherjee.com web design kolkata

    I think there is nothing to be afraid of this since web hosting providers are all patching up their systems to get around this security flaw.

  • tito

    well i try it but it didnt really work for me it dint safe what i had change how can i safe the things i change?

  • http://specialcontrolovermind.webs.com ali

    keep it up

  • http://lifelandrealty.com Lifelandrealty

    i want 2 edit my website

  • mishahri

    isnt it sooooo bogus…it doesnt save

  • http://www.lifeofpranks.weebly.com seleth

    what i wanted to do, was get google maps, still the same and stuff, execpt i wanted to change the look at name of it for my own website, for E.G: prank maps, ghost maps, you get the idea?

  • Anonymous

    Guys, you realize this is all just for fun…. once you reload the page, it goes back to normal. did you really think it would be THAT simple to edit any text?

  • MeEeEeEe

    OMg….. i used this to edit a website that has ” you can’t see content. fill survey.”box. i deleted it and everything was working. it cool little code.

  • Bob

    When you're done, you should add:
    javascript:document.body.contentEditable='false'; document.designMode='on'; void 0

  • jugheads

    this is how big websites can edit their sites… i wonder what i could do to club penguin >:D

  • joel

    screenshot

  • http://google.com nermin

    my browser did not sarch for it

  • Truman Capote the Triastermon

    If you could save this then so many websites would die. You can not safe this.

  • You Guys Are Idiots

    HI EVERYONE. Just so you know, changing “true” to “false” doesn’t actually work. You CANOT SAVE THESE. It’s just meant to play a prank or so that you can take a screenshot and mindfuck someone.

    For christ’s sake it’s NOT THAT BIG OF A DEAL.

  • http://www.mortonsmailing.com Mailing Fulfilment Services

    This is a great piece of code and something i was unaware of till now. I’m not new to web editing as such but this is new to me and very cool.

  • John

    can I edit a website on a mac? I already tried and I can’t. I don’t know if I am doing something wrong or I just can’t do it on a mac.

  • rei

    I’m doing my thesis.Graduating BSCS.How can I make a website that is all editable and save changes afterwards….and editing is only allowable upon login of admin….Thanks

  • http://www.coretal.net/ evrim

    Hello,

    Here is a service that can make any site editable:
    http://www.coretal.net/

    Also, there is a screencast showing how it works:
    http://www.vimeo.com/21781218

    Regards.

  • Pingback: » how to edit a website

  • http://google.co.uk kieran c

    this dont work i ut it in and it says it cant show the page help me

  • Jan

    or you can save the page(.htm or .html)
    and edit the page with notepad.. works like javascript but better. this is how other people get website templates.

  • http://www.ecobusiness.com/behealthy Business Opportunities

    The Green Products Market is exploding and you have a unique opportunity to capitalize on this growing trend. If you ever thought of starting a home based business…this is it…the time is now! No out of the pocket start up cost … No obligation.

  • Hi

    To save work press FN+ Print Screen. Open up paint. Paste it in!

  • http://www.ebook-review.org/author/admin/ Alberto Seaburg

    Hello
    I wasent looking for that but still a great post

    how did you guys found this information??thank you for your blog I saw it on Google And I saved it .I like. Please send me updates

    thank you and have a nice day

  • Jay

    im trying it but it doesn’t work someone help me!!!

  • http://www.connetu.com Paul Web

    A cute browser trick that makes for some good practical jokes, but the usefulness in real situations is of course limited. Still, it’s a good lesson in browser capabilities ofr noobs.

  • Lainey

    Hey I used to love this trick but it’s not working for me anymore. On Chrome and Safari when I hit enter it just takes me to a search engine now! And on Firefox it’s just plainly not working.

    Anyone know why it’s not working anymore? PLEASE email me: fighttheprocess@live.com

  • http://habbo.com craig

    it doesn’t work it sends me to a new page giving a search on what document.body.contentEditable=’true’; document.designMode=’on’; void 0 is…. how can it work? + i use firefox…..

  • http://www.foldedleaflets.org.uk Folded leaflet printing

    This is great for playing tricks on people, a very cool little tool.

  • gorillabond

    Wont work on Firefox 8 ;(

  • Jimmy

    This code used to work for me, but not anymore :(

  • http://www.brianreport.com Brian

    Perhaps it stopped working because I just tried it and nothing happens. I tried it on both firefox and chrome.

  • Ed Kwok

    you guys gotta put in a “javascript:documents” etc. (just without quotes) nad that etc of course

  • http://www.viagrapillenbestellen.nl/ erectiepillen

    I used this to edit a website that has ” you can’t see content. fill survey.”box. i deleted it and everything was working. it cool little code.

  • http://gmail.com ,fjeoqoqqww2

    where do you put it in the bar?

  • http://justinbeiber@yahoo.com You Noobs

    This is so old and outdated….

  • http://www.viagrakopenonline.nl/ koop viagra

    This is great for playing tricks on people, a very cool little tool!

  • Tabish Khan

    It’s not a hack though, because the edit is visible only to the person editting it, not to others :)

  • Anthony

    You can save it… when you are done press prt Sc button on ur keyboard, open paint and press paste and voila. now u press save.

    -DeZal

  • http://blogstorm jarrett

    i tpye in the hack code abd press enter but nothing happenend people tell me what to doi am not that goo at tpyeing these things

  • http://blogstorm jarrett

    i type in the code and press enter and nothing happened help i really do not know how to do this

  • miatana

    i tried to use the code with my school website to change my grade but it is not working. i am in college by the way so all the grades are posted in the school website. any help ? please? thank you

  • wow

    guys. you have to type in javascript: with a space after the : and THEN type the rest of it omg

  • roli

    it remains same after i come back or reload can u plz tell me a permanent one the sent it to ankuroli28@gmail.com

  • George Morgan

    If you’re on Chrome, press Ctrl Shift and J and paste it in there, then press Enter.

  • ryguy808

    code does not work if you just put it in the search…

    1. Go to edit HTML

    2. Insert The Code

    3. Edit the website however you want it

    4 Click done to finish edit and refresh to save changes

    Your Welcome!

  • http://www.facebook.com/charles.wallace.3367 Charles Wallace

    You can’t make the changes permanent. Javascript is purely client-side, though it can be used to send things to the server. It just edits what you’re seeing, not anybody else.

  • http://twitter.com/joeyvend Joey

    works in safari (on Windows computer) in address bar. No Shift Ctrl FN Hit 3 , then do 5 jumping jacks, just download Safari and put the code in address bar.

  • J S

    you have to type by hand the ‘javascript:’ but you can copy and paste the document.body…