How do I automatically submit the value to the Google Login field?

0

Folks, I'm trying to create a faster login, since I have several google accounts. I would like to know how to send the value (email) automatically to the login field? Check the code below ... Am I missing the value of the send call, or is there no way to do this?

<script>
function openWin() {
    var myWindow = window.open("https://accounts.google.com/ServiceLogin?sacu=1&continue=https%3A%2F%2Fwww.google.com%2F%3Fgws_rd%3Dssl&hl=pt-BR", "", "width=auto,height=200");
    myWindow.opener.document.getElementById("demo").innerHTML = "Pronto!";
    var x = document.getElementById("mySubmit").data-email;
    document.getElementById("input").innerHTML = x;
}
</script>
<button id="mySubmit" data-email="[email protected]"onclick="openWin()">[email protected]</button>
    
asked by anonymous 21.04.2018 / 17:55

0 answers