Windows user from Googlechrome

Asked

Viewed 97 times

1

I would like to get the user logged in to Windows from the Googlechrome browser. From various searches the Activexobject gets this information but is an object that works exclusively on the Internetexplorer.

I know you may have problems with security holes but I would like to know if even with all the disadvantages there is some way to get it in Googlechrome.

1 answer

1

You can list with window.Navigator all properties for this(some below):

appCodeName: "Mozilla"
appName: "Netscape"
appVersion: "5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
language: "en-US"
platform: "MacIntel"
PluginArrayproduct: "Gecko"
productSub: "20030107"
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"
vendor: "Google Inc."

Browser other questions tagged

You are not signed in. Login or sign up in order to post.