navigator.product

製品名(レンダリングエンジン名)を返します。Firefox、Safari 2、iCabで利用することができます。Firefox 1.5, Safari 2, iCab 3ではいずれもGeckoの文字列を返します。

構文

navigator.product

例文

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

関連記事

スポンサーリンク

mvコマンドの挙動(コピーが完了したものから削除する方法)

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

上に戻る