Results 1 to 8 of 8

Thread: javascript proxy

  1. #1
    Join Date
    Oct 2006
    Location
    미네소타, 미국
    Posts
    158
    Thanks
    0
    Thanked 1 Time in 1 Post

    Exclamation javascript proxy

    is it possible to proxy a site through another site using javascript?

  2. #2
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    no(well, not the the "normal" kind of javascript)

  3. #3
    Join Date
    Oct 2006
    Location
    미네소타, 미국
    Posts
    158
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    i need it for getting past the school "block" with my site

  4. #4
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    The answer is still no. You need a server side language to something like that.

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    First of all, Javascript can be serverside. Second, it is impossible to access another domain with just AJAX.

  7. #7
    Join Date
    Oct 2006
    Location
    미네소타, 미국
    Posts
    158
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    so it is impossible end of story right?
    Last edited by lainlives; 10-27-2006 at 04:23 PM.

  8. #8
    Join Date
    Sep 2005
    Posts
    882
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default

    Yes

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •