Topic: HTML FORMS (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=31361" title="Pages that link to Topic: HTML FORMS (Page 1 of 1)" rel="nofollow" >Topic: HTML FORMS <span class="small">(Page 1 of 1)</span>\

 
SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 10-02-2009 23:05

Like most of you, I have a small collection of web e-mail accounts that I use to avoid having my "real" accounts get spammned...by spambots or when I'm forced to register to download something.

To simplify the login process, I modified the Yahoo login scripts so that I now have all the emails on one local html page...with userid and password embedded...yes with the password in plain sight!

Note: I did not want a submit button..so I used image in the type field because I forgot how to make a text link instead of text on the submit button but it works so I couldn't care less.




code:
<form method="post" action="https://login.yahoo.com/config/login?"   onsubmit="return hash2(this)">
 <input name="login"  value="myUserId"   type="hidden">
 <input name="passwd"  value="myPassword"    type="hidden">
<input  value="The Text for the Submit Link"  type="image"></p>
</form>



Question: can I modify this so that the target opens in a new tab?

P.S. Yes I have too much time on my hands.

Nature & Travel Photography
Main Entrance

SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 10-02-2009 23:11

Nevermind...i realize now that the form tag can take a target.


code:
<form method="post" action="https://login.yahoo.com/config/login?" target="_blank"  onsubmit="return hash2(this)">



funny how it all seems clear as when you post.

Nature & Travel Photography
Main Entrance

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 10-03-2009 15:12

The Asylum is a rubber duck

DL-44
Lunatic (VI) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 10-03-2009 16:33
quote:

poi said:

The Asylum is a rubber duck



Indeed!

I usually get my answer while I am typing my post.
I have written more posts without submission than I have with...

SleepingWolf
Paranoid (IV) Inmate

From:
Insane since: Jul 2006

posted posted 10-03-2009 17:46

I can remember all the times I was stuck with a programming bug and I would talk it through with a non-programmer and within minutes find out what I was doing wrong!

Had never heard of the Rubber Duck before though, thanks Poi.



Nature & Travel Photography
Main Entrance

White Hawk
Maniac (V) Inmate

From: zero divided.
Insane since: May 2004

posted posted 10-04-2009 01:16

That goes for a great many more things than programming, methinks. Thanks for giving it a name. lol



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu