Quote:
|
Originally Posted by ikthius
Hey guys,
Say I use javascript, is there any way I can do my own counter, check IP addresses of visitors, check browser stats, and so on for my ntl webspace.
could I make a script up that checks this on load, and can save the info which I can check every so often.
I know this may be a long shot but |I had to ask.
ik
|
With javascript you are able to capture the following information:
navigator.appCodeName = Mozilla
navigator.appName = Microsoft Internet Explorer
navigator.appMinorVersion = 0
navigator.cpuClass = x86
navigator.platform = Win32
navigator.plugins =
navigator.opsProfile =
navigator.userProfile =
navigator.systemLanguage = en-gb
navigator.userLanguage = en-gb
navigator.appVersion = 4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
navigator.userAgent = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.1.4322)
navigator.onLine = true
navigator.cookieEnabled = true
navigator.mimeTypes =
To get the values ignore from the = onwards.
You can also get more information such as the screen size and number of colours. However, you will not be able to get the ip address using javascript and you will not be able to store this information to a file as you will not be able to write to the local hard disk.
As far as I am aware, ntl web space does not include any server side scripting and without this you can't do much. If they had server side scripting such as asp or php then you could do what you want very easily. I've never seen the point in messing about with isp's web space as you can't do much except display information.
The alternative is to host your website on your own webserver or do as Bifta suggest and use statcounter.