[PLUG] Reading computer time stamp over internet

Christian Brink cbrink at brinkrods.com
Wed Mar 22 02:56:24 UTC 2006


Alex Daniloff wrote:
> Hello Linux folkz,
> I went to this web site:
> http://greenwichmeantime.com/gmt-timestamp.htm
>
> and saw that they somehow read the time stamp right from
> my PC. 
> I'm behind the firewall and all ports are in stealth mode
> I wonder, how they do this. Is it a part of TCP/IP protocol or
> environmental variable of my browser?
>
> Thanks in advance for any replies.
>
>   

If you read the source of the page, it's very simple javascript.
Your browser knows things like your timezone and current time,
so javascript is able to report it to whatever site that requests
it.


Christian Brink






More information about the PLUG mailing list