I am trying to build a IE plugin which have to make few webrequest on users behalf. To make a web request programatically I can using following code.
var url = "www.example.com";
var request = (HttpWebRequest)WebRequest.Create(url);
var response = (HttpWebResponse)request.GetResponse();
The response variable will have the response from the webserver. Now I want to execute this the response as it is will get executed in real browser (but hidden from the user;I can't use the real browser). There are few javascripts in this retrieved page, actually I want to execute them. Is it possible to do that somehow?