View Full Version : javascript proxy

10-25-2006, 04:27 PM
is it possible to proxy a site through another site using javascript?

10-25-2006, 07:36 PM
no(well, not the the "normal" kind of javascript)

10-26-2006, 07:25 PM
i need it for getting past the school "block" with my site

10-26-2006, 09:14 PM
The answer is still no. You need a server side language to something like that.

10-26-2006, 10:43 PM
Javascript isn't server side.

Proxies load data through the server then send to you from that server.
That way, you aren't loading content from the "bad" site, but from the "ok" server.
Javascript, since it's clientside, will always be accessing the content directly, which is blocked.

Using AJAX, you CAN load content from outside sources (though I believe there are some (total?) restriction on files from different domains), but this still wouldn't work if you can't access the server you want.

10-26-2006, 11:27 PM
First of all, Javascript can be serverside. Second, it is impossible to access another domain with just AJAX.

10-27-2006, 04:13 PM
so it is impossible end of story right?

10-27-2006, 07:55 PM

On another note, has anyone noticed there is a five character limit? It wouldn't let me just post "Yes"