How to use JavaScript to know the user's browser and operating system and its version number

xiaoxiao2021-03-06  98

High people:

Hello everyone, I have recently learned JavaScript, I have encountered a technical problem, please ask high people to give instructions!

I can get online users' browser and operating system with Navigator.UseRagent methods. (Because I have to

Windos 2003 browser is Internet Explorer 6.0)

The source code is as follows: