[ale] JavaScript and server address

James Sumners james.sumners at gmail.com
Mon Jun 4 20:41:21 EDT 2007


JavaScript is executed client side so it has no knowledge of the
server that served it.

On 6/4/07, Christopher Fowler <cfowler at outpostsentinel.com> wrote:
> Can someone tell me how in JavaScript to get the IP Address of the
> server.  I have found many examples of how to get the one of the client
> but I'm trying to get the address of where the html page originated.  I
> want to pass it to an external program so it can connect to a proxy.
>
> Chris


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list