From feda2965d6968a9b10c5173d9dc41b9104000332 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Mon, 2 Aug 2021 23:45:15 +0900 Subject: orphaned/Web/API/NavigatorPlugins 以下を削除 (#1675) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * orphaned/Web/API/NavigatorPlugins 以下を削除 英語版で既に削除されているため * リダイレクトを修正 --- .../orphaned/web/api/navigatorplugins/index.html | 60 -------------------- .../api/navigatorplugins/javaenabled/index.html | 48 ---------------- .../web/api/navigatorplugins/mimetypes/index.html | 64 ---------------------- .../web/api/navigatorplugins/plugins/index.html | 60 -------------------- 4 files changed, 232 deletions(-) delete mode 100644 files/ja/orphaned/web/api/navigatorplugins/index.html delete mode 100644 files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html delete mode 100644 files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html delete mode 100644 files/ja/orphaned/web/api/navigatorplugins/plugins/index.html (limited to 'files/ja/orphaned/web') diff --git a/files/ja/orphaned/web/api/navigatorplugins/index.html b/files/ja/orphaned/web/api/navigatorplugins/index.html deleted file mode 100644 index ce4dfaf3fb..0000000000 --- a/files/ja/orphaned/web/api/navigatorplugins/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: NavigatorPlugins -slug: orphaned/Web/API/NavigatorPlugins -tags: - - API -translation_of: Web/API/NavigatorPlugins -original_slug: Web/API/NavigatorPlugins ---- -

{{APIRef("HTML DOM")}}{{SeeCompatTable}}

- -

The NavigatorPlugins interface contains methods and properties related to the plugins installed in the browser.

- -

There is no object of type NavigatorPlugins, but other interfaces, like {{domxref("Navigator")}}, implement it.

- -

Properties

- -
-
{{domxref("NavigatorPlugins.mimeTypes")}} {{readonlyInline}}{{experimental_inline}}
-
Returns an {{domxref("MimeTypeArray")}} listing the MIME types supported by the browser.
-
{{domxref("NavigatorPlugins.plugins")}} {{readonlyInline}}{{experimental_inline}}
-
Returns a {{domxref("PluginArray")}} listing the plugins installed in the browser.
-
- -

Methods

- -

The NavigatorPlugins interface doesn't inherit any method.

- -
-
{{domxref("NavigatorPlugins.javaEnabled")}} {{readonlyInline}}{{experimental_inline}}
-
Returns a {{domxref("Boolean")}} flag indicating whether the host browser is Java-enabled or not.
-
- -

Specifications

- - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#navigatorplugins', 'NavigatorPlugins')}}{{Spec2('HTML WHATWG')}}Initial definition.
- -

Browser compatibility

- -

{{Compat("api.NavigatorPlugins")}}

- -

See also

- - diff --git a/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html b/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html deleted file mode 100644 index 9b47d74b9c..0000000000 --- a/files/ja/orphaned/web/api/navigatorplugins/javaenabled/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 ---- -

{{ APIRef("HTML DOM") }}

- -

このメソッドは常に false を返します。

- -

構文

- -
result = window.navigator.javaEnabled()
-
- -

- -
if (window.navigator.javaEnabled()) {
-   // コードは実行されることはありません。条件は常に false になります。
-}
-
- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('HTML WHATWG', '#dom-navigator-javaenabled', 'NavigatorPlugins.javaEnabled')}}{{Spec2('HTML WHATWG')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("api.NavigatorPlugins.javaEnabled")}}

diff --git a/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html b/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html deleted file mode 100644 index e1a350cfa0..0000000000 --- a/files/ja/orphaned/web/api/navigatorplugins/mimetypes/index.html +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: mimeTypes -slug: orphaned/Web/API/NavigatorPlugins/mimeTypes -tags: - - API - - Property - - Reference -translation_of: Web/API/NavigatorPlugins/mimeTypes -original_slug: Web/API/NavigatorPlugins/mimeTypes ---- -
{{ ApiRef("HTML DOM") }}{{deprecated_header}}
- -

{{domxref("MimeTypeArray")}} オブジェクトを返します。これにはブラウザーが解釈する MIME タイプを表す {{domxref("MimeType")}} のリストが入っています。

- -
-

: 最新のバージョンのブラウザーでは、 {{domxref("MimeTypeArray")}} オブジェクトの名前付きプロパティは列挙可能ではなくなっています。

-
- -

構文

- -
var mimeTypes[] = navigator.mimeTypes;
-
- -

mimeTypesMimeTypeArray オブジェクトであり、これは length プロパティと item(index) および namedItem(name) メソッドを持っています。

- -

- -
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;
-}
-
- -

仕様書

- - - - - - - - - - - - - - - - -
仕様書状態備考
{{SpecName('HTML WHATWG', '#dom-navigator-mimetypes', - 'NavigatorPlugins.mimeTypes')}}{{Spec2('HTML WHATWG')}}初回定義
- -

ブラウザーの互換性

- -

{{Compat("api.NavigatorPlugins.mimeTypes")}}

diff --git a/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html b/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html deleted file mode 100644 index 630197a24f..0000000000 --- a/files/ja/orphaned/web/api/navigatorplugins/plugins/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -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 ---- -
{{ApiRef}} {{non-standard_header}}
- -

概要

- -

アプリケーションにインストールされたプラグインをリスト化した、{{domxref("PluginArray")}} オブジェクトを返します。

- -

構文

- -
plugins = navigator.plugins;
-
- - - -

戻り値は JavaScript の配列ではありませんが、length プロパティを持っています。また、各要素にアクセスする方法として、item(index )namedItem("name" ) メソッド経由だけでなく、plugins[2] のように、角括弧を使う方法もサポートしています。

- -

- -

以下の例は、高位の文書のためにインストールされたプラグインについての情報を出力します。注意:Plugin オブジェクトに用意されているプロパティは namefilenamedescription です。

- -
{{gecko_minversion_note("1.9.2", "Gecko 1.9.2 で version プロパティが追加されました。")}}
- -
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>"
-  );
-}
- -

注記

- -

{{domxref("Plugin")}} オブジェクトは、ブラウザにインストールされた様々なプラグインについての情報を取得して表示する小さなインタフェースです。 プラグインの一覧は、ブラウザのアドレスバーに about:plugins と入力することでも閲覧可能です。

- -

仕様

- -

{{DOM0}}

-- cgit v1.2.3-54-g00ecf