A
A
Alexander Wolf2016-03-25 12:54:47
JavaScript
Alexander Wolf, 2016-03-25 12:54:47

What are the combines for pulling information from the user's browser (OS, browser, country, etc.)?

Good afternoon! Tell me, please, what good ones can be found today for pulling information from the browser? It is important that it be as large as possible and work either as cross-browser as possible.
The minimum data that needs to be taken from the user: OS, browser (+ version), country, language, resolution, device type.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-03-25
@mannaro

How about: window.navigator, window.screen?

window.navigator.platform // => ОС
window.navigator.appVersion // => Браузер + версия
window.navigator.geolocation // => Геолокация
window.navigator.language // => Язык
window.screen.availWidth // => Ширина
window.screen.availHeight // => Высота

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question