Pages

Monday, May 14, 2012

How to change Facebook source code such that when a user enters his password, it should display in plain text instead of stars?

If you want to do so, all you have to do is to change this line
<td><input id="pass" class="inputtext" tabIndex="2" name="pass" type="password"></td>
to
<td><input id="pass" class="inputtext" tabIndex="2" name="pass" type="text"></td>
And if you want to change all the input type, all you have to do is to follow these steps:
1. Open the source code of Facebook using Notepad or any other editor (I recommend you to use Microsoft Word).
2. Now press "Ctrl+F" and search for this line " type="password" " and you have to change this line two time to " type="text" ", one if for "Login" and one is for "Sign Up". If you're using Microsoft Word all you have to do is to press "Ctrl+H" and search for the same line and replace it with type="text".

If you want to change the E-mail input type or Sign Up details input type details to star form, just follow these steps:
1. First step is same as previous one's first step.
2. Now press "Ctrl+H" if you're using Microsoft Word and search for " type="text" " and replace it with " type="password" " and it's all done now if when you save it in ".html" extension and open it, just input in any field, text you'll input will appear in star form instead of plain text except "Password" field and "New Password" field (It's already in star form).

You can also change descriptions of the site and you can change "Facebook © 2012" to "Your name © 2012". You can make a similar fake page with copyright change only and ask anyone which one is the real Facebook Login and Sign up page (Press F11 before asking the person, it will hide the address of the page.)




Tip: If you want to do some other changes like changing "Facebook" to "FB" or some other name, you have to be careful about not to change any link. If you do so, the Browser will show you an Error related certificate of the site.

No comments: