function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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