diff options
author | MDN <actions@users.noreply.github.com> | 2021-07-09 00:38:08 +0000 |
---|---|---|
committer | MDN <actions@users.noreply.github.com> | 2021-07-09 00:38:08 +0000 |
commit | 235c34993c7b14f783fc8259cc237ac09f0d3e57 (patch) | |
tree | 7bee1bfcdc5216423bb76a12842eb60c169b0b04 /files/ja/web/api/navigatorplugins/plugins/index.html | |
parent | 635bcdc09c53e3c497a3ff8eb958ca8eb541c7fd (diff) | |
download | translated-content-235c34993c7b14f783fc8259cc237ac09f0d3e57.tar.gz translated-content-235c34993c7b14f783fc8259cc237ac09f0d3e57.tar.bz2 translated-content-235c34993c7b14f783fc8259cc237ac09f0d3e57.zip |
[CRON] sync translated content
Diffstat (limited to 'files/ja/web/api/navigatorplugins/plugins/index.html')
-rw-r--r-- | files/ja/web/api/navigatorplugins/plugins/index.html | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/files/ja/web/api/navigatorplugins/plugins/index.html b/files/ja/web/api/navigatorplugins/plugins/index.html deleted file mode 100644 index fa0e482b6d..0000000000 --- a/files/ja/web/api/navigatorplugins/plugins/index.html +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: window.navigator.plugins -slug: Web/API/NavigatorPlugins/plugins -tags: - - DOM - - DOM_0 - - Gecko -translation_of: Web/API/NavigatorPlugins/plugins ---- -<div>{{ApiRef}} {{non-standard_header}}</div> - -<h2 id="Summary" name="Summary">概要</h2> - -<p>アプリケーションにインストールされたプラグインをリスト化した、{{domxref("PluginArray")}} オブジェクトを返します。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><var>plugins</var> = navigator.plugins; -</pre> - -<ul> - <li><var>plugins</var> : インストールされたプラグインを取得するための {{domxref("Plugin")}} オブジェクト を含む <code>PluginArray</code> オブジェクト</li> -</ul> - -<p>戻り値は JavaScript の配列ではありませんが、<code>length</code> プロパティを持っています。また、各要素にアクセスする方法として、<code>item(<em>index</em> )</code> 、 <code>namedItem(<em>"name"</em> )</code> メソッド経由だけでなく、<code>plugins[2]</code> のように、角括弧を使う方法もサポートしています。</p> - -<h2 id="Example" name="Example">例</h2> - -<p>以下の例は、高位の文書のためにインストールされたプラグインについての情報を出力します。注意:Plugin オブジェクトに用意されているプロパティは <code>name</code> 、<code>filename</code> 、<code>description</code> です。</p> - -<div>{{gecko_minversion_note("1.9.2", "Gecko 1.9.2 で <code>version</code> プロパティが追加されました。")}}</div> - -<pre class="brush:js">var L = navigator.plugins.length; - -document.write( - L.toString() + " Plugin(s)<br>" + - "Name | Filename | description<br>" -); - -for(var i = 0; i < L; i++) { - document.write( - navigator.plugins[i].name + - " | " + - navigator.plugins[i].filename + - " | " + - navigator.plugins[i].description + - " | " + - navigator.plugins[i].version + - "<br>" - ); -}</pre> - -<h2 id="Notes" name="Notes">注記</h2> - -<p>{{domxref("Plugin")}} オブジェクトは、ブラウザにインストールされた様々なプラグインについての情報を取得して表示する小さなインタフェースです。 プラグインの一覧は、ブラウザのアドレスバーに <code>about:plugins</code> と入力することでも閲覧可能です。</p> - -<h2 id="Specification" name="Specification">仕様</h2> - -<p>{{DOM0}}</p> |