gv4j icon indicating copy to clipboard operation
gv4j copied to clipboard

Hidden Password Input

Open TurekBot opened this issue 8 years ago • 6 comments

When trying to log in, I'm getting a

Caused by: java.io.IOException: Missing gvx cookie.
	at com.brewengine.gv4j.GV.login(GV.java:118)
	at com.brewengine.gv4j.GV.login(GV.java:80)

Taking a quick peek at the source code, they seem (as you've advertised up front) to have changed things just a bit.

It seems like the code is no longer picking up the password input. It's looking for an input with the name of Passwd, but there is none. Hopefully you'll forgive the screenshot for the fact that I highlighted the important part. Changed field

Is this a deal-breaker because it's hidden or can this be fixed?

TurekBot avatar Oct 25 '17 20:10 TurekBot

Is this StackOverflow Question helpful?

Do we need to get it to wait?

TurekBot avatar Oct 25 '17 21:10 TurekBot

Based on the Stackoverflow post you linked, it sounds as though the page is relying on Javascript to update the input field?

Perhaps try to login to Google Voice on a browser that has Javascript disabled to confirm that it is still possible? If Google Voice has changed and now requires Javascript, then it would likely require significant changes to GV4J to get it working again (as GV4J performs HTTPS requests and has no Javascript support).

If you can login to Google Voice with Javascript disabled then the fixes to GV4J likely entail changing the names of input fields that are referenced.

Let me know what you find (if you can log in w/o Javascript) and I'll try to help the best I can.

twyatt avatar Oct 25 '17 22:10 twyatt

I'm a newb when it comes to the web, but it looks like adding &nojavascript=1 to the URL gives us a non-javascript login:

No Javascript Login

TurekBot avatar Oct 25 '17 22:10 TurekBot

@TurekBot any chance you can test if you can login to Google Voice with Javascript disabled?

Disable Javascript (Chrome)

js

twyatt avatar Oct 27 '17 02:10 twyatt

With javascript disabled, it appears that you can log in, but you'll just get a forever spinning spinner and google voice will never load.

image

TurekBot avatar Aug 04 '18 21:08 TurekBot

Unfortunately gv4j sees what you see with the browser when JavaScript in disabled (albeit the mobile version of the site) so it is likely that Google has changed things enough that gv4j no longer works.

twyatt avatar Aug 08 '18 16:08 twyatt