1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Edit any website of your choice with a single line of code

Discussion in 'BlackHat Lounge' started by HoNeYBiRD, Feb 26, 2010.

  1. HoNeYBiRD

    HoNeYBiRD Jr. VIP Jr. VIP

    Joined:
    May 1, 2009
    Messages:
    5,880
    Likes Received:
    7,118
    Gender:
    Male
    Occupation:
    Geographer, Tourism Manager
    Location:
    Ghosted
    Some of you may already know this little trick, but some of you don't, so here it is:

    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.
    Of course you can't actually edit the actual web page, but you can edit the page as you see it on your screen.

    Code:
    javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
    Have fun!

    P.S. Do not use this method to create fake earning proofs, seriously!
    I hope i never have to send my little friend to hunt you down, do i? lol

    [​IMG]
     
    Last edited: Feb 26, 2010
  2. judge886

    judge886 Junior Member

    Joined:
    Jan 16, 2010
    Messages:
    104
    Likes Received:
    136
    Occupation:
    British Army
    Location:
    Oxford
    LMAO I just convinced my wife I deleted her facebook profile hahaha thanks for the giggle