diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
| commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
| tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pl/web/api/document/plugins | |
| parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
| download | translated-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.html | 40 |
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> <script TYPE="text/javascript"> + <!-- + var L = navigator.plugins.length + document.write( L ); + document.write("Plugins".bold()); + document.write("<BR>"); + document.write("Name | Filename | description".bold()); + document.write("<BR>"); + for(i=0; i<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("<BR>"); + } + //--> + </script> +</pre> +<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3> +<p>DOM Level 0 - brak w specyfikacji.</p> +<p>{{ languages( { "en": "en/DOM/document.plugins" } ) }}</p> |
