detection of the operating system on the client machine

Ads
 

detection of the operating system on the client machine

How to detect the operating system on the client machine?

View Answers

November 9, 2010 at 12:25 PM

In order to detect the operating system on the client machine, the navigator.appVersion string (property) should be used.

<script language="javascript" type="text/javascript">
 var OSName="Unknown OS";
 if (navigator.appVersion.indexOf("Win")!=-1) OSName="Windows";
 if (navigator.appVersion.indexOf("Mac")!=-1) OSName="MacOS";
 if (navigator.appVersion.indexOf("X11")!=-1) OSName="UNIX";
 if (navigator.appVersion.indexOf("Linux")!=-1) OSName="Linux";
 document.write('Your OS: '+OSName);
 </script>

Ads









Related Tutorials/Questions & Answers:
How to Communicate with the operating system embedded on processor running on hardware machine in java
How to Communicate with the operating system embedded on processor running on hardware machine in java  hello Sir, i have a operating system embedded on processor running on hardware machine .Now as per my need i
operating system
operating system  write a programe in java that print system information like which process are in running state and those process used which resourses
Advertisements
Where i can use UNIX Operating System?
Where i can use UNIX Operating System?  Where i can use UNIX Operating System
Windows 8 Operating System
handling of the Windows operating system. Launched by the Microsoft it is expected... the launching of Window 8 is that making easy operating system's especially... Business? How To Install Windows 8 Windows 8, the New Operating System from
ModuleNotFoundError: No module named 'watson-machine-learning-client'
ModuleNotFoundError: No module named 'watson-machine-learning-client' ...: No module named 'watson-machine-learning-client' How to remove the ModuleNotFoundError: No module named 'watson-machine-learning-client' error
Version of geronimo>client-system dependency
List of Version of geronimo>client-system dependency
How to print list of files in client system
How to print list of files in client system  have some list of files in server.i just want to print that files in client machine with out opening... need to come from client system. but i done this functionality in java
Windows 8, the New Operating System from Microsoft
the new multitouch technology with its predominance in operating system for PCs. Yes, the wait for the Windows 8, the new operating system from Microsoft... of simplicity in computing. Windows 8, the new operating system from Microsoft is all
Version of jboss>jboss-system-client dependency
List of Version of jboss>jboss-system-client dependency
Maven Dependency client-system >> 1.0
You should include the dependency code given in this page to add Maven Dependency of geronimo >> client-system version1.0 in your project
Maven Dependency client-system >> 1.1
You should include the dependency code given in this page to add Maven Dependency of geronimo >> client-system version1.1 in your project
Maven Dependency client-system >> 1.1.1
You should include the dependency code given in this page to add Maven Dependency of geronimo >> client-system version1.1.1 in your project
Maven Dependency jboss-system-client >> 3.2.3
You should include the dependency code given in this page to add Maven Dependency of jboss >> jboss-system-client version3.2.3 in your project
how retrive data from google analystics dashbord on the client machine
how retrive data from google analystics dashbord on the client machine   sir i am digvijay subj: retrive data from google analystics dashbord respected sir, According above subject i request you , i want retrive data from
System
System  What is System in System.out.println() method? Is it a Class or a Package
Java Virtual Machine
of machine as the machine language vary from system to system. So most complier... independent from the operating system and CPU architecture. JVM is a part of Java Run Time Environment that is required by every operating system. JRE consists
Servers and Operating Systems
Servers and Operating Systems  Could we run java based web servers/application servers in windows xp operating system in production mode for small scale web applications
What is machine learning?
an intelligent system which can take decision on its own. Development of machine... to develop machine learning system in various programming languages...What is machine learning and its types? Machine learning is one
Java Virtual Machine
Platform and runs the Java program on an Operating System. The JVM is OS...Java Virtual Machine The Java Virtual Machine is a software package that comes with the JRE or JDK. It is a virtual machine which is responsible for running
Java Virtual Machine Technology
Java Virtual Machine Technology Java development kit termed as  JDK have more than one implementation of the JVM. Java HotSpot Client VM also termed as client VM is specifically designed for the client applications
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
What are prerequisites of machine learning?
What are prerequisites of machine learning? How to get started with machine learning? In this tutorial we will explains you the prerequisite of machine... machine learning. Machine learning is latest is programming and it deals
face detection and face recognition
face detection and face recognition   hi,i will create a project detection and recognition of face in java , i create the face detection using opne... will send the part of face detection if you want help me please
washing machine
washing machine   Create a washing machine class with methods as switchOn, acceptClothes, acceptDetergent, switchOff. acceptClothes accepts the noofClothes as argument & returns the noofClothes   public class
How is machine learning used in finance?
How is machine learning used in finance?  How is machine learning used in finance?   Hi, Machine learning is used in Fiance industry to do...-Advisory Insurance Underwriting and Claims. Fraud Detection Customer Service Stock
Which is better .Net or Java?
, it can also be used on other operating system. Java on the other hand... operating system and the OS just need Java Runtime Environment (JRE). .NET has AOT... in Java language can run on any operating system using Java bytecode, which
Version of com.51degrees>device-detection dependency
List of Version of com.51degrees>device-detection dependency

Ads