Hello guys!
This is my first question on codeproject. Please forgive me if I had not provided all the necessary details in my question. I'm working on my college project which is a chrome extension. We've already stored the name of the website, username, and password in MySQL data type. The requirement now is - if the user opens a site like Facebook and enters the username and if the details of his are already stored in the database, then I must be able to fill the password field of the website. This extension is currently being developed only using HTML, javascript and PHP. So, if possible, I would want you all to help me solve my issue using the above mentioned languages only. Any frameworks can also be mentioned but the learning curve must not be too steep since I don't have much time left to be able to learn much. Please help me.
username <input type="text" onclick="myFunction()">
password <input type="password"id = "1" name="name" >
<script>
function myFunction()
{
document.getElementById("1").value = "Get Password";
}
</script>
I know how to update the password field in my webpage but, please guide me on how to do this in any other site.