SYNCERのロゴ
アイキャッチ画像

Plugin.description - 詳細

descriptionは、Pluginのプロパティです。プラグインの詳細を返します。

概要

名前
description
所属
Plugin
IDL
readonly attribute DOMString description;
仕様書
https://html.spec.whatwg.org/multipage/system-state.html#dom-plugin-description

説明

プラグインの詳細を表す文字列を返す。

デモ

Plugin.descriptionのデモです。

<!-- このコードは編集できます。 -->

<!DOCTYPE html>
<html>
<head>
<style>
div#result {
	white-space: pre-wrap ;
}
</style>
</head>
<body>
<div id="result"></div>
<script>
var resultElement = document.getElementById( "result" ) ;
var pluginArray = navigator.plugins ;

resultElement.textContent = pluginArray + "\n\n" ;

for( var i=0,l=pluginArray.length; l>i; i++ ) {
	var plugin = pluginArray[i] ;
	console.log( plugin ) ;

	resultElement.textContent += "[" + i + "]" + plugin + "\n" ;
	resultElement.textContent += "\t" + "name: " + plugin.name + "\n" ;
	resultElement.textContent += "\t" + "filename: " + plugin.filename + "\n" ;
	resultElement.textContent += "\t" + "description: " + plugin.description + "\n" ;
	resultElement.textContent += "\t" + "length: " + plugin.length + "\n\n" ;
}
</script>

</body>
</html>

サポート状況

ChromeFirefoxSafariEdgeIEOperaiOS SafariAndroid
11+×
  • Twitterでシェア
  • Facebookでシェア
  • Google+でシェア
  • はてなブックマークでシェア
  • pocketに保存
  • LINEでシェア
更新履歴
2017年10月12日 (木)
コンテンツを公開しました。