navigator.cookieEnabled
Cookieファイルが利用できるかどうかを返します。利用できる場合はtrue、利用できない場合はfalseを返します。
構文
navigator.cookieEnabled
例文
<html>
 <head>
  <title>navigator.cookieEnabled</title>
  <script type="text/javascript"><!--
  window.onload = function() {
   var flag = navigator.cookieEnabled;
   document.getElementById("result").innerHTML = flag;
  }
  // --></script>
 </head>
 <body>
 <div id="result"></div>
 </body>
</html>
関連記事
- navigator.vendorSub
 - navigator.vendor
 - navigator.userProfile
 - navigator.userLanguage
 - navigator.userAgent
 - navigator.taintEnabled
 - navigator.systemLanguage
 - navigator.securityPolicy
 - navigator.productSub
 - navigator.product
 - navigator.preference
 - navigator.platform
 - navigator.oscpu
 - navigator.opsProfile
 - navigator.onLine
 - navigator.language
 - navigator.javaEnabled
 - navigator.cpuClass
 - navigator.browserLanguage
 - navigator.appVersion
 - navigator.appName
 - navigator.appMinorVersion
 - navigator.appCodeName
 
スポンサーリンク





