Javascript Reference
Categories: navigator

javascript navigator platform

@March 15, 2008, 1:22 a.m.
platformFirefox/Netscape/NN 4 IE 4 Chrome/Safari/DOM n/a  

Read-only  

Returns the name of the operating system or hardware platform of the browser. For Windows 95/NT, the value is Win32; for a Macintosh running a PowerPC CPU, the value is MacPPC. At least for the major platforms I've been able to test, Navigator and Internet Explorer agree on the returned values. Using this property to determine the baseline facilities of the client in a conditional expression can help the page optimize its output for the device.

 
Example
 
if (navigator.platform == "Win32") {
   document.write("<link rel='stylesheet' type='text/css' href='css/stylePC.css'>");
}
 
Value

String.

 
Default

System dependent.

design technology coursework
<a href=https://brainycoursework.com>coursework writing service uk</a>
custom coursework writing service
InessaEtPi - 1 years
college application essay writing service
<a href=https://buytopessays.com>best essay writing services</a>
scholarship essay writing service
PennyEtPi - 1 years
cheap essay help online
<a href=https://buy-eessay-online.com>cheap essay buy</a>
buy essay online cheap
ChelsaeEtPi - 1 years

Powered by Linode.