aboutsummaryrefslogtreecommitdiff
path: root/files/ja/orphaned/web/api/navigatorplugins
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/orphaned/web/api/navigatorplugins')
-rw-r--r--files/ja/orphaned/web/api/navigatorplugins/index.html60
-rw-r--r--files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html48
-rw-r--r--files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html64
-rw-r--r--files/ja/orphaned/web/api/navigatorplugins/plugins/index.html60
4 files changed, 232 insertions, 0 deletions
diff --git a/files/ja/orphaned/web/api/navigatorplugins/index.html b/files/ja/orphaned/web/api/navigatorplugins/index.html
new file mode 100644
index 0000000000..ce4dfaf3fb
--- /dev/null
+++ b/files/ja/orphaned/web/api/navigatorplugins/index.html
@@ -0,0 +1,60 @@
+---
+title: NavigatorPlugins
+slug: orphaned/Web/API/NavigatorPlugins
+tags:
+ - API
+translation_of: Web/API/NavigatorPlugins
+original_slug: Web/API/NavigatorPlugins
+---
+<p>{{APIRef("HTML DOM")}}{{SeeCompatTable}}</p>
+
+<p>The <code><strong>NavigatorPlugins</strong></code> interface contains methods and properties related to the plugins installed in the browser.</p>
+
+<p>There is no object of type <code>NavigatorPlugins</code>, but other interfaces, like {{domxref("Navigator")}}, implement it.</p>
+
+<h2 id="Properties">Properties</h2>
+
+<dl>
+ <dt>{{domxref("NavigatorPlugins.mimeTypes")}} {{readonlyInline}}{{experimental_inline}}</dt>
+ <dd>Returns an {{domxref("MimeTypeArray")}} listing the MIME types supported by the browser.</dd>
+ <dt>{{domxref("NavigatorPlugins.plugins")}} {{readonlyInline}}{{experimental_inline}}</dt>
+ <dd>Returns a {{domxref("PluginArray")}} listing the plugins installed in the browser.</dd>
+</dl>
+
+<h2 id="Methods">Methods</h2>
+
+<p><em>The <code>NavigatorPlugins</code></em><em> interface doesn't inherit any method.</em></p>
+
+<dl>
+ <dt>{{domxref("NavigatorPlugins.javaEnabled")}} {{readonlyInline}}{{experimental_inline}}</dt>
+ <dd>Returns a {{domxref("Boolean")}} flag indicating whether the host browser is Java-enabled or not.</dd>
+</dl>
+
+<h2 id="Specifications">Specifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#navigatorplugins', 'NavigatorPlugins')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>Initial definition.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">Browser compatibility</h2>
+
+<p>{{Compat("api.NavigatorPlugins")}}</p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li>The {{domxref("Navigator")}} interface that implements it.</li>
+</ul>
diff --git a/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html b/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html
new file mode 100644
index 0000000000..9b47d74b9c
--- /dev/null
+++ b/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html
@@ -0,0 +1,48 @@
+---
+title: NavigatorPlugins.javaEnabled()
+slug: orphaned/Web/API/NavigatorPlugins/javaEnabled
+tags:
+ - API
+ - Method
+ - Reference
+translation_of: Web/API/NavigatorPlugins/javaEnabled
+original_slug: Web/API/NavigatorPlugins/javaEnabled
+---
+<p>{{ APIRef("HTML DOM") }}</p>
+
+<p>このメソッドは常に false を返します。</p>
+
+<h2 id="Syntax">構文</h2>
+
+<pre class="eval"><em>result</em> = window.navigator.javaEnabled()
+</pre>
+
+<h2 id="Example">例</h2>
+
+<pre class="eval">if (window.navigator.javaEnabled()) {
+ // コードは実行されることはありません。条件は常に false になります。
+}
+</pre>
+
+<h2 id="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#dom-navigator-javaenabled', 'NavigatorPlugins.javaEnabled')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">ブラウザーの互換性</h2>
+
+<p>{{Compat("api.NavigatorPlugins.javaEnabled")}}</p>
diff --git a/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html b/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html
new file mode 100644
index 0000000000..e1a350cfa0
--- /dev/null
+++ b/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html
@@ -0,0 +1,64 @@
+---
+title: mimeTypes
+slug: orphaned/Web/API/NavigatorPlugins/mimeTypes
+tags:
+ - API
+ - Property
+ - Reference
+translation_of: Web/API/NavigatorPlugins/mimeTypes
+original_slug: Web/API/NavigatorPlugins/mimeTypes
+---
+<div>{{ ApiRef("HTML DOM") }}{{deprecated_header}}</div>
+
+<p>{{domxref("MimeTypeArray")}} オブジェクトを返します。これにはブラウザーが解釈する MIME タイプを表す {{domxref("MimeType")}} のリストが入っています。</p>
+
+<div class="note">
+ <p><strong>注</strong>: 最新のバージョンのブラウザーでは、 {{domxref("MimeTypeArray")}} オブジェクトの名前付きプロパティは列挙可能ではなくなっています。</p>
+</div>
+
+<h2 id="Syntax">構文</h2>
+
+<pre class="brush: js">var <var>mimeTypes</var>[] = navigator.mimeTypes;
+</pre>
+
+<p><code>mimeTypes</code> は <code>MimeTypeArray</code> オブジェクトであり、これは <code>length</code> プロパティと <code>item(index)</code> および <code>namedItem(name)</code> メソッドを持っています。</p>
+
+<h2 id="Example">例</h2>
+
+<pre class="brush:js">function isJavaPresent() {
+ return 'application/x-java-applet' in navigator.mimeTypes;
+}
+
+function getJavaPluginDescription() {
+ var mimetype = navigator.mimeTypes['application/x-java-applet'];
+ if (mimetype === undefined) {
+ // no Java plugin present
+ return undefined;
+ }
+ return mimetype.enabledPlugin.description;
+}
+</pre>
+
+<h2 id="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#dom-navigator-mimetypes',
+ 'NavigatorPlugins.mimeTypes')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>初回定義</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility">ブラウザーの互換性</h2>
+
+<p>{{Compat("api.NavigatorPlugins.mimeTypes")}}</p>
diff --git a/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html b/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html
new file mode 100644
index 0000000000..630197a24f
--- /dev/null
+++ b/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html
@@ -0,0 +1,60 @@
+---
+title: window.navigator.plugins
+slug: orphaned/Web/API/NavigatorPlugins/plugins
+tags:
+ - DOM
+ - DOM_0
+ - Gecko
+translation_of: Web/API/NavigatorPlugins/plugins
+original_slug: 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)&lt;br&gt;" +
+ "Name | Filename | description&lt;br&gt;"
+);
+
+for(var i = 0; i &lt; L; i++) {
+ document.write(
+ navigator.plugins[i].name +
+ " | " +
+ navigator.plugins[i].filename +
+ " | " +
+ navigator.plugins[i].description +
+ " | " +
+ navigator.plugins[i].version +
+ "&lt;br&gt;"
+ );
+}</pre>
+
+<h2 id="Notes" name="Notes">注記</h2>
+
+<p>{{domxref("Plugin")}} オブジェクトは、ブラウザにインストールされた様々なプラグインについての情報を取得して表示する小さなインタフェースです。 プラグインの一覧は、ブラウザのアドレスバーに <code>about:plugins</code> と入力することでも閲覧可能です。</p>
+
+<h2 id="Specification" name="Specification">仕様</h2>
+
+<p>{{DOM0}}</p>