aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/api/document/plugins
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:52 -0500
commit074785cea106179cb3305637055ab0a009ca74f2 (patch)
treee6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pl/web/api/document/plugins
parentda78a9e329e272dedb2400b79a3bdeebff387d47 (diff)
downloadtranslated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz
translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2
translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip
initial commit
Diffstat (limited to 'files/pl/web/api/document/plugins')
-rw-r--r--files/pl/web/api/document/plugins/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/files/pl/web/api/document/plugins/index.html b/files/pl/web/api/document/plugins/index.html
new file mode 100644
index 0000000000..fb946ff710
--- /dev/null
+++ b/files/pl/web/api/document/plugins/index.html
@@ -0,0 +1,40 @@
+---
+title: document.plugins
+slug: Web/API/Document/plugins
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Document/plugins
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca listę aktualnie zainstalowanych wtyczek.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>obiektPluginArray</i> = document.plugins
+</pre>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<p>Poniższy przykład wyświetla informację o zainstalowanych wtyczkach dla dokumentu wysokiego poziomu. Zwróć uwagę na właściwości obiektu Plugin: <b>length</b> (dla tablicy wtyczek), <b>name</b>, <b>filename</b> i <b>description</b>.</p>
+<pre> &lt;script TYPE="text/javascript"&gt;
+ &lt;!--
+ var L = navigator.plugins.length
+ document.write( L );
+ document.write("Plugins".bold());
+ document.write("&lt;BR&gt;");
+ document.write("Name | Filename | description".bold());
+ document.write("&lt;BR&gt;");
+ for(i=0; i&lt;L; i++){
+ document.write(navigator.plugins[i].name);
+ document.write(" | ".bold());
+ document.write(navigator.plugins[i].filename);
+ document.write(" | ".bold());
+ document.write(navigator.plugins[i].description);
+ document.write("&lt;BR&gt;");
+ }
+ //--&gt;
+ &lt;/script&gt;
+</pre>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM Level 0 - brak w specyfikacji.</p>
+<p>{{ languages( { "en": "en/DOM/document.plugins" } ) }}</p>