Autologin to Gmail / Yahoo mail with single HTML

I need a html that redirect to yahoo/gmail with auto login

i dont want to use "remember pass" / roboform / greasemonkey / etc..
just a single HTML or even a web shortcut like<user>:<pass> (if that possible)

found a code from google, seems to work with greasemonkey
var k={
'': [0,{login:'myname',passwd:'mypass'}],

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

GawaiCommented:<user>:<pass> will not be adviceable as any one can see the password in the url

anyway here we go...

1- login text field
2- passowrd field
3- combo box

function openMailWindow(form)
if (document.form.login.value=="")
alert("Enter Your UserName");
return false;
if (document.form.passwd.value=="")
alert("Enter Your PassWord");
return false;
	var LOGIN   = document.form.login.value;
	var PASSWD  = document.form.passwd.value;
	var SITE    =[].value;
	document.form.login.value = "";
	document.form.passwd.value = "";
	var strURL = "";
	if( SITE == "yahoo" )
		strURL = "" + LOGIN + "&passwd=" + PASSWD + "&.persistent=Y";
	else if( SITE == "usanet" )
		strURL = "" + LOGIN + "&passwd=" + PASSWD + "&NA31port=80&";
	else if( SITE == "altavista" )
		strURL = "" + LOGIN + "&password=" + PASSWD + "";
	else if( SITE == "mailcity" )
		strURL = "" + LOGIN + "&user_passwd=" + PASSWD + "&Submit=Login&version=1";
	else if( SITE == "123india" )
		strURL = "" + LOGIN + "&pwd=" + PASSWD + "&login=Enter";
	else if( SITE == "rediff" )
		strURL = "" + LOGIN + "&passwd=" + PASSWD + "&button=Sign%in";
	else if( SITE == "aol" )
		strURL = "" + LOGIN + "&password=" + PASSWD + "";
	else if( SITE == "angelfire" )
		strURL = "" + LOGIN + "&passwd=" + PASSWD + "&version=1";
	else if( SITE == "zdnet" )
		strURL = "" + LOGIN + "&PASSWORD=" + PASSWD + "";
	else if( SITE == "hotmail" )
		strURL = "" + LOGIN + "&passwd=" + PASSWD + "";
	else if( SITE == "coolmail" )
		strURL = "";
	else if( SITE == "cnn" )
		strURL = "";, "", "");

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
and here is the form

Check Your Emails                                                               <form name=form>
                                        <font face="Arial, Helvetica, sans-serif" size="2"><b>User 
                                        <input name=login size="14">
                                        <input name=passwd type=password size="14">
                                        Email Account</b></font><br>
                                        <select name=site>
                                          <option selected 
                                          <option value=usanet>USA.NET 
                                          <option value=mailcity>Mailcity 
                                          <option value=aol>AOL 
              value=123india>123 India 
                                          <option value=rediff>Rediffmail 
                                          <option value=zdnet>ZDNET mail 
              value=cnn>CNN mail 
                                        <input align=absBottom onClick=javascript:openMailWindow() type=image src="imgs/search.gif" name="button" border="0" alt="Submit" width="62" height="33">

Open in new window

tsphAuthor Commented:
thanks qawai, actually i was looking for this kind of URL" + LOGIN + "&passwd=" + PASSWD + "&.persistent=Y

and what's the URL for Gmail ?
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

tsphAuthor Commented:
one more, can you show me how you found that kind of URL ?

for example i want to see the "login URL" for V-bulletin based forum
lets take this forum

the login address may be something like..." + LOGIN + "&vb_login_password=" + PASSWD + "&vb_login_md5password=" + somevalue + "&vb_login_md5password_utf=" +otheValue

i believe u know how to view the source code of that page...they have use a function md5hash(); to encrypt

for gmail, it could be...i did not test it....u pls try it<mpl=default<mpl=default&Email="+ LOGIN + "&Passwd=" + PASSWD + "&rmShown=1&signIn=Sign+in
tsphAuthor Commented:
the gmail URL works but doesnt correcly redirect to gmail
i'll look into that later, and for vbulletin, it has security token that generated randomly, so I must load entire page first

thanks for the solution

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.