Jump to content
Sign in to follow this  
scriptnub

Converting a script from IE to Chrome or FF

Recommended Posts

scriptnub

#include <IE.au3>

#include <String.au3>

$oIE = _IEAttach("http://www.immoral-attack.com", "url")

If @error Then    

$oIE = _IECreate("http://www.immoral-attack.com")

EndIf

While 1    

$oSubmit = _IEGetObjByName($oIE, "attack")    

_IEAction($oSubmit, "click")    

_IELoadWait($oIE)    

$String = _StringBetween(_IEBodyReadHTML($oIE), '<CENTER><A href="', '">Continue Slaying Monsters</A></CENTER>')    

If @error Then        

ClipPut(_IEDocReadHTML($oIE))        

MsgBox("", "", "Error")        

Exit    

EndIf    

_IENavigate($oIE, "http://www.immoral-attack.com/" & $String[0])

WEnd

I know absolutely nothing about coding but if anyone can help me convert this script to Chrome or FF i'd be greatly appreciative 

Edited by scriptnub

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×