/    Sign up×
Community /Pin to ProfileBookmark

Wanna develop a script to login to multiple yahoo account but failed.WHY??!!

Hi guys,

I have 2 yahoo mail accounts so it is a hassle to retype in the login and password.

I tried to develop a script that let me fill in the login and password upon the push of a button. I am just trying the ‘login name’ field for a start but for some reason I couldn’t get it to work!
If it does work it will be so convenient for people who has multiple yahoo accounts.

What I basically did was having the push button on the left frame([COLOR=orangered]leftframe.html[/COLOR]) and Yahoo mail ([COLOR=deeppink]http://mail.yahoo.com[/COLOR]) on the right frame.
The form name on the Yahoo mail site is [COLOR=blue]login_form[/COLOR] and the name of the login text box is [COLOR=green]login[/COLOR].

I don’t know why it doesn’t work!!!!

Here is my index.htm
————————————-

<html>
<head>
<script language=”JavaScript”>
function passText(str) {
top.frames[‘right’].document.[COLOR=blue]login_form[/COLOR].[COLOR=green]login[/COLOR].value = str;
}
</script>
</head>
<frameset cols=”300,*” frameborder=1>
<frame name=”left” src=”[COLOR=orangered]leftframe.html[/COLOR] “>
<frame name=”right” src=”[COLOR=deeppink]http://mail.yahoo.com[/COLOR] “>
</frameset><noframes></noframes>
</form>
</body>

</html>
———————————–

Here is [COLOR=orangered]leftframe.html[/COLOR]:
———————————–

<html>
<body>
<center>
<form name=myform>
Enter Your Name:<br>
<input type=text name=user size=10 value=””>
<input type=button value=”Ok!” onClick=”parent.passText(this.form.user.value);”>
</form>
</center>
</body>

</html>
———————————–

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@haryantoauthorFeb 04.2004 — I see....

So there is no way round this problem??

I want my yahoo login script very badly you know! ;-)

[i]Originally posted by fredmv [/i]

[B]http://www.mozilla.org/projects/security/components/same-origin.html [/B][/QUOTE]
Copy linkTweet thisAlerts:
@PittimannFeb 04.2004 — Hi!

Do you have a server supporting PHP?

If so, check this out:

http://www.flying-bits.de

It is a German site, but once loaded, a tiny flag appears to switch to English. The light version of the program they offer is free. Actually, I didn't follow the development of the program - I downloaded an early version of it some time ago and I have to say, that it is quite okay (and I'm sure, they considerably improved it in the meantime). The interface can of course also be switched from German to English.

Cheers - Pit
Copy linkTweet thisAlerts:
@haryantoauthorFeb 04.2004 — I used a php file as a right frame.

In that PHP file it has an include for the yahoomail page so in this way I hope to 'trick' the server to believe it is actually from the same source.

This is all there is to the right frame:

<? include("http://mail.yahoo.com") ?>

Why doesn't it work still?

now all the pages are from the same sources!

Anyone who solves this problem should go to MIT!
Copy linkTweet thisAlerts:
@haryantoauthorFeb 04.2004 — Oh Wait you guys!!!!!!!!!!!!!

I forgot to upload it to my server so of coz it doesn't work!

Now everything's all good!

Thanks all!!!!!!!!!!
×

Success!

Help @haryanto spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...