r/userscripts • • 12h ago

Automating FamilySearch Login

Post image
2 Upvotes

Hopefully someone can help me, I don't know why but I keep having to logon so I'm trying to automate this (example) url while logged off of course:

https://ident.familysearch.org/en/identity/login/?state=https://www.familysearch.org/en/search/tree/results?count%3D100%26q.anyPlace%3DAustralia%26q.anyPlace.exact%3Don%26q.birthLikePlace%3DAustralia%26q.deathLikePlace%3DAustralia%26q.givenName%3DEdmund%26q.surname%3DBareis%26q.surname.exact%3Don

Chrome (I think) on Windows 11 is filling both the username & passwords, so if I manually click "sign in" it works (I want to automate to remove the delay until my info renders, I want that to happen async with everything else I'm doing at the time).

In the Chrome console if I type the following command it works (logs me on): document.querySelector('button#login[type="submit"]').click()

Everything I (and Gemini) have tried has failed in TamperMoney. Delays, simulating input field clicks etc. The fields both say "! Required" in red.

Delays don't do it. The console obviously does something OTHER than just run the command as far as the pages UI is concerned.