NOTE: This trick has been patched in the latest versions of browsers. You can do this trick in older versions of browsers. As firefox is easier to install,use firefox 3.5 or 4.0. |
So what can you do with this trick?
You can edit content of any website including facebook,myspace,twitter etc.For instance see the pic below
How to perform this trick?
Open any website of your choice (like facebook) in browser (internet explorer,google chrome,firefox) and clear the address bar of the browser.
Copy paste the following javascript code in the address bar of your browser
javascript:document.body.contentEditable='true'; document.designMode='on'; void 0
And thats it.Now Click on any text and Start editing that is written on that page. You Can take its Snapshot after editing and show that to your friends and became Hacker in front of them ;).
How this trick actually work?
This is a javascript code on the the browser side.It is temporary and the changes will be gone once you refresh the webpage.
The javascript code JavaScript:document.body.contentEditable=’true’
; makes the website editable in your browser.
The code document.designMode=’on’
tells the browser to turn the designmode on
The code void 0
tells the browser not to show any error
So, enjoy this funny trick to hack facebook.