• Welcome to Valhalla Legends Archive.
 

Useful Script

Started by Akamas, April 07, 2004, 07:22 PM

Previous topic - Next topic

Akamas

Hey, I just made this script, I don't know if its been posted before but I think most people would like to use it.


<------ THE SCRIPT ------>

<script>
function dologin(){
   
   document.location = 'http://' + document.loginfrm.username.value + ':' + document.loginfrm.password.value + '@www.yourwebsite.com/private';
}
</script>


<------ THE FORM ------>

<form method="POST" name="loginfrm">
<p><img src="username.gif"> <input type="text" name="username" size="20"class=textbox><br><img src="password.gif"> <input type="password" name="password" size="20" class=textbox><br><br>
 <a href="javascript:dologin();" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image1','','LOGIN IMAGE BUTTON HOVER',1)"><img src="LOGIN BUTTON IMAGE" name="Image1" border="0"></a>
</form>


I've also included in a form, that has the text feilds and a submit button. Enjoy :D
Quote from: Arta[vL] on August 14, 2006, 04:57 PM
Well, I want some too. Greedy Yoni should stop hogging it.

Adron

Does that even work with the recent IE code changes to block urls with usernames in them?

Akamas

Well, I've tried it and it works on my CPU.

http://www.csintel.net/theo
Quote from: Arta[vL] on August 14, 2006, 04:57 PM
Well, I want some too. Greedy Yoni should stop hogging it.