Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

get information about the client computer

Status
Not open for further replies.

sebBAlease

Programmer
Jan 23, 2001
8
FR
I'd like to get informations about the client computer for exemple (processor, OS, IP address, plugins, explorer, etc..). I know it's possible with ie (activeX), but can I get informations under netscape too ?
thanks

seb
 
Do you mean this:

var xxx = window.navigator.appCodeName
var xxx = window.navigator.appMinorVersion
var xxx = window.navigator.appName
var xxx = window.navigator.appVersion
var xxx = window.navigator.cookieEnabled
var xxx = window.navigator.cpuClass
var xxx = window.navigator.mimeTypes
var xxx = window.navigator.onLine
var xxx = window.navigator.opsProfile
var xxx = window.navigator.platform
var xxx = window.navigator.plugins
var xxx = window.navigator.systemLanguage
var xxx = window.navigator.userAgent
var xxx = window.navigator.userLanguage
var xxx = window.navigator.userProfile

instead of window.navigator. you can use window.clientInformation. but I'm not sure if you can use it in NN.

Hope this helps,
Erik

 
thanks for your help erik. it seems that lots of these variables are undefined in IE5.00 or NS4.7. I made a list witch indicate variables compatibility:

js:navigator.appName
js:navigator.userAgent
js:navigator.platform
php:$REMOTE_ADDR
js:navigator.plugins[]
js:screen.height , width
js:navigator.mimeTypes[]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top