If you really want to impress someone with your hacking skills then this trick will surely help you.Well this is actually not any hacking just a simple javacript trick but the other person will surely believe you as a hacker.
So what can you do with this trick?
And thats it.Now you can edit anything that is written on the page.
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 you can edit anything that is written on the page.
Â
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.