How to Pretend to Hack a Website


For a prank, you can pretend to hack a website. The methods given here do not affect the website content; what you change is only visible on your computer. As soon as the pages is refreshed, it will all be back to normal.

Method 1 of 2:access the page


1. Go to the page you want to hack. Wait for it to be loaded fully. If you do it before, it will only edit what has already loaded. 


2. Copy this code into the URL bar:
  • javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0

    3. Hit Stop. If it worked correctly, the links will have turned into a more saturated blue color, and when you click somewhere you'll be able to edit text. 

    4. Edit. You can change text by highlighting it and typing. You can stretch or delete images just by clicking on them. Or, you can just highlight the whole page and hit delete. 
      
    5. Type the following code to make the page uneditable again:
    • javascript: document.body.contentEditable = 'false'; document.designMode = 'off'; void 1
    6. Once you have made the page uneditable again, left-click in the URL Bar and press ESC. This will reset the URL to the page you are on, making it look authentic. Or, you can open another tab and go back to the edited page!

    Method 2 of 2: Bookmark Method

     i. Create a new bookmark. For the URL put this: --> javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0 <-- Then save the bookmark as (for example) "edit page".

    ii. Create a second bookmark. For the URL put this: --> javascript: document.body.contentEditable = 'false'; document.designMode = 'off'; void 1 <-- Save it as (for example) "End Editing". 

    iii. Click on the "edit page" bookmark to edit the page you are on. Click the "End Editing" bookmark to make the site appear to be authentic.


    Tips

    • You can use this technique to remove ads.
    • You should have JavaScript enabled to do this. If you do not, you can simply enable it in your browser preferences.
    • This can be a good way to prank friends!

     

Related Posts:

  • Hackers Diary Part 1 I loved the feel of the keyboard as I typed, espically around Midnight, when School was only 7 hours away. That Dickhead in your 1st hour waiting to pick on you at the stroke of the clock. What little that he knew. … Read More
  • USB Password Stealer This tutorial will walk you through setting up a USB flash drive to steal the saved passwords on a computer. If you're looking for a super tiny, super discreet flash drive, we recommend SanDisk Cruzer Fit CZ33 64GB… Read More
  • How to Create Anonymous Voice            How to Create Anonymous Voice      Anonymous hackers! aNY REAL HACKER wont ask who they are. And you have seen videos on YouTube, how they call … Read More
  • How to Play DVDs and Blu-rays on Linux How to Play DVDs and Blu-rays on Linux Commercial DVDs and Blu-ray discs are encrypted. The Digital Rights Management (DRM) is designed to prevent you from ripping them, copying them, and watching them on unsu… Read More
  • How to Hack WPA/WPA2 encryption with Windows As you know there are a lot of ways to hack WiFi password. And at one of previous posts we speak how to hack WPA/WPA2 encryption with BackTrack OS. So there are and way for Windows users too. 1. You need to down… Read More
Web Hosting