我有Gmail登入凭证。 如果我们通过url或CURL传递用户名和密码,则可以自动登录到Gmail。
I have the gmail login credintals. Is it possible to login automatically to Gmail if we pass the username and password through url or by CURL.
推荐答案如果您右键点击gmail登录页面并查看源代码,您可以找到用户电子邮件和登录字段的ID。
If you rightclick the gmail login page and view source you can find the id's of the user email and login fields.
然后可以使用这些文件
You can then use these to write a javascript to fill it automatically and submit.
您可以在此执行此操作 techtoggle/2009/06/how-to-autologin-into-yahoo-hotmail-lycos-mail/
Theres an implementation here you might check techtoggle/2009/06/how-to-autologin-into-yahoo-hotmail-lycos-mail/
编辑:它不使用您提到的语言,但它的解决方案是一样的。此外,虽然链接url和文章标题没有提到gmail有一个gmail版本的javascript在页面上
its not using the languages you mentioned but its a solution all the same. Also, while the link url and article title dont mention gmail there is a gmail version of the javascript on the page
更多推荐
Gmail自动登录脚本
发布评论