Notices
The Basement Non-Honda/Acura discussion. Content should be tasteful and "primetime" safe.

Avid users or HTML/Java, code question.

Thread Tools
 
Old Jun 10, 2005 | 04:06 AM
  #1  
Pete's Avatar
Pete
Thread Starter
Civilian
 
Joined: Jun 2003
Posts: 8,407
Likes: 1
From: Miami Beach. FL
Default Avid users or HTML/Java, code question.

Ok, here's the predicament. My friend and I are real lazy and hate having to type in our whole e-mail and password to get into MySpace. Well, he came up with some code in the form of an html link that automatically fills in the fields for you, leaving you with only having to click submit. We're trying to figure out how to cut having to click submit out of the equation. The code we have so far is as follows:

<html>
<body>

<img src="http://x.myspace.com/images/blog/blogLogo.gif">
<br>
<form action="http://viewmorepics.myspace.com/index.cfm?fuseaction=login.process" method="post" name="theForm" id="theForm">
<input type="text" name="email" value="LOGIN" size="20">
<input type="password" name="password" size="20" value="PASSWORD">
<input name="Submit22" type="submit" value="Submit">
</body>
</html>

Anyone have any ideas using Java or HTML?

Edit: Thread title should be "Avid users OF HTML/Java, code question."
Reply
Old Jun 10, 2005 | 04:30 AM
  #2  
Jessica's Avatar
Jessica
ch1x0r
 
Joined: Sep 2002
Posts: 18,629
Likes: 0
From: PA
Default

i had a question sort of similar to this the other day. but i can't answer your question
Reply
Old Jun 10, 2005 | 04:33 AM
  #3  
Pete's Avatar
Pete
Thread Starter
Civilian
 
Joined: Jun 2003
Posts: 8,407
Likes: 1
From: Miami Beach. FL
Default

Originally Posted by HAN Frodo
i had a question sort of similar to this the other day. but i can't answer your question
No worries. I'm thinking something along the lines of as soon as the button is loaded it automatically executes it's function. Or something like that.
Reply
Old Jun 10, 2005 | 05:57 AM
  #4  
Pete's Avatar
Pete
Thread Starter
Civilian
 
Joined: Jun 2003
Posts: 8,407
Likes: 1
From: Miami Beach. FL
Default

Ah yes, I've got it. The Javascript is as follows:


<SCRIPT language="JavaScript">
function submitform()
{
document.theForm.submit();
}
</SCRIPT>

</head>

<body onLoad="submitform();">
Reply
Old Jun 10, 2005 | 06:10 AM
  #5  
dE.fUsEd's Avatar
dE.fUsEd
I still like honda's. :-/
 
Joined: Mar 2004
Posts: 16,762
Likes: 0
From: Gilbert, AZ
Default

i could write a program in vb to do that in 30 seconds. h:

and i don't think that code will work.
Reply
Old Jun 10, 2005 | 07:00 AM
  #6  
Misa's Avatar
Misa
Pic Whore
 
Joined: Jul 2004
Posts: 22,224
Likes: 1
From: NJ
Default

firefox + password manager = teh win!!!11
Reply
Old Jun 10, 2005 | 07:06 AM
  #7  
Grifter's Avatar
Grifter
Senior Member
 
Joined: Dec 2000
Posts: 44,835
Likes: 0
From: the southwest
Default

you should use firefox
it can store your usernames and passwords
Reply
Old Jun 10, 2005 | 07:12 AM
  #8  
mrsmartness's Avatar
mrsmartness
Junior Member
 
Joined: May 2005
Posts: 30
Likes: 0
From: Forest Hill, MD
Default

Originally Posted by Pete
Ok, here's the predicament. My friend and I are real lazy and hate having to type in our whole e-mail and password to get into MySpace. Well, he came up with some code in the form of an html link that automatically fills in the fields for you, leaving you with only having to click submit. We're trying to figure out how to cut having to click submit out of the equation. The code we have so far is as follows:

<html>
<body>

<img src="http://x.myspace.com/images/blog/blogLogo.gif">
<br>
<form action="http://viewmorepics.myspace.com/index.cfm?fuseaction=login.process" method="post" name="theForm" id="theForm">
<input type="text" name="email" value="LOGIN" size="20">
<input type="password" name="password" size="20" value="PASSWORD">
<input name="Submit22" type="submit" value="Submit">
</body>
</html>

Anyone have any ideas using Java or HTML?

Edit: Thread title should be "Avid users OF HTML/Java, code question."
Uh... I do mostly PHP coding but couldn't you just try and make a hyperlink to the page with the form includes? For instance... try using this link (fill in your info for instance... I dont have a myspace to try it on...

{ http://viewmorepics.myspace.com/inde...ubmit22=Submit }

try to cut and paste that into your browser, change the EMAIL & PASSWORD to match your info... let me know if it works.
Reply
Old Jun 10, 2005 | 08:48 AM
  #9  
sinthetiq's Avatar
sinthetiq
.
 
Joined: Mar 2002
Posts: 10,995
Likes: 0
Default

firefox > stupid code
Reply




All times are GMT -8. The time now is 01:36 AM.