Skip to content

Instantly share code, notes, and snippets.

@TLMcode
Last active Dec 20, 2015
Embed
What would you like to do?
Wait() for IE client objects.Watch this Gist for updates.
Wait( obj, len=300 )
{
While (obj.ReadyState=4)
continue
While (StrLen(rs)<len)
rs.=((_:=obj.ReadyState)=4?_:)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment