Javascript trick to edit the page displayed

Goto any website and paste

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

in the address bar.

Now you can edit anything in that page. Really cool trick.


31 Responses to “Javascript trick to edit the page displayed”


  1. 1 Vincent

    Really cool :D

    I used it to trick my brother into thinking his website was hacked.

  2. 2 Nice trick

    Nice trick its easy it dosent really hack the site though :D

  3. 3 Anjan

    Really cool trick dude..
    i used this trick to edit the existing page to make prototype of my portal..

  4. 4 sanjeev

    How do you change the pictures on the website though?

  5. 5 sanjeev

    Can we also change the pictures on a website?

  6. 6 Abhinav

    it’s really cooooooooooooooool

  7. 7 qwerty

    how do you save the changes

  8. 8 cnu

    @qwerty
    You can save the resulting page as html file on to your disk. Unfortunately you cannot save the changes onto the server (if that is what you asked). That is the point of javascript.

  9. 9 cody

    Lol, i used this on my school grades site to trick my mom so i wouldent get grounded

  10. 10 lol cool

    lol i wish u could save these it would be so hilarious. i have a million things i would do with this if u could XD

  11. 11 Eclipse

    i went into CMD at my friends house and typed stuff really fast like:
    Net
    >
    Net user
    >
    Net Help
    >
    Help
    and then went into IE and got onto his myspace and started changing stuff xD it was fny

  12. 12 robert

    how do i save it

  13. 13 me

    lol i used it on my school’s website and showed everyone i knew to make it look like we didnt have school for three weeks it was AWESOME……but then i got suspended….

  14. 14 Luke

    Nice! Fun to use. I love tricking people at computer class into thinking I hacked the schools website!

  15. 15 lol

    U cant edit pages with pics. Changingtext and deleting everything is all u can do

  16. 16 juan

    umm its a kool trick but it does save it i wish it did tho

  17. 17 aaron

    very lol. i kno this dickhead who used this to trick me into thinking he was getting messages from this really hot chick saying they were together.. .lol pretty sad eh?

  18. 18 vikramhegde

    To edit pics, go to the webpage with the required pic. Paste the script in browser. Copy the pic. Paste in the page you were origially editing. Simple :)

  19. 19 dh

    But this is not working. I tried it in chome/safari >> no response.
    In IE >> error on page.

  20. 20 Brijesh

    Nice Man

    Very Goooooood

  21. 21 balls

    how do u get the points for lckerz

  22. 22 TOBY

    i edited my google.co.uk so instead of UK next to it it said we have cookies and i tricked my whole class into thinking google had a virus

  23. 23 Jonny

    Thanks but how do you save it.

  24. 24 udders

    go die save it you fuckers

  25. 25 dog

    y is there smile face at bottom of page?????

  26. 26 syrish

    Hi,
    Its awesome what you can do, but i am facing a problem… how to paste the image on the page you want to edit.

    Can anyone reply please asap.

    I need it urgently

    Thanks

  27. 27 Mark

    @dog
    Why not? >.>

  28. 28 Andrew Harris

    About the pictures, they can be inserted but pictures already on the page cannot be removed.

  29. 29 Andrew Harris

    @ syrish
    To paste an image on a page you want to edit just find the image you want to paste then right-click and do “Copy” then go to the page you want to add the picture too and do “Paste”.

    hope that help, if you have anymore question you can email me at: Andrew.Harris@mail.com

  1. 1 Facebook Mahabharatha « Doing Jalsa and Showing Jilpa
  2. 2 we can no spamz? - Page 3 - World Dominance

Leave a Reply