lundi 25 janvier 2016

how to pass username and password to URL?

I have a login page at work and every day I have to enter user/password.

I want to write something that could help me use variables to improve my work life. If I inspect the HTML code I find on the user filed:

<input data-val="true" data-val-required="The field Username is required" id="Username" name="Username" placeholder="Username" value="" type="text">

And for the password field:

<input data-val="true" data-val-required="The field Password is required" id="Password" name="Password" placeholder="Password" type="password">

If I fill value="" with the username and I then I do the same for the password field I can login! So value="" is what I need for both field.

But how to pass this HTML code into the URL? My goal is to write a link like <a href="#" target="_blank">Link</a> that will help me login to that URL in a click with already user/password in it.




Aucun commentaire:

Enregistrer un commentaire