How to Pretend to Hack a Website
Two Methods:Bookmark Method
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.
Steps
Method 1 of 2
-
1Go 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.Ad
-
2Copy this code into the URL bar:
- javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0
-
3Hit 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.
-
4Edit. 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.
-
5Type the following code to make the page uneditable again:
- javascript: document.body.contentEditable = 'false'; document.designMode = 'off'; void 1
-
6Once 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
-
1Create 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".
-
2Create 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".
-
3Click 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.Ad
We could really use your help!
Clash of Clans?

pool tables?

summer squash?

sexual health?

Video
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.
Article Info
Categories: Hacks
In other languages:
Español: Cómo aparentar que se ha hackeado un sitio Web, Italiano: Come Simulare la Violazione di un Sito Web, Português: Como Fingir que Invadiu um Site, Русский: имитировать взлом веб—сайта
Thanks to all authors for creating a page that has been read 213,588 times.
About this wikiHow