Anyone can help to use java to autofill Gmail password field?

355 views
Skip to first unread message

edmun...@yahoo.com

unread,
Nov 2, 2017, 1:15:45 PM11/2/17
to Autofill Chrome Extension
Hi everyone,

i'm trying to use autofill to login Gmail with a single click by auto-fill email field, submit click on button, auto-fill password field then submit click again but got stuck at the Password field page.

Here're the java scripts i tried but to no avail:

document.querySelector('password').value = '123456';

document.getElementById('password').value = '123456';

document.getElementById('current-password').value = '123456';

In fact, i managed to get the script right previously after reading up on codings when i got intrigued by this program, but i lost all my profiles after reformatting my comp... :(

Did an "inspect" on the field:

<input type="password" class="whsOnd zHQkBf" jsname="YPqjbf" autocomplete="current-password" spellcheck="false" tabindex="0" aria-label="Enter your password" name="password" autocapitalize="off" autocorrect="off" dir="ltr" data-initial-dir="ltr" data-initial-value="">

Still, i couldn't find the actual tag for inputting the value.... Anyone can help?

This program has definitely spared me from keying user ids and passwords for all my accounts, imagine all the time saved & memorising of multiples pwds.
Reply all
Reply to author
Forward
0 new messages