javascript / ajax question
<p>I'm wondering if anyone knows a javascript library where I could remotely login to a site, then browse pages upon logging in.</p>

<p>This is very easy with php's curl but I'm wondering if there is a javascript equivalent where I can execute multiple remote url's under a single http session.</p>

<p>Basically what I'm looking to do is post a username/password to one of my sites and then immediately post some other commands to a different url (same remote domain) using the authenticated session.</p>

<p>I haven't come across anything like this yet so I'm wondering if anyone can point me in the direction (if it's even possible). Can definitely be HTML5.</p>
