detection of the operating system on the client machine

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>









Related Tutorials/Questions & Answers:
detection of the operating system on the client machine
detection of the operating system on the client machine  How to detect the operating system on the client machine
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
Advertisements
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
Where i can use UNIX Operating System?
Where i can use UNIX Operating System?  Where i can use UNIX Operating System
Operating Systems
on various Operating Systems. OS is also known as Operating System, which... with the Applications, Application interacts with the Operating system and finally Operating... operating system these days. Here are the details of different operating systems
Operating System based Web Hosting
Operating System based Web Hosting On the basis of operating system, Web... refers to the web hosting service on Windows operating system. Basically most... Linux operating system based hosting service refers to Linux Web Hosting Service
Java example program to get the operating system's version
Java example program to get the operating system's version... check your current system's operating system version by the java code also... simple to know your operating system's version in java. This program displays
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... Operating System from Microsoft How to Create User Account in Windows 8 with Windows
Java example program to get the operating system name of the system
Java example program to get the operating system name of the system... System name Many times we need to know the current operating system name on which we... the information about the current operating system name. We can get the current
Java example program to get Operating System type or architecture
Java example program to get Operating System type or architecture... the operating system type. We can get the operating system architecture or system type... how one can get the current running operating system's type. The property "
Operating System Information
Operating System Information     ... information about our operation system. In this example we are getting the OS name... os.orch.  The System class contains several useful class fields
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
Installing Sublime 3 Text on the Ubuntu 20.04 operating system
Sublime 3 Text on the Ubuntu 20.04 operating system. The two ways... operating system. (adsbygoogle = window.adsbygoogle || []).push... Ubuntu 20.04 operating system. Sometimes it is much easier to install
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
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 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
Save file on Client Machine - Development process
://boserver:9090/AI where boserver is the name of server machine, now when a client... to save the file created by my application on the client machine how can i do... the code such that the D: of client machine is accessed and file is saved
Ubuntu 22.04 System Requirements
22.04 LTS Operating system Ubuntu 22.04 LTS operating system is released... requirements for installing and running Ubuntu 22.04 operating system. So, you... for installing Ubuntu 22.04 operating system. This article is based on the official
Ubuntu 22.04 System Requirements
22.04 LTS Operating system Ubuntu 22.04 LTS operating system is released... requirements for installing and running Ubuntu 22.04 operating system. So, you... for installing Ubuntu 22.04 operating system. This article is based on the official
Maven Repository/Dependency: geronimo | client-system
Maven Repository/Dependency of Group ID geronimo and Artifact ID client-system. Latest version of geronimo:client-system dependencies. # Version Release Date You can read more
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
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
Maven Repository/Dependency: jboss | jboss-system-client
Maven Repository/Dependency of Group ID jboss and Artifact ID jboss-system-client. Latest version of jboss:jboss-system-client dependencies. # Version Release Date You can read more
System
System  What is System in System.out.println() method? Is it a Class or a Package
File download from server to client machine - JSP-Servlet
File download from server to client machine  hi, I want to save a pdf file to my client machine from a button provoded in a jsp page.The file... location to client machine by save dialog box. Please help me to find a solution
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
Java Virtual Machine
for one specific type of machine as the machine language vary from system to system... and it is totally independent from the operating system and CPU architecture. JVM is a part of Java Run Time Environment that is required by every operating system
Vehicle Tracking System
Vehicle Tracking System       Synopsis: VEHICLE TRACKING SYSTEM is the technology used to determine... navigation systems operating through satellites and ground based stations. By following
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).ADS_TO_REPLACE_1... and dynamic. Programs written in Java language can run on any operating system using
Installing Sun Java System Application Server Platform Edition
Installing Sun Java System Application Server Platform Edition... will learn how to install Sun Java System Application Server Platform Edition on your windows machine. Download the latest version of JEE 5 Platform from http
Space based web-hosting system
, software updates, reboots, security patches and operating system upgrades. Customers... maintenance. Operating System Support Depending upon the availability, price... operating system is provided through a special program called Microsoft SPLA
machine learning and machine intelligence
machine learning and machine intelligence  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: machine learning and machine intelligence Try to provide me good examples
What is Linux?
Operating System. It is widely used as Server Operating system. It provides free open-source operating system to the users. It is originally written by Linus... has both the operating system graphical user interface and command user
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
What is machine learning?
of unsupervised learning which is used to develop machine learning system in various...What is machine learning and its types? Machine learning is one... or analysis. In machine learning, Artificial Intelligence (AI) algorithms are used
ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit' ...: ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-account-operating
ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit' ...: ModuleNotFoundError: No module named 'odoo10-addon-account-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-account-operating
ModuleNotFoundError: No module named 'odoo10-addon-analytic-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-analytic-operating-unit...: ModuleNotFoundError: No module named 'odoo10-addon-analytic-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-analytic-operating
ModuleNotFoundError: No module named 'odoo10-addon-crm-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-crm-operating-unit' ...: ModuleNotFoundError: No module named 'odoo10-addon-crm-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-crm-operating-unit' error
ModuleNotFoundError: No module named 'odoo10-addon-mrp-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-mrp-operating-unit' ...: ModuleNotFoundError: No module named 'odoo10-addon-mrp-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-mrp-operating-unit' error
ModuleNotFoundError: No module named 'odoo10-addon-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-operating-unit'  ...: No module named 'odoo10-addon-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-operating-unit' error? Thanks
ModuleNotFoundError: No module named 'odoo10-addon-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-operating-unit'  ...: No module named 'odoo10-addon-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-operating-unit' error? Thanks
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit...: ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit' How...-operating-unit' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit...: ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit' How...-operating-unit' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit...: ModuleNotFoundError: No module named 'odoo10-addon-procurement-operating-unit' How...-operating-unit' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'odoo10-addon-purchase-operating-unit'
ModuleNotFoundError: No module named 'odoo10-addon-purchase-operating-unit...: ModuleNotFoundError: No module named 'odoo10-addon-purchase-operating-unit' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-purchase-operating

Ads