2

Using Navigator object you are able to get visitors browser info and history. Also using 'google.ClientLocation' you can get the location info.

My question is what more data you can retrieve from visitor using javascript/jquery? Does google have any object similar to ClientLocation for ClientInfo for instance?

Note: The scenario states that only javascript is available.

Mazzi
  • 939
  • 4
  • 12
  • 30

1 Answers1

0

Big thing to remember: Any data you receive from Javascript is sent from the user's (client's) computer. The client can therefore spoof the data that you receive. An easy way to do this, for example, is the Live HTTP Headers addon in Firefox.

You're better off (but still not 100% sure) getting information from a server-side script. For starters, here's a way to find location, using PHP.

Community
  • 1
  • 1
Ben
  • 54,723
  • 49
  • 178
  • 224