Education about Web safety
Let me introduce several properties of Navigator and Screen Object used in JavaScript, which could directly retrieve the information of your computer!
- navigator.appVersion
- Version information for the browser displaying the page (ie: 5.0 (Windows)).
- navigator.platform
- The operating system in use on the client's computer (ie: Win32).
- navigator.userAgent
- String stored in the HTTP user-agent request header, which contains information about the brower, the platform name, and the compatibility.
- navigator.online
- A Boolean that returns true if the browser is online, false if not.
- screen.width
- Get width value of the display screen.
- screen.pixelDepth
- Display screeen's color resolution in bits per pixel.
You can see lots of JavaScript code can directly get your personal information from your computer, so it is necessary to know how to prtect your personal information efficiently.
