javascript navigator platform
@March 15, 2008, 1:22 a.m.
platform | Firefox/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. |
Permanent URL:
http://javascript.gakaa.com/navigator-platform.aspx
Dear gakaa.com admin, Your posts are always thought-provoking and inspiring.
Laverne Madera
- 1 weeks
design technology coursework
<a href=https://brainycoursework.com>coursework writing service uk</a>
custom coursework writing service
<a href=https://brainycoursework.com>coursework writing service uk</a>
custom coursework writing service
InessaEtPi
- 2 years
college application essay writing service
<a href=https://buytopessays.com>best essay writing services</a>
scholarship essay writing service
<a href=https://buytopessays.com>best essay writing services</a>
scholarship essay writing service
PennyEtPi
- 2 years
Powered by Linode.