Is it possible to make javascript based web proxy, where the url entered by the user is fetched by the javascript directly without going to the proxy server ?
1 Answer
You are not going to be doing it with pure JavaScript unless the JavaScript happens to be running on the server.
You can use a service like Yahoo Pipes and get the page via a JSONP call.
2 Comments
Ashni Goyal
Thanks for your reply. Could you please explain why client side javascript will not work ?
epascarello
Have you not read about the Same Origin Policy - developer.mozilla.org/en-US/docs/JavaScript/…
<iframe>. Note that not all pages will allow being used within an<iframe>.