+ Start a Discussion
DipakDipak 

How to Detect OS of the visitors System

Hi all,

 

I want to detect the OS of the system used by a visitors, Is it possible to detect the OS in salesforce.?

 

 

kindly reply ASAP

raseshtcsraseshtcs
$(document).ready(function(){ if ($.client.os == "Windows") { $(".post").css('font-family', 'Lucida Sans Unicode, sans-serif'); } }); 

Use this jquery plugin. Found it here: http://www.mengu.net/post/jquery-os-detection

 

for javascript: http://www.javascripter.net/faq/operatin.htm

DipakDipak

Hi, thanks for your help,

 

Here in the given examples , it only identifies the OS types, not specific version, like it display Windows for all version of window.

 

But my requirement is to findout the OS type as well as the Version like Windows XP, Windows Vista or Windows 7...

 

 

Is it possible

raseshtcsraseshtcs

I Found this link.... but I have not used the code in this.

http://douglubey.com/JavaScriptHowToDetectOperationSystemBrowserDivTags.aspx