aboutsummaryrefslogtreecommitdiff
path: root/files/pl/orphaned/web/api/navigatorplugins
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/orphaned/web/api/navigatorplugins')
-rw-r--r--files/pl/orphaned/web/api/navigatorplugins/index.html112
-rw-r--r--files/pl/orphaned/web/api/navigatorplugins/javaenabled/index.html40
-rw-r--r--files/pl/orphaned/web/api/navigatorplugins/mimetypes/index.html41
-rw-r--r--files/pl/orphaned/web/api/navigatorplugins/plugins/index.html59
4 files changed, 252 insertions, 0 deletions
diff --git a/files/pl/orphaned/web/api/navigatorplugins/index.html b/files/pl/orphaned/web/api/navigatorplugins/index.html
new file mode 100644
index 0000000000..37de32245a
--- /dev/null
+++ b/files/pl/orphaned/web/api/navigatorplugins/index.html
@@ -0,0 +1,112 @@
+---
+title: NavigatorPlugins
+slug: orphaned/Web/API/NavigatorPlugins
+tags:
+ - API
+ - Experimental
+ - HTML-DOM
+ - NeedsTranslation
+ - TopicStub
+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>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Chrome for Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ <td>{{CompatVersionUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li>The {{domxref("Navigator")}} interface that implements it.</li>
+</ul>
diff --git a/files/pl/orphaned/web/api/navigatorplugins/javaenabled/index.html b/files/pl/orphaned/web/api/navigatorplugins/javaenabled/index.html
new file mode 100644
index 0000000000..30f88964de
--- /dev/null
+++ b/files/pl/orphaned/web/api/navigatorplugins/javaenabled/index.html
@@ -0,0 +1,40 @@
+---
+title: NavigatorPlugins.javaEnabled
+slug: orphaned/Web/API/NavigatorPlugins/javaEnabled
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/NavigatorPlugins/javaEnabled
+original_slug: Web/API/NavigatorPlugins/javaEnabled
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Ta metoda wskazuje czy w aktualnej przeglądarce została włączona obsługa Javy.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval"><i>result</i> = window.navigator.javaEnabled()
+</pre>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre class="eval">if (window.navigator.javaEnabled()) {
+ // przeglądarka posiada Javę
+}
+</pre>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Zwracana przez tę metodę wartość wskazuje czy Java jest włączona czy też nie - a nie czy przeglądarka w ogóle obsługuje Javę.</p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>DOM Level 0. Nie jest częścią specyfikacji.</p>
+
+<div class="noinclude"> </div>
+
+<p>{{ languages( { "en": "en/DOM/window.navigator.javaEnabled", "ja": "ja/DOM/window.navigator.javaEnabled" } ) }}</p>
diff --git a/files/pl/orphaned/web/api/navigatorplugins/mimetypes/index.html b/files/pl/orphaned/web/api/navigatorplugins/mimetypes/index.html
new file mode 100644
index 0000000000..22b82363b7
--- /dev/null
+++ b/files/pl/orphaned/web/api/navigatorplugins/mimetypes/index.html
@@ -0,0 +1,41 @@
+---
+title: NavigatorPlugins.mimeTypes
+slug: orphaned/Web/API/NavigatorPlugins/mimeTypes
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/NavigatorPlugins/mimeTypes
+original_slug: Web/API/NavigatorPlugins/mimeTypes
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Zwraca obiekt <code><a class="external" href="http://www.xulplanet.com/references/objref/MimeTypeArray.html">MimeTypeArray</a></code>, który zawiera listę obiektów <code><a class="external" href="http://www.xulplanet.com/references/objref/MimeType.html">MimeType</a></code> reprezentujących typy MIME rozpoznawane przez przeglądarkę.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval"><i>mimeTypes</i> = navigator.mimeTypes;
+</pre>
+
+<p><code>mimeTypes</code> jest obiektem <code><a class="external" href="http://www.xulplanet.com/references/objref/MimeTypeArray.html">MimeTypeArray</a></code>, który posiada zarówno własność <code>length</code> jak i metody <code>item(index)</code> oraz <code>namedItem(name)</code>.</p>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre> alert(window.navigator.mimeTypes.item(0).description); // wyświetli ostrzeżenie "Mozilla Default Plug-in"
+</pre>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Wartością własności <code>type</code> w zerowym elemencie (obiekt <code>MimeType</code> "Mozilla Default Plug-in") jest <code>*</code> zamiast typowego formatu MIME jak np. <code>"image/x-macpaint"</code></p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>{{ DOM0() }}</p>
+
+<div class="noinclude"> </div>
+
+<p>{{ languages( { "en": "en/DOM/window.navigator.mimeTypes", "ja": "ja/DOM/window.navigator.mimeTypes" } ) }}</p>
diff --git a/files/pl/orphaned/web/api/navigatorplugins/plugins/index.html b/files/pl/orphaned/web/api/navigatorplugins/plugins/index.html
new file mode 100644
index 0000000000..e71708a0b1
--- /dev/null
+++ b/files/pl/orphaned/web/api/navigatorplugins/plugins/index.html
@@ -0,0 +1,59 @@
+---
+title: NavigatorPlugins.plugins
+slug: orphaned/Web/API/NavigatorPlugins/plugins
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/NavigatorPlugins/plugins
+original_slug: Web/API/NavigatorPlugins/plugins
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Zwraca obiekt <code><a class="external" href="https://developer.mozilla.org/pl/docs/Web/API/PluginArray">PluginArray</a></code> będący listą wszystkich wtyczek zainstalowanych w aplikacji.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval"><em>plugins</em> = navigator.plugins;
+</pre>
+
+<p><code>plugins</code> jest tabelą <code>PluginArray</code> zawierającą obiekty <code><a class="external" href="https://developer.mozilla.org/pl/docs/Web/API/Plugin">Plugin</a></code> reprezentujące zainstalowane wtyczki.</p>
+
+<p>Zwrócona wartość nie jest jest tablicą JavaScript, ale posiada własność <code>length</code> i obsługuje dostęp do poszczególnych elementów za pomocą notacji nawiasowej (<code>plugins{{ mediawiki.external(2) }}</code>) jak również poprzez metody <code>item(<em>index</em> )</code> i <code>namedItem(<em>"name"</em> )</code>.</p>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<p>Poniższy przykład wyświetla wewnątrz zaawansowanego dokumentu informacje o zainstalowanych wtyczkach. Zauważ własności dostępne w obiekcie Plugin: name, filename i description.</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+ var L = navigator.plugins.length;
+ document.write(L.toString().bold() + " Plugin(s)".bold());
+ document.write("&lt;br&gt;");
+ document.write("Nazwa wtyczki | Nazwa pliku | Opis".bold());
+ document.write("&lt;br&gt;");
+ for(var i=0; i&lt;L; i++) {
+ document.write(navigator.plugins[i].name);
+ document.write(" | ");
+ document.write(navigator.plugins[i].filename);
+ document.write(" | ");
+ document.write(navigator.plugins[i].description);
+ document.write("&lt;br&gt;");
+ }
+&lt;/script&gt;
+</pre>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Obiekt <code><a class="external" href="https://developer.mozilla.org/pl/docs/Web/API/Plugin">Plugin</a></code> wyświetla skromny interfejs w celu uzyskania informacji o różnych wtyczkach zainstalowanych w przeglądarce. Lista wtyczek jest również dostępna poprzez wprowadzenie <kbd>about:plugins</kbd> w pasku adresu.</p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>{{ DOM0() }}</p>
+
+<div class="noinclude"> </div>
+
+<p>{{ languages( { "en": "en/DOM/window.navigator.plugins", "ja": "ja/DOM/window.navigator.plugins" } ) }}</p>