AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Javaskript Internetbrowsing

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
lukas
Guest





PostPosted: Wed Jan 02, 2008 9:16 pm    Post subject: Javaskript Internetbrowsing Reply with quote

Hi can you check this javaskript? i think there is a fault

Code:
javascript:with(document.forms[0]){elements["universe"].value="uni**.ogame.de"; elements["login"].value="muster"; document.loginForm.action="http://uni**.ogame.de/game/reg/login2.php"; elements["pass"].value="muster2"; submit();void(0)}


i will try an automatic-login @ www.ogame.de

i maybe the problem is that he connect to an another server
Code:
document.loginForm.action="http://uni**.ogame.de/game/reg/login2.php"


thank u
lukas
Back to top
wOxxOm



Joined: 09 Feb 2006
Posts: 326

PostPosted: Thu Jan 03, 2008 5:27 am    Post subject: Reply with quote

I'm not great at JS, so when I write some js code I try to put semicolons everywhere Smile like there: void(0);}
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lukas
Guest





PostPosted: Thu Jan 03, 2008 2:10 pm    Post subject: Reply with quote

don't work Sad .... i ask in a javascript forum maybe there is some help Smile
Back to top
ggirf14



Joined: 01 Nov 2005
Posts: 108
Location: Ottawa

PostPosted: Thu Jan 03, 2008 2:35 pm    Post subject: Reply with quote

Try this:
Code:
Run, C:\Program Files\Internet Explorer\IEXPLORE.EXE http://www.ogame.de/
WinWait, OGame.de - Microsoft Internet Explorer,
IfWinNotActive, OGame.de - Microsoft Internet Explorer,  WinActivate, OGame.de - Microsoft Internet Explorer,
WinWaitActive, OGame.de - Microsoft Internet Explorer,
Loop, 3
{
StatusBarWait , Done, , 1, OGame.de - Microsoft Internet Explorer, , , ,
sleep, 100
}
Sleep, 100
Send, {TAB}username{TAB}password{ENTER}
Back to top
View user's profile Send private message
Andy08
Guest





PostPosted: Thu Jan 03, 2008 10:38 pm    Post subject: Reply with quote

Or use Firefox + iMacros for the web login part!
Back to top
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group