navigator.platform

プラットフォームを返します。MacintoshでPowerPCプロセッサを使用している場合はMacPPCの文字が返されます。

構文

navigator.platform

例文

<html>
 <head>
  <title>navigator.platform</title>
  <script type="text/javascript"><!--
  window.onload = function() {
   var txt = navigator.platform;
   document.getElementById("result").innerHTML = txt;
  }
  // --></script>
 </head>
 <body>
 <div id="result"></div>
 </body>
</html>

関連記事

スポンサーリンク

MKEditor テキストエディタ

ホームページ製作・web系アプリ系の製作案件募集中です。

上に戻る