Message from discussion
How to set window.location
Received: by 10.224.11.68 with SMTP id s4mr129656qas.18.1295475449738;
Wed, 19 Jan 2011 14:17:29 -0800 (PST)
X-BeenThere: envjs@googlegroups.com
Received: by 10.224.179.137 with SMTP id bq9ls1565513qab.6.p; Wed, 19 Jan 2011
14:17:10 -0800 (PST)
Received: by 10.224.80.142 with SMTP id t14mr130366qak.29.1295475430467;
Wed, 19 Jan 2011 14:17:10 -0800 (PST)
MIME-Version: 1.0
Received: by 10.220.187.13 with SMTP id cu13mr283481vcb.24.1295341122809; Tue,
18 Jan 2011 00:58:42 -0800 (PST)
Received: by fx12g2000vbb.googlegroups.com with HTTP; Tue, 18 Jan 2011
00:58:42 -0800 (PST)
Date: Tue, 18 Jan 2011 00:58:42 -0800 (PST)
X-IP: 84.127.192.75
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.16
(KHTML, like Gecko) Chrome/10.0.634.0 Safari/534.16,gzip(gfe)
Message-ID: <50b2ad53-4098-472c-8651-759016349688@fx12g2000vbb.googlegroups.com>
Subject: How to set window.location
From: Joel <joel7...@gmail.com>
To: "Env.js" <envjs@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi, I'm making an application that has to download a webpage and parse
JavaScript. Is there away (or a better approach) to do this?
I connect to the webpage with http-client-4.0.3 (handle cookies,
redirections... everything is done with this lib).
Then I want to send the downloaded web source (and cookies) to Rhino +
env.js, so env.js sets the window.location without reconnect to the
same address, process the related javascripts, and get back the full
source and the cookies. Thanks