From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/api/navigatorplugins/index.html | 69 ++++++++++++++++++++++ .../api/navigatorplugins/javaenabled/index.html | 54 +++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 files/pt-br/web/api/navigatorplugins/index.html create mode 100644 files/pt-br/web/api/navigatorplugins/javaenabled/index.html (limited to 'files/pt-br/web/api/navigatorplugins') diff --git a/files/pt-br/web/api/navigatorplugins/index.html b/files/pt-br/web/api/navigatorplugins/index.html new file mode 100644 index 0000000000..ddcc629eb8 --- /dev/null +++ b/files/pt-br/web/api/navigatorplugins/index.html @@ -0,0 +1,69 @@ +--- +title: NavigatorPlugins +slug: Web/API/NavigatorPlugins +tags: + - API + - DOM + - Experimental + - HTML + - Interface + - Navigation + - NavigatorPlugins + - Plugins + - Reference +translation_of: Web/API/NavigatorPlugins +--- +

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

+ +

O NavigatorPlugins {{Glossary("mixin")}} adiciona na interface do {{domxref ("Navigator")}} métodos e propriedades para descobrir e interagir com plugins instalados no navegador.

+ +

 

+ +

Propriedades

+ +
+
{{domxref("NavigatorPlugins.mimeTypes")}} {{readonlyInline}}{{experimental_inline}}
+
Retorna um {{domxref ("MimeTypeArray")}} listando os tipos MIME suportados pelo navegador.
+
{{domxref("NavigatorPlugins.plugins")}} {{readonlyInline}}{{experimental_inline}}
+
Retorna um {{domxref ("PluginArray")}} listando os plugins instalados no navegador.
+
+ +

Métodos

+ +

A interface NavigatorPlugins NavigatorPlugins não herda nenhum método.

+ +
+
{{domxref("NavigatorPlugins.javaEnabled", "NavigatorPlugins.javaEnabled()")}} {{readonlyInline}}{{experimental_inline}}
+
Retorna uma flag {{domxref ("Boolean")}} indicando se o navegador do host tem o Java ativo ou não.
+
+ +

Especificações

+ + + + + + + + + + + + + + + + +
EspecificaçãoEstadoComentário
{{SpecName('HTML WHATWG', '#navigatorplugins', 'NavigatorPlugins')}}{{Spec2('HTML WHATWG')}}Definição inicial.
+ + + + + +

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

+ +

Veja também

+ + diff --git a/files/pt-br/web/api/navigatorplugins/javaenabled/index.html b/files/pt-br/web/api/navigatorplugins/javaenabled/index.html new file mode 100644 index 0000000000..29aba43a52 --- /dev/null +++ b/files/pt-br/web/api/navigatorplugins/javaenabled/index.html @@ -0,0 +1,54 @@ +--- +title: NavigatorPlugins.javaEnabled() +slug: Web/API/NavigatorPlugins/javaEnabled +tags: + - API + - Example + - Method + - Reference +translation_of: Web/API/NavigatorPlugins/javaEnabled +--- +

{{ APIRef("HTML DOM") }}

+ +

Este método indica se o navegador atual tem o Java ativo ou não.

+ +

Sintaxe

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

Exemplo

+ +
if (window.navigator.javaEnabled()) {
+   // browser has java
+}
+
+ +

Notas

+ +

O valor de retorno para este método indica se a preferência que controla o Java está ativado ou desativado - não se o navegador oferece suporte ao Java, em geral.

+ +

Especificações

+ + + + + + + + + + + + + + + + +
EsécificaçõesEstadoComentário
{{SpecName('HTML WHATWG', '#dom-navigator-javaenabled', 'NavigatorPlugins.javaEnabled')}}{{Spec2('HTML WHATWG')}}Definição inicial.
+ + + + + +

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

-- cgit v1.2.3-54-g00ecf