Gmail自动登录脚本 [英] Gmail automatic login script

查看:375
本文介绍了Gmail自动登录脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有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.

您可以在此执行此操作 http://techtoggle.com/2009/06/how-to-autologin-into-yahoo-hotmail-lycos-mail/ < a>

Theres an implementation here you might check http://techtoggle.com/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自动登录脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆