From 235c34993c7b14f783fc8259cc237ac09f0d3e57 Mon Sep 17 00:00:00 2001 From: MDN Date: Fri, 9 Jul 2021 00:38:08 +0000 Subject: [CRON] sync translated content --- files/pl/_redirects.txt | 78 ++++--- files/pl/_wikihistory.json | 250 ++++++++++----------- .../web/api/navigatorid/appcodename/index.html | 31 +++ .../web/api/navigatorid/appname/index.html | 30 +++ .../web/api/navigatorid/appversion/index.html | 33 +++ .../web/api/navigatorid/platform/index.html | 29 +++ .../web/api/navigatorid/product/index.html | 39 ++++ .../orphaned/web/api/navigatorlanguage/index.html | 149 ++++++++++++ .../web/api/navigatorlanguage/language/index.html | 46 ++++ .../pl/orphaned/web/api/navigatoronline/index.html | 128 +++++++++++ .../web/api/navigatoronline/online/index.html | 48 ++++ .../online_and_offline_events/index.html | 85 +++++++ .../orphaned/web/api/navigatorplugins/index.html | 112 +++++++++ .../api/navigatorplugins/javaenabled/index.html | 40 ++++ .../web/api/navigatorplugins/mimetypes/index.html | 41 ++++ .../web/api/navigatorplugins/plugins/index.html | 59 +++++ .../pl/web/api/navigatorid/appcodename/index.html | 31 --- files/pl/web/api/navigatorid/appname/index.html | 30 --- files/pl/web/api/navigatorid/appversion/index.html | 33 --- files/pl/web/api/navigatorid/platform/index.html | 29 --- files/pl/web/api/navigatorid/product/index.html | 39 ---- files/pl/web/api/navigatorlanguage/index.html | 148 ------------ .../web/api/navigatorlanguage/language/index.html | 46 ---- files/pl/web/api/navigatoronline/index.html | 127 ----------- files/pl/web/api/navigatoronline/online/index.html | 48 ---- .../online_and_offline_events/index.html | 85 ------- files/pl/web/api/navigatorplugins/index.html | 111 --------- .../api/navigatorplugins/javaenabled/index.html | 40 ---- .../web/api/navigatorplugins/mimetypes/index.html | 41 ---- .../pl/web/api/navigatorplugins/plugins/index.html | 59 ----- 30 files changed, 1041 insertions(+), 1024 deletions(-) create mode 100644 files/pl/orphaned/web/api/navigatorid/appcodename/index.html create mode 100644 files/pl/orphaned/web/api/navigatorid/appname/index.html create mode 100644 files/pl/orphaned/web/api/navigatorid/appversion/index.html create mode 100644 files/pl/orphaned/web/api/navigatorid/platform/index.html create mode 100644 files/pl/orphaned/web/api/navigatorid/product/index.html create mode 100644 files/pl/orphaned/web/api/navigatorlanguage/index.html create mode 100644 files/pl/orphaned/web/api/navigatorlanguage/language/index.html create mode 100644 files/pl/orphaned/web/api/navigatoronline/index.html create mode 100644 files/pl/orphaned/web/api/navigatoronline/online/index.html create mode 100644 files/pl/orphaned/web/api/navigatoronline/online_and_offline_events/index.html create mode 100644 files/pl/orphaned/web/api/navigatorplugins/index.html create mode 100644 files/pl/orphaned/web/api/navigatorplugins/javaenabled/index.html create mode 100644 files/pl/orphaned/web/api/navigatorplugins/mimetypes/index.html create mode 100644 files/pl/orphaned/web/api/navigatorplugins/plugins/index.html delete mode 100644 files/pl/web/api/navigatorid/appcodename/index.html delete mode 100644 files/pl/web/api/navigatorid/appname/index.html delete mode 100644 files/pl/web/api/navigatorid/appversion/index.html delete mode 100644 files/pl/web/api/navigatorid/platform/index.html delete mode 100644 files/pl/web/api/navigatorid/product/index.html delete mode 100644 files/pl/web/api/navigatorlanguage/index.html delete mode 100644 files/pl/web/api/navigatorlanguage/language/index.html delete mode 100644 files/pl/web/api/navigatoronline/index.html delete mode 100644 files/pl/web/api/navigatoronline/online/index.html delete mode 100644 files/pl/web/api/navigatoronline/online_and_offline_events/index.html delete mode 100644 files/pl/web/api/navigatorplugins/index.html delete mode 100644 files/pl/web/api/navigatorplugins/javaenabled/index.html delete mode 100644 files/pl/web/api/navigatorplugins/mimetypes/index.html delete mode 100644 files/pl/web/api/navigatorplugins/plugins/index.html (limited to 'files/pl') diff --git a/files/pl/_redirects.txt b/files/pl/_redirects.txt index 2075c5e0ee..ef4b558231 100644 --- a/files/pl/_redirects.txt +++ b/files/pl/_redirects.txt @@ -498,19 +498,19 @@ /pl/docs/DOM/window.getSelection /pl/docs/Web/API/Window/getSelection /pl/docs/DOM/window.name /pl/docs/Web/API/Window/name /pl/docs/DOM/window.navigator /pl/docs/Web/API/Window/navigator -/pl/docs/DOM/window.navigator.appCodeName /pl/docs/Web/API/NavigatorID/appCodeName -/pl/docs/DOM/window.navigator.appName /pl/docs/Web/API/NavigatorID/appName -/pl/docs/DOM/window.navigator.appVersion /pl/docs/Web/API/NavigatorID/appVersion +/pl/docs/DOM/window.navigator.appCodeName /pl/docs/orphaned/Web/API/NavigatorID/appCodeName +/pl/docs/DOM/window.navigator.appName /pl/docs/orphaned/Web/API/NavigatorID/appName +/pl/docs/DOM/window.navigator.appVersion /pl/docs/orphaned/Web/API/NavigatorID/appVersion /pl/docs/DOM/window.navigator.buildID /pl/docs/Web/API/Navigator/buildID /pl/docs/DOM/window.navigator.cookieEnabled /pl/docs/Web/API/Navigator/cookieEnabled -/pl/docs/DOM/window.navigator.javaEnabled /pl/docs/Web/API/NavigatorPlugins/javaEnabled -/pl/docs/DOM/window.navigator.language /pl/docs/Web/API/NavigatorLanguage/language -/pl/docs/DOM/window.navigator.mimeTypes /pl/docs/Web/API/NavigatorPlugins/mimeTypes -/pl/docs/DOM/window.navigator.onLine /pl/docs/Web/API/NavigatorOnLine/onLine +/pl/docs/DOM/window.navigator.javaEnabled /pl/docs/orphaned/Web/API/NavigatorPlugins/javaEnabled +/pl/docs/DOM/window.navigator.language /pl/docs/orphaned/Web/API/NavigatorLanguage/language +/pl/docs/DOM/window.navigator.mimeTypes /pl/docs/orphaned/Web/API/NavigatorPlugins/mimeTypes +/pl/docs/DOM/window.navigator.onLine /pl/docs/orphaned/Web/API/NavigatorOnLine/onLine /pl/docs/DOM/window.navigator.oscpu /pl/docs/Web/API/Navigator/oscpu -/pl/docs/DOM/window.navigator.platform /pl/docs/Web/API/NavigatorID/platform -/pl/docs/DOM/window.navigator.plugins /pl/docs/Web/API/NavigatorPlugins/plugins -/pl/docs/DOM/window.navigator.product /pl/docs/Web/API/NavigatorID/product +/pl/docs/DOM/window.navigator.platform /pl/docs/orphaned/Web/API/NavigatorID/platform +/pl/docs/DOM/window.navigator.plugins /pl/docs/orphaned/Web/API/NavigatorPlugins/plugins +/pl/docs/DOM/window.navigator.product /pl/docs/orphaned/Web/API/NavigatorID/product /pl/docs/DOM/window.navigator.productSub /pl/docs/Web/API/Navigator/productSub /pl/docs/DOM/window.navigator.registerProtocolHandler /pl/docs/Web/API/Navigator/registerProtocolHandler /pl/docs/DOM/window.onload /pl/docs/Web/API/GlobalEventHandlers/onload @@ -735,19 +735,19 @@ /pl/docs/DOM:window.getSelection /pl/docs/Web/API/Window/getSelection /pl/docs/DOM:window.name /pl/docs/Web/API/Window/name /pl/docs/DOM:window.navigator /pl/docs/Web/API/Window/navigator -/pl/docs/DOM:window.navigator.appCodeName /pl/docs/Web/API/NavigatorID/appCodeName -/pl/docs/DOM:window.navigator.appName /pl/docs/Web/API/NavigatorID/appName -/pl/docs/DOM:window.navigator.appVersion /pl/docs/Web/API/NavigatorID/appVersion +/pl/docs/DOM:window.navigator.appCodeName /pl/docs/orphaned/Web/API/NavigatorID/appCodeName +/pl/docs/DOM:window.navigator.appName /pl/docs/orphaned/Web/API/NavigatorID/appName +/pl/docs/DOM:window.navigator.appVersion /pl/docs/orphaned/Web/API/NavigatorID/appVersion /pl/docs/DOM:window.navigator.buildID /pl/docs/Web/API/Navigator/buildID /pl/docs/DOM:window.navigator.cookieEnabled /pl/docs/Web/API/Navigator/cookieEnabled -/pl/docs/DOM:window.navigator.javaEnabled /pl/docs/Web/API/NavigatorPlugins/javaEnabled -/pl/docs/DOM:window.navigator.language /pl/docs/Web/API/NavigatorLanguage/language -/pl/docs/DOM:window.navigator.mimeTypes /pl/docs/Web/API/NavigatorPlugins/mimeTypes -/pl/docs/DOM:window.navigator.onLine /pl/docs/Web/API/NavigatorOnLine/onLine +/pl/docs/DOM:window.navigator.javaEnabled /pl/docs/orphaned/Web/API/NavigatorPlugins/javaEnabled +/pl/docs/DOM:window.navigator.language /pl/docs/orphaned/Web/API/NavigatorLanguage/language +/pl/docs/DOM:window.navigator.mimeTypes /pl/docs/orphaned/Web/API/NavigatorPlugins/mimeTypes +/pl/docs/DOM:window.navigator.onLine /pl/docs/orphaned/Web/API/NavigatorOnLine/onLine /pl/docs/DOM:window.navigator.oscpu /pl/docs/Web/API/Navigator/oscpu -/pl/docs/DOM:window.navigator.platform /pl/docs/Web/API/NavigatorID/platform -/pl/docs/DOM:window.navigator.plugins /pl/docs/Web/API/NavigatorPlugins/plugins -/pl/docs/DOM:window.navigator.product /pl/docs/Web/API/NavigatorID/product +/pl/docs/DOM:window.navigator.platform /pl/docs/orphaned/Web/API/NavigatorID/platform +/pl/docs/DOM:window.navigator.plugins /pl/docs/orphaned/Web/API/NavigatorPlugins/plugins +/pl/docs/DOM:window.navigator.product /pl/docs/orphaned/Web/API/NavigatorID/product /pl/docs/DOM:window.navigator.productSub /pl/docs/Web/API/Navigator/productSub /pl/docs/DOM:window.navigator.registerProtocolHandler /pl/docs/Web/API/Navigator/registerProtocolHandler /pl/docs/DOM:window.onload /pl/docs/Web/API/GlobalEventHandlers/onload @@ -1619,17 +1619,31 @@ /pl/docs/Web/API/Event/view /pl/docs/Web/API/UIEvent/view /pl/docs/Web/API/HTMLOrForeignElement/blur /pl/docs/orphaned/Web/API/HTMLOrForeignElement/blur /pl/docs/Web/API/HTMLOrForeignElement/focus /pl/docs/orphaned/Web/API/HTMLOrForeignElement/focus -/pl/docs/Web/API/Navigator/appCodeName /pl/docs/Web/API/NavigatorID/appCodeName -/pl/docs/Web/API/Navigator/appName /pl/docs/Web/API/NavigatorID/appName -/pl/docs/Web/API/Navigator/appVersion /pl/docs/Web/API/NavigatorID/appVersion -/pl/docs/Web/API/Navigator/javaEnabled /pl/docs/Web/API/NavigatorPlugins/javaEnabled -/pl/docs/Web/API/Navigator/language /pl/docs/Web/API/NavigatorLanguage/language -/pl/docs/Web/API/Navigator/mimeTypes /pl/docs/Web/API/NavigatorPlugins/mimeTypes -/pl/docs/Web/API/Navigator/onLine /pl/docs/Web/API/NavigatorOnLine/onLine -/pl/docs/Web/API/Navigator/platform /pl/docs/Web/API/NavigatorID/platform -/pl/docs/Web/API/Navigator/plugins /pl/docs/Web/API/NavigatorPlugins/plugins -/pl/docs/Web/API/Navigator/product /pl/docs/Web/API/NavigatorID/product -/pl/docs/Web/API/NavigatorOnLine/Zdarzenia_online_i_offline /pl/docs/Web/API/NavigatorOnLine/Online_and_offline_events +/pl/docs/Web/API/Navigator/appCodeName /pl/docs/orphaned/Web/API/NavigatorID/appCodeName +/pl/docs/Web/API/Navigator/appName /pl/docs/orphaned/Web/API/NavigatorID/appName +/pl/docs/Web/API/Navigator/appVersion /pl/docs/orphaned/Web/API/NavigatorID/appVersion +/pl/docs/Web/API/Navigator/javaEnabled /pl/docs/orphaned/Web/API/NavigatorPlugins/javaEnabled +/pl/docs/Web/API/Navigator/language /pl/docs/orphaned/Web/API/NavigatorLanguage/language +/pl/docs/Web/API/Navigator/mimeTypes /pl/docs/orphaned/Web/API/NavigatorPlugins/mimeTypes +/pl/docs/Web/API/Navigator/onLine /pl/docs/orphaned/Web/API/NavigatorOnLine/onLine +/pl/docs/Web/API/Navigator/platform /pl/docs/orphaned/Web/API/NavigatorID/platform +/pl/docs/Web/API/Navigator/plugins /pl/docs/orphaned/Web/API/NavigatorPlugins/plugins +/pl/docs/Web/API/Navigator/product /pl/docs/orphaned/Web/API/NavigatorID/product +/pl/docs/Web/API/NavigatorID/appCodeName /pl/docs/orphaned/Web/API/NavigatorID/appCodeName +/pl/docs/Web/API/NavigatorID/appName /pl/docs/orphaned/Web/API/NavigatorID/appName +/pl/docs/Web/API/NavigatorID/appVersion /pl/docs/orphaned/Web/API/NavigatorID/appVersion +/pl/docs/Web/API/NavigatorID/platform /pl/docs/orphaned/Web/API/NavigatorID/platform +/pl/docs/Web/API/NavigatorID/product /pl/docs/orphaned/Web/API/NavigatorID/product +/pl/docs/Web/API/NavigatorLanguage /pl/docs/orphaned/Web/API/NavigatorLanguage +/pl/docs/Web/API/NavigatorLanguage/language /pl/docs/orphaned/Web/API/NavigatorLanguage/language +/pl/docs/Web/API/NavigatorOnLine /pl/docs/orphaned/Web/API/NavigatorOnLine +/pl/docs/Web/API/NavigatorOnLine/Online_and_offline_events /pl/docs/orphaned/Web/API/NavigatorOnLine/Online_and_offline_events +/pl/docs/Web/API/NavigatorOnLine/Zdarzenia_online_i_offline /pl/docs/orphaned/Web/API/NavigatorOnLine/Online_and_offline_events +/pl/docs/Web/API/NavigatorOnLine/onLine /pl/docs/orphaned/Web/API/NavigatorOnLine/onLine +/pl/docs/Web/API/NavigatorPlugins /pl/docs/orphaned/Web/API/NavigatorPlugins +/pl/docs/Web/API/NavigatorPlugins/javaEnabled /pl/docs/orphaned/Web/API/NavigatorPlugins/javaEnabled +/pl/docs/Web/API/NavigatorPlugins/mimeTypes /pl/docs/orphaned/Web/API/NavigatorPlugins/mimeTypes +/pl/docs/Web/API/NavigatorPlugins/plugins /pl/docs/orphaned/Web/API/NavigatorPlugins/plugins /pl/docs/Web/API/Node/localName /pl/docs/Web/API/Element/localName /pl/docs/Web/API/Node/namespaceURI /pl/docs/Web/API/Element/namespaceURI /pl/docs/Web/API/Node/prefix /pl/docs/Web/API/Element/prefix @@ -2578,7 +2592,7 @@ /pl/docs/XSLT:when /pl/docs/Web/XSLT/Element/when /pl/docs/XSLT:with-param /pl/docs/Web/XSLT/Element/with-param /pl/docs/Zasoby_języka_JavaScript /pl/docs/Web/JavaScript/Language_Resources -/pl/docs/Zdarzenia_online_i_offline /pl/docs/Web/API/NavigatorOnLine/Online_and_offline_events +/pl/docs/Zdarzenia_online_i_offline /pl/docs/orphaned/Web/API/NavigatorOnLine/Online_and_offline_events /pl/docs/Zmiany_XMLHttpRequest_dla_Gecko_1.8 /pl/docs/Zmiany_w_obiekcie_XMLHttpRequest_w_Gecko_1.8 /pl/docs/appendChild /pl/docs/Web/API/Node/appendChild /pl/docs/blur /pl/docs/orphaned/Web/API/HTMLOrForeignElement/blur diff --git a/files/pl/_wikihistory.json b/files/pl/_wikihistory.json index b821a64d3f..9c4da3afc6 100644 --- a/files/pl/_wikihistory.json +++ b/files/pl/_wikihistory.json @@ -3185,131 +3185,6 @@ "Flaneur" ] }, - "Web/API/NavigatorID/appCodeName": { - "modified": "2019-03-23T23:49:13.430Z", - "contributors": [ - "teoli", - "xuancanh", - "Mgjbot", - "Diablownik", - "Ptak82" - ] - }, - "Web/API/NavigatorID/appName": { - "modified": "2019-03-23T23:49:12.926Z", - "contributors": [ - "teoli", - "jsx", - "Mgjbot", - "Diablownik" - ] - }, - "Web/API/NavigatorID/appVersion": { - "modified": "2019-03-23T23:49:23.089Z", - "contributors": [ - "teoli", - "jsx", - "Mgjbot", - "Diablownik", - "Internauta1024A" - ] - }, - "Web/API/NavigatorID/platform": { - "modified": "2019-03-23T23:49:28.729Z", - "contributors": [ - "teoli", - "AshfaqHossain", - "Mgjbot", - "Diablownik" - ] - }, - "Web/API/NavigatorID/product": { - "modified": "2019-03-23T23:49:35.115Z", - "contributors": [ - "teoli", - "khalid32", - "Mgjbot", - "Diablownik" - ] - }, - "Web/API/NavigatorLanguage": { - "modified": "2019-03-23T23:01:34.390Z", - "contributors": [ - "maniekbarty", - "teoli" - ] - }, - "Web/API/NavigatorLanguage/language": { - "modified": "2019-03-23T23:49:32.556Z", - "contributors": [ - "teoli", - "khalid32", - "Mgjbot", - "Diablownik", - "Ptak82" - ] - }, - "Web/API/NavigatorOnLine": { - "modified": "2019-03-23T23:01:33.822Z", - "contributors": [ - "teoli" - ] - }, - "Web/API/NavigatorOnLine/Online_and_offline_events": { - "modified": "2019-01-16T15:46:42.070Z", - "contributors": [ - "chrisdavidmills", - "Ptak82", - "Mgjbot", - "Flaneur" - ] - }, - "Web/API/NavigatorOnLine/onLine": { - "modified": "2019-03-23T23:48:52.481Z", - "contributors": [ - "teoli", - "khalid32", - "Mgjbot", - "Diablownik", - "Ptak82" - ] - }, - "Web/API/NavigatorPlugins": { - "modified": "2019-03-23T23:01:33.358Z", - "contributors": [ - "teoli" - ] - }, - "Web/API/NavigatorPlugins/javaEnabled": { - "modified": "2019-03-23T23:49:40.467Z", - "contributors": [ - "teoli", - "jsx", - "Mgjbot", - "Diablownik", - "Ptak82" - ] - }, - "Web/API/NavigatorPlugins/mimeTypes": { - "modified": "2019-03-23T23:49:33.278Z", - "contributors": [ - "teoli", - "khalid32", - "Mgjbot", - "Diablownik" - ] - }, - "Web/API/NavigatorPlugins/plugins": { - "modified": "2019-03-23T23:49:34.992Z", - "contributors": [ - "sheldarr", - "teoli", - "jsx", - "AshfaqHossain", - "Mgjbot", - "Diablownik" - ] - }, "Web/API/Node/appendChild": { "modified": "2019-03-24T00:09:45.110Z", "contributors": [ @@ -11152,6 +11027,131 @@ "Ptak82" ] }, + "orphaned/Web/API/NavigatorID/appCodeName": { + "modified": "2019-03-23T23:49:13.430Z", + "contributors": [ + "teoli", + "xuancanh", + "Mgjbot", + "Diablownik", + "Ptak82" + ] + }, + "orphaned/Web/API/NavigatorID/appName": { + "modified": "2019-03-23T23:49:12.926Z", + "contributors": [ + "teoli", + "jsx", + "Mgjbot", + "Diablownik" + ] + }, + "orphaned/Web/API/NavigatorID/appVersion": { + "modified": "2019-03-23T23:49:23.089Z", + "contributors": [ + "teoli", + "jsx", + "Mgjbot", + "Diablownik", + "Internauta1024A" + ] + }, + "orphaned/Web/API/NavigatorID/platform": { + "modified": "2019-03-23T23:49:28.729Z", + "contributors": [ + "teoli", + "AshfaqHossain", + "Mgjbot", + "Diablownik" + ] + }, + "orphaned/Web/API/NavigatorID/product": { + "modified": "2019-03-23T23:49:35.115Z", + "contributors": [ + "teoli", + "khalid32", + "Mgjbot", + "Diablownik" + ] + }, + "orphaned/Web/API/NavigatorLanguage": { + "modified": "2019-03-23T23:01:34.390Z", + "contributors": [ + "maniekbarty", + "teoli" + ] + }, + "orphaned/Web/API/NavigatorLanguage/language": { + "modified": "2019-03-23T23:49:32.556Z", + "contributors": [ + "teoli", + "khalid32", + "Mgjbot", + "Diablownik", + "Ptak82" + ] + }, + "orphaned/Web/API/NavigatorOnLine": { + "modified": "2019-03-23T23:01:33.822Z", + "contributors": [ + "teoli" + ] + }, + "orphaned/Web/API/NavigatorOnLine/Online_and_offline_events": { + "modified": "2019-01-16T15:46:42.070Z", + "contributors": [ + "chrisdavidmills", + "Ptak82", + "Mgjbot", + "Flaneur" + ] + }, + "orphaned/Web/API/NavigatorOnLine/onLine": { + "modified": "2019-03-23T23:48:52.481Z", + "contributors": [ + "teoli", + "khalid32", + "Mgjbot", + "Diablownik", + "Ptak82" + ] + }, + "orphaned/Web/API/NavigatorPlugins": { + "modified": "2019-03-23T23:01:33.358Z", + "contributors": [ + "teoli" + ] + }, + "orphaned/Web/API/NavigatorPlugins/javaEnabled": { + "modified": "2019-03-23T23:49:40.467Z", + "contributors": [ + "teoli", + "jsx", + "Mgjbot", + "Diablownik", + "Ptak82" + ] + }, + "orphaned/Web/API/NavigatorPlugins/mimeTypes": { + "modified": "2019-03-23T23:49:33.278Z", + "contributors": [ + "teoli", + "khalid32", + "Mgjbot", + "Diablownik" + ] + }, + "orphaned/Web/API/NavigatorPlugins/plugins": { + "modified": "2019-03-23T23:49:34.992Z", + "contributors": [ + "sheldarr", + "teoli", + "jsx", + "AshfaqHossain", + "Mgjbot", + "Diablownik" + ] + }, "orphaned/Web/API/ParentNode": { "modified": "2020-10-15T22:19:13.921Z" }, diff --git a/files/pl/orphaned/web/api/navigatorid/appcodename/index.html b/files/pl/orphaned/web/api/navigatorid/appcodename/index.html new file mode 100644 index 0000000000..aaf7171551 --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorid/appcodename/index.html @@ -0,0 +1,31 @@ +--- +title: window.navigator.appCodeName +slug: orphaned/Web/API/NavigatorID/appCodeName +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorID/appCodeName +original_slug: Web/API/NavigatorID/appCodeName +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Zwraca wewnętrzną nazwę "kodową" aktualnej przeglądarki.

+

Składnia

+
codeName = window.navigator.appCodeName
+
+

Parametry

+ +

Przykład

+
dump(window.navigator.appCodeName);
+
+

Uwagi

+

Mozilla, Netscape 6 i IE5 używają wewnętrznej nazwy "Mozilla".

+

Specyfikacja

+

DOM Level 0. Nie jest częścią specyfikacji.

+
+  
+

{{ languages( { "en": "en/DOM/window.navigator.appCodeName", "ja": "ja/DOM/window.navigator.appCodeName" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatorid/appname/index.html b/files/pl/orphaned/web/api/navigatorid/appname/index.html new file mode 100644 index 0000000000..76ddc93b0e --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorid/appname/index.html @@ -0,0 +1,30 @@ +--- +title: window.navigator.appName +slug: orphaned/Web/API/NavigatorID/appName +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorID/appName +original_slug: Web/API/NavigatorID/appName +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Zwraca oficjalną nazwę przeglądarki.

+

Składnia

+
appName = window.navigator.appName
+
+

Parametry

+ +

Przykład

+
dump(window.navigator.appName);
+// dla NS6 wypisuje w konsoli "Navigator"
+
+

Specyfikacja

+

DOM Level 0. Nie jest częścią specyfikacji.

+
+  
+

{{ languages( { "en": "en/DOM/window.navigator.appName", "ja": "ja/DOM/window.navigator.appName" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatorid/appversion/index.html b/files/pl/orphaned/web/api/navigatorid/appversion/index.html new file mode 100644 index 0000000000..4b5aa6ca1b --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorid/appversion/index.html @@ -0,0 +1,33 @@ +--- +title: window.navigator.appVersion +slug: orphaned/Web/API/NavigatorID/appVersion +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorID/appVersion +original_slug: Web/API/NavigatorID/appVersion +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Zwraca wersję przeglądarki jako łańcuch znaków.

+

Składnia

+
ver = window.navigator.appVersion
+
+

Parametry

+ +

Przykład

+
if ( navigator.appVersion.charAt(0) == "5" ) {
+    // prawdopodobnie jest to piąta wersja przeglądarki
+ }
+
+

Uwagi

+

Własność window.navigator.userAgent również zawiera numer wersji przeglądarki (przykładowo: "Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape 6/6.1"), lecz powinniśmy mieć świadomość jak łatwo jest zmienić ciąg user-agent i "naśladować" inne przeglądarki, platformy lub pośredników użytkownika oraz jak bezmyślni są sami producenci przeglądarek w ustawianiu tej wartości. Własności window.navigator.appVersion i window.navigator.userAgent są dość często stosowane w kodzie "szpiegującym przeglądarki": skryptach, które próbują dowiedzieć się jakiej używasz przeglądarki i wyświetlić stosowną do niej stronę.

+

Specyfikacja

+

DOM Level 0. Nie jest częścią specyfikacji.

+
+  
+

{{ languages( { "en": "en/DOM/window.navigator.appVersion", "ja": "ja/DOM/window.navigator.appVersion" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatorid/platform/index.html b/files/pl/orphaned/web/api/navigatorid/platform/index.html new file mode 100644 index 0000000000..4704893247 --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorid/platform/index.html @@ -0,0 +1,29 @@ +--- +title: window.navigator.platform +slug: orphaned/Web/API/NavigatorID/platform +tags: + - DOM + - DOM_0 + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorID/platform +original_slug: Web/API/NavigatorID/platform +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Zwraca łańcuch znaków reprezentujący platformę przeglądarki.

+

Składnia

+
platform =navigator.platform
+
+

platform jest łańcuchem znaków z jedną z następujących wartości: "Win32", "Linux i686", "MacPPC", "MacIntel" lub inną.

+

Przykład

+
alert(navigator.platform);
+
+

Uwagi

+

Jeśli Twój kod nie jest uprzywilejowany (chrome lub przynajmniej kod z uprawnieniem UniversalBrowserRead), może on otrzymać wartość opcji <tt>general.platform.override</tt> zamiast prawdziwej platformy.

+

Specyfikacja

+

{{ DOM0() }}

+
+  
+

{{ languages( { "en": "en/DOM/window.navigator.platform", "ja": "ja/DOM/window.navigator.platform" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatorid/product/index.html b/files/pl/orphaned/web/api/navigatorid/product/index.html new file mode 100644 index 0000000000..74a20f8a1e --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorid/product/index.html @@ -0,0 +1,39 @@ +--- +title: window.navigator.product +slug: orphaned/Web/API/NavigatorID/product +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorID/product +original_slug: Web/API/NavigatorID/product +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Własność ta zwraca nazwę produktu bieżącej przeglądarki.

+

Składnia

+
productName = window.navigator.product
+
+

Parametry

+ +

Przykład

+
<script>
+function prod() {
+  dt = document.getElementById("d");
+  dt.innerHTML = window.navigator.product;
+}
+</script>
+<button onclick="prod();">produkt</button>
+<div id="d"> </div>
+// zwraca "Gecko"
+
+

Uwagi

+

Produkt jest tą częścią pełnego łańcucha identyfikatora przeglądarki, która następuje bezpośrednio po platformie. Na przykład, w identyfikatorze przeglądarki dla Netscape 6.1 produktem jest "Gecko", a pełny ciąg identyfikatora przeglądarki jest następujący: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape6/6.1

+

Specyfikacja

+

DOM Level 0. Nie jest częścią specyfikacji.

+
+  
+

{{ languages( { "en": "en/DOM/window.navigator.product", "ja": "ja/DOM/window.navigator.product" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatorlanguage/index.html b/files/pl/orphaned/web/api/navigatorlanguage/index.html new file mode 100644 index 0000000000..fc736ce50b --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorlanguage/index.html @@ -0,0 +1,149 @@ +--- +title: NavigatorLanguage +slug: orphaned/Web/API/NavigatorLanguage +tags: + - API + - HTML-DOM + - NeedsTranslation + - No Interface + - Reference + - TopicStub +translation_of: Web/API/NavigatorLanguage +original_slug: Web/API/NavigatorLanguage +--- +

{{APIRef("HTML DOM")}}

+ +

NavigatorLanguage contains methods and properties related to the language of the navigator.

+ +

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

+ +

Properties

+ +

The NavigatorLanguage interface doesn't inherit any property.

+ +
+
{{domxref("NavigatorLanguage.language")}} {{readonlyInline}}
+
Returns a {{domxref("DOMString")}} representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown.
+
{{domxref("NavigatorLanguage.languages")}} {{readonlyInline}}
+
Returns an array of {{domxref("DOMString")}} representing the languages known to the user, by order of preference.
+
+ +

Methods

+ +

The NavigatorLanguage interface neither implements, nor inherit any method.

+ +

Specifications

+ + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#navigatorlanguage', 'NavigatorLanguage')}}{{Spec2('HTML WHATWG')}}Since the {{SpecName('HTML5 W3C')}} snapshot, the languages property has been added.
{{SpecName('HTML5 W3C', '#navigatorlanguage', 'NavigatorLanguage')}}{{Spec2('HTML5 W3C')}}Initial specification; snapshot of  an early version{{SpecName('HTML WHATWG')}}.
+ +

Browser compatibility

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
languages37{{CompatGeckoDesktop("32")}}{{CompatNo}}24{{CompatNo}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoDesktop("35")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
languages{{CompatUnknown}}{{CompatUnknown}} {{CompatGeckoMobile("32")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("35")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
+
+ +

See also

+ + diff --git a/files/pl/orphaned/web/api/navigatorlanguage/language/index.html b/files/pl/orphaned/web/api/navigatorlanguage/language/index.html new file mode 100644 index 0000000000..16876caa55 --- /dev/null +++ b/files/pl/orphaned/web/api/navigatorlanguage/language/index.html @@ -0,0 +1,46 @@ +--- +title: NavigatorLanguage.language +slug: orphaned/Web/API/NavigatorLanguage/language +tags: + - DOM + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorLanguage/language +original_slug: Web/API/NavigatorLanguage/language +--- +

{{ ApiRef() }}

+ +

Podsumowanie

+ +

Zwraca łańcuch znaków reprezentujący wersję językową przeglądarki.

+ +

Składnia

+ +
lang = window.navigator.language
+
+ +

Parametry

+ + + +

Przykład

+ +
if ( window.navigator.language != "pl" ) {
+ doLangSelect(window.navigator.language);
+}
+
+ +

Uwagi

+ +

Ta własność pojawia się również jako część łańcucha znaków navigator.userAgent.

+ +

Specyfikacja

+ +

DOM Level 0. Nie jest częścią specyfikacji.

+ +
 
+ +

{{ languages( { "en": "en/DOM/window.navigator.language", "ja": "ja/DOM/window.navigator.language" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatoronline/index.html b/files/pl/orphaned/web/api/navigatoronline/index.html new file mode 100644 index 0000000000..cf50921490 --- /dev/null +++ b/files/pl/orphaned/web/api/navigatoronline/index.html @@ -0,0 +1,128 @@ +--- +title: NavigatorOnLine +slug: orphaned/Web/API/NavigatorOnLine +tags: + - API + - HTML-DOM + - NeedsTranslation + - TopicStub +translation_of: Web/API/NavigatorOnLine +original_slug: Web/API/NavigatorOnLine +--- +

{{APIRef("HTML DOM")}}

+ +

The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.

+ +

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

+ +

Properties

+ +

The NavigatorOnLine interface doesn't inherit any property.

+ +
+
{{domxref("NavigatorOnLine.onLine")}} {{readonlyInline}}
+
Returns a {{domxref("Boolean")}} indicating whether the browser is working online.
+
+ +

Methods

+ +

The NavigatorOnLine interface neither implements, nor inherit any method.

+ +

Specifications

+ + + + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#navigatoronline', 'NavigatorOnLine')}}{{Spec2('HTML WHATWG')}}No change from the latest snapshot, {{SpecName('HTML5 W3C')}}
{{SpecName('HTML5 W3C', '#navigatoronline', 'NavigatorOnLine')}}{{Spec2('HTML5 W3C')}}Snapshot of {{SpecName('HTML WHATWG')}} with its initial specification.
+ +

Browser compatibility

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoDesktop(29)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoMobile(29)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
+
+ +

See also

+ + diff --git a/files/pl/orphaned/web/api/navigatoronline/online/index.html b/files/pl/orphaned/web/api/navigatoronline/online/index.html new file mode 100644 index 0000000000..8e968df60f --- /dev/null +++ b/files/pl/orphaned/web/api/navigatoronline/online/index.html @@ -0,0 +1,48 @@ +--- +title: NavigatorOnLine.onLine +slug: orphaned/Web/API/NavigatorOnLine/onLine +tags: + - DOM + - DOM_0 + - Dokumentacja_Gecko_DOM + - Gecko + - Wszystkie_kategorie +translation_of: Web/API/NavigatorOnLine/onLine +original_slug: Web/API/NavigatorOnLine/onLine +--- +

{{ ApiRef() }}

+ +

Podsumowanie

+ +

Zwraca wartość logiczną wskazującą czy przeglądarka jest w trybie online, czy nie.

+ +

Składnia

+ +
online =
+window.navigator.onLine;
+
+ + + +

Przykład

+ +
alert(navigator.onLine ? "Jesteś online" : "Jesteś offline");
+
+ +

Uwagi

+ +

Zobacz Zdarzenia Online/Offline‎, aby uzyskać bardziej szczegółowy opis tej własności, jak również nowych funkcji związanych z trybem offline, wprowadzonych w Firefoksie 3.

+ +

Specyfikacja

+ +

{{ DOM0() }}

+ +

Opisana w szkicu roboczym HTML 5

+ +

 

+ +
 
+ +

{{ languages( { "en": "en/DOM/window.navigator.onLine", "fr": "fr/DOM/window.navigator.onLine", "ja": "ja/DOM/window.navigator.onLine" } ) }}

diff --git a/files/pl/orphaned/web/api/navigatoronline/online_and_offline_events/index.html b/files/pl/orphaned/web/api/navigatoronline/online_and_offline_events/index.html new file mode 100644 index 0000000000..87671f5a2a --- /dev/null +++ b/files/pl/orphaned/web/api/navigatoronline/online_and_offline_events/index.html @@ -0,0 +1,85 @@ +--- +title: Zdarzenia online i offline +slug: orphaned/Web/API/NavigatorOnLine/Online_and_offline_events +tags: + - AJAX + - DOM + - Programowanie_WWW + - Wszystkie_kategorie +translation_of: Web/API/NavigatorOnLine/Online_and_offline_events +original_slug: Web/API/NavigatorOnLine/Online_and_offline_events +--- +

W programie Firefox 3 zaimplementowano obsługę zdarzeń online i offline zdefiniowanych w specyfikacji WHATWG Web Applications 1.0. +

+

Omówienie

+

Do stworzenia dobrej aplikacji internetowej działającej w trybie offline konieczne jest istnienie sposobu na sprawdzenie, kiedy aplikacja faktycznie znajduje się w trybie offline. W niektórych przypadkach potrzebna jest także możliwość stwierdzenia, czy aplikacja powróciła do stanu „online”. W praktyce sprowadza się to do dwóch wymagań: +

+
  1. Konieczne jest stwierdzenie, kiedy użytkownik przełącza przeglądarkę w tryb online, aby można było przeprowadzić ponowną synchronizację z serwerem.
  2. Konieczne jest stwierdzenie, kiedy użytkownik przełącza przeglądarkę w tryb offline, aby można było odłożyć wysłanie żądania do serwera na później.
+

Zdarzenia online i offline pozwalają na uproszczenie powyższych procedur.

W aplikacji internetowej może także być konieczne wymuszenie przechowywania określonych dokumentów w pamięci podręcznej zasobów offline. W tym celu w kodzie sekcji HEAD należy wstawić znacznik LINK przedstawiony poniżej: +

+
<link rel="offline-resource" href="mój_zasób">
+
+

Przy przetwarzaniu kodu HTML przez program Firefox w wersji 3 lub nowszej dokumenty wymienione w znaczniku zostaną zapisane w specjalnej pamięci podręcznej zasobów offline. +

+

Interfejs API

+ +

navigator.onLine to własność, która zwraca wartość true lub false (true dla trybu online, false dla trybu offline). Własność ta jest aktualizowana za każdym razem, gdy użytkownik przełącza przeglądarkę w tryb offline, wybierając odpowiednie polecenie menu (w programie Firefox: Plik -> Pracuj w trybie offline). +

Ponadto ta własność powinna być aktualizowana zawsze, gdy w przeglądarce nie można nawiązać połączenia z siecią. Zgodnie ze specyfikacją: +

+
+Atrybut navigator.onLine musi zwracać wartość false, jeżeli w programie po kliknięciu odsyłacza przez użytkownika lub po wysłaniu przez skrypt żądania do zdalnej witryny nie można połączyć się z siecią (lub wiadomo, że taka próba nie powiedzie się)... +
+

W programie Firefox 2 ta własność jest aktualizowana przy przełączaniu przeglądarki między trybami online i offline oraz przy utracie lub ponownym nawiązaniu połączenia z siecią (dotyczy systemów Windows i Linux). +

Własność istnieje w starszych wersjach przeglądarek Firefox i Internet Explorer (obecna specyfikacja została oparta na tych właśnie wcześniejszych implementacjach), można zatem korzystać z niej już teraz. Automatyczne wykrywanie stanu połączenia sieciowego zostało wprowadzone w programie Firefox 2.

+

Zdarzenia "online" i "offline"

+

W programie Firefox 3 wprowadzono dwa nowe zdarzenia: "online" i "offline". Są one wywoływane w elemencie <body> każdej otwartej strony, gdy przeglądarka jest przełączana między trybem online i offline. Ponadto zdarzenie bąbelkuje od elementu document.body, poprzez element document, aż do elementu window. Żadnego ze zdarzeń nie można anulować (niemożliwe jest zablokowanie możliwości przełączania przeglądarki między trybami online i offline). +

Obserwatory (ang. event listeners) tych zdarzeń można zarejestrować na kilka sposobów: +

+ +

Przykład

+

Dostępny jest prosty przykład zastosowania, który pozwala na sprawdzenie działania zdarzeń. +XXX When mochitests for this are created, point to those instead and update this example -nickolay +

+
 <!doctype html>
+ <html>
+ <head>
+   <script>
+     function updateOnlineStatus(msg) {
+       var status = document.getElementById("status");
+       var condition = navigator.onLine ? "ONLINE" : "OFFLINE";
+       status.setAttribute("class", condition);
+       var state = document.getElementById("state");
+       state.innerHTML = condition;
+       var log = document.getElementById("log");
+       log.appendChild(document.createTextNode("Zdarzenie: " + msg + "; stan=" + condition + "\n"));
+     }
+     function loaded() {
+       updateOnlineStatus("load");
+       document.body.addEventListener("offline", function () {
+         updateOnlineStatus("offline")
+       }, false);
+       document.body.addEventListener("online", function () {
+         updateOnlineStatus("online")
+       }, false);
+     }
+   </script>
+   <style>...</style>
+ </head>
+ <body onload="loaded()">
+   <div id="status"><p id="state"></p></div>
+   <div id="log"></div>
+ </body>
+ </html>
+
+

Odsyłacze

+ +
+
+{{ languages( { "en": "en/Online_and_offline_events", "es": "es/Eventos_online_y_offline", "fr": "fr/\u00c9v\u00e8nements_online_et_offline", "ja": "ja/Online_and_offline_events", "pt": "pt/Eventos_online_e_offline" } ) }} 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 +--- +

{{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

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
+
+ +

See also

+ + 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 +--- +

{{ ApiRef() }}

+ +

Podsumowanie

+ +

Ta metoda wskazuje czy w aktualnej przeglądarce została włączona obsługa Javy.

+ +

Składnia

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

Przykład

+ +
if (window.navigator.javaEnabled()) {
+   // przeglądarka posiada Javę
+}
+
+ +

Uwagi

+ +

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ę.

+ +

Specyfikacja

+ +

DOM Level 0. Nie jest częścią specyfikacji.

+ +
 
+ +

{{ languages( { "en": "en/DOM/window.navigator.javaEnabled", "ja": "ja/DOM/window.navigator.javaEnabled" } ) }}

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 +--- +

{{ ApiRef() }}

+ +

Podsumowanie

+ +

Zwraca obiekt MimeTypeArray, który zawiera listę obiektów MimeType reprezentujących typy MIME rozpoznawane przez przeglądarkę.

+ +

Składnia

+ +
mimeTypes = navigator.mimeTypes;
+
+ +

mimeTypes jest obiektem MimeTypeArray, który posiada zarówno własność length jak i metody item(index) oraz namedItem(name).

+ +

Przykład

+ +
  alert(window.navigator.mimeTypes.item(0).description); // wyświetli ostrzeżenie "Mozilla Default Plug-in"
+
+ +

Uwagi

+ +

Wartością własności type w zerowym elemencie (obiekt MimeType "Mozilla Default Plug-in") jest * zamiast typowego formatu MIME jak np. "image/x-macpaint"

+ +

Specyfikacja

+ +

{{ DOM0() }}

+ +
 
+ +

{{ languages( { "en": "en/DOM/window.navigator.mimeTypes", "ja": "ja/DOM/window.navigator.mimeTypes" } ) }}

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 +--- +

{{ ApiRef() }}

+ +

Podsumowanie

+ +

Zwraca obiekt PluginArray będący listą wszystkich wtyczek zainstalowanych w aplikacji.

+ +

Składnia

+ +
plugins = navigator.plugins;
+
+ +

plugins jest tabelą PluginArray zawierającą obiekty Plugin reprezentujące zainstalowane wtyczki.

+ +

Zwrócona wartość nie jest jest tablicą JavaScript, ale posiada własność length i obsługuje dostęp do poszczególnych elementów za pomocą notacji nawiasowej (plugins{{ mediawiki.external(2) }}) jak również poprzez metody item(index ) i namedItem("name" ).

+ +

Przykład

+ +

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.

+ +
<script type="text/javascript">
+   var L = navigator.plugins.length;
+   document.write(L.toString().bold() + " Plugin(s)".bold());
+   document.write("<br>");
+   document.write("Nazwa wtyczki | Nazwa pliku | Opis".bold());
+   document.write("<br>");
+   for(var i=0; i<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("<br>");
+   }
+</script>
+
+ +

Uwagi

+ +

Obiekt Plugin 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 about:plugins w pasku adresu.

+ +

Specyfikacja

+ +

{{ DOM0() }}

+ +
 
+ +

{{ languages( { "en": "en/DOM/window.navigator.plugins", "ja": "ja/DOM/window.navigator.plugins" } ) }}

diff --git a/files/pl/web/api/navigatorid/appcodename/index.html b/files/pl/web/api/navigatorid/appcodename/index.html deleted file mode 100644 index 36b6cdcb2c..0000000000 --- a/files/pl/web/api/navigatorid/appcodename/index.html +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: window.navigator.appCodeName -slug: Web/API/NavigatorID/appCodeName -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorID/appCodeName -original_slug: Web/API/Navigator/appCodeName ---- -

{{ ApiRef() }}

-

Podsumowanie

-

Zwraca wewnętrzną nazwę "kodową" aktualnej przeglądarki.

-

Składnia

-
codeName = window.navigator.appCodeName
-
-

Parametry

- -

Przykład

-
dump(window.navigator.appCodeName);
-
-

Uwagi

-

Mozilla, Netscape 6 i IE5 używają wewnętrznej nazwy "Mozilla".

-

Specyfikacja

-

DOM Level 0. Nie jest częścią specyfikacji.

-
-  
-

{{ languages( { "en": "en/DOM/window.navigator.appCodeName", "ja": "ja/DOM/window.navigator.appCodeName" } ) }}

diff --git a/files/pl/web/api/navigatorid/appname/index.html b/files/pl/web/api/navigatorid/appname/index.html deleted file mode 100644 index cede259301..0000000000 --- a/files/pl/web/api/navigatorid/appname/index.html +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: window.navigator.appName -slug: Web/API/NavigatorID/appName -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorID/appName -original_slug: Web/API/Navigator/appName ---- -

{{ ApiRef() }}

-

Podsumowanie

-

Zwraca oficjalną nazwę przeglądarki.

-

Składnia

-
appName = window.navigator.appName
-
-

Parametry

- -

Przykład

-
dump(window.navigator.appName);
-// dla NS6 wypisuje w konsoli "Navigator"
-
-

Specyfikacja

-

DOM Level 0. Nie jest częścią specyfikacji.

-
-  
-

{{ languages( { "en": "en/DOM/window.navigator.appName", "ja": "ja/DOM/window.navigator.appName" } ) }}

diff --git a/files/pl/web/api/navigatorid/appversion/index.html b/files/pl/web/api/navigatorid/appversion/index.html deleted file mode 100644 index b3146b68b6..0000000000 --- a/files/pl/web/api/navigatorid/appversion/index.html +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: window.navigator.appVersion -slug: Web/API/NavigatorID/appVersion -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorID/appVersion -original_slug: Web/API/Navigator/appVersion ---- -

{{ ApiRef() }}

-

Podsumowanie

-

Zwraca wersję przeglądarki jako łańcuch znaków.

-

Składnia

-
ver = window.navigator.appVersion
-
-

Parametry

- -

Przykład

-
if ( navigator.appVersion.charAt(0) == "5" ) {
-    // prawdopodobnie jest to piąta wersja przeglądarki
- }
-
-

Uwagi

-

Własność window.navigator.userAgent również zawiera numer wersji przeglądarki (przykładowo: "Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape 6/6.1"), lecz powinniśmy mieć świadomość jak łatwo jest zmienić ciąg user-agent i "naśladować" inne przeglądarki, platformy lub pośredników użytkownika oraz jak bezmyślni są sami producenci przeglądarek w ustawianiu tej wartości. Własności window.navigator.appVersion i window.navigator.userAgent są dość często stosowane w kodzie "szpiegującym przeglądarki": skryptach, które próbują dowiedzieć się jakiej używasz przeglądarki i wyświetlić stosowną do niej stronę.

-

Specyfikacja

-

DOM Level 0. Nie jest częścią specyfikacji.

-
-  
-

{{ languages( { "en": "en/DOM/window.navigator.appVersion", "ja": "ja/DOM/window.navigator.appVersion" } ) }}

diff --git a/files/pl/web/api/navigatorid/platform/index.html b/files/pl/web/api/navigatorid/platform/index.html deleted file mode 100644 index 3e15e51020..0000000000 --- a/files/pl/web/api/navigatorid/platform/index.html +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: window.navigator.platform -slug: Web/API/NavigatorID/platform -tags: - - DOM - - DOM_0 - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorID/platform -original_slug: Web/API/Navigator/platform ---- -

{{ ApiRef() }}

-

Podsumowanie

-

Zwraca łańcuch znaków reprezentujący platformę przeglądarki.

-

Składnia

-
platform =navigator.platform
-
-

platform jest łańcuchem znaków z jedną z następujących wartości: "Win32", "Linux i686", "MacPPC", "MacIntel" lub inną.

-

Przykład

-
alert(navigator.platform);
-
-

Uwagi

-

Jeśli Twój kod nie jest uprzywilejowany (chrome lub przynajmniej kod z uprawnieniem UniversalBrowserRead), może on otrzymać wartość opcji <tt>general.platform.override</tt> zamiast prawdziwej platformy.

-

Specyfikacja

-

{{ DOM0() }}

-
-  
-

{{ languages( { "en": "en/DOM/window.navigator.platform", "ja": "ja/DOM/window.navigator.platform" } ) }}

diff --git a/files/pl/web/api/navigatorid/product/index.html b/files/pl/web/api/navigatorid/product/index.html deleted file mode 100644 index 8dbd83400e..0000000000 --- a/files/pl/web/api/navigatorid/product/index.html +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: window.navigator.product -slug: Web/API/NavigatorID/product -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorID/product -original_slug: Web/API/Navigator/product ---- -

{{ ApiRef() }}

-

Podsumowanie

-

Własność ta zwraca nazwę produktu bieżącej przeglądarki.

-

Składnia

-
productName = window.navigator.product
-
-

Parametry

- -

Przykład

-
<script>
-function prod() {
-  dt = document.getElementById("d");
-  dt.innerHTML = window.navigator.product;
-}
-</script>
-<button onclick="prod();">produkt</button>
-<div id="d"> </div>
-// zwraca "Gecko"
-
-

Uwagi

-

Produkt jest tą częścią pełnego łańcucha identyfikatora przeglądarki, która następuje bezpośrednio po platformie. Na przykład, w identyfikatorze przeglądarki dla Netscape 6.1 produktem jest "Gecko", a pełny ciąg identyfikatora przeglądarki jest następujący: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010725 Netscape6/6.1

-

Specyfikacja

-

DOM Level 0. Nie jest częścią specyfikacji.

-
-  
-

{{ languages( { "en": "en/DOM/window.navigator.product", "ja": "ja/DOM/window.navigator.product" } ) }}

diff --git a/files/pl/web/api/navigatorlanguage/index.html b/files/pl/web/api/navigatorlanguage/index.html deleted file mode 100644 index 7d6b0751e7..0000000000 --- a/files/pl/web/api/navigatorlanguage/index.html +++ /dev/null @@ -1,148 +0,0 @@ ---- -title: NavigatorLanguage -slug: Web/API/NavigatorLanguage -tags: - - API - - HTML-DOM - - NeedsTranslation - - No Interface - - Reference - - TopicStub -translation_of: Web/API/NavigatorLanguage ---- -

{{APIRef("HTML DOM")}}

- -

NavigatorLanguage contains methods and properties related to the language of the navigator.

- -

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

- -

Properties

- -

The NavigatorLanguage interface doesn't inherit any property.

- -
-
{{domxref("NavigatorLanguage.language")}} {{readonlyInline}}
-
Returns a {{domxref("DOMString")}} representing the preferred language of the user, usually the language of the browser UI. The null value is returned when this is unknown.
-
{{domxref("NavigatorLanguage.languages")}} {{readonlyInline}}
-
Returns an array of {{domxref("DOMString")}} representing the languages known to the user, by order of preference.
-
- -

Methods

- -

The NavigatorLanguage interface neither implements, nor inherit any method.

- -

Specifications

- - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#navigatorlanguage', 'NavigatorLanguage')}}{{Spec2('HTML WHATWG')}}Since the {{SpecName('HTML5 W3C')}} snapshot, the languages property has been added.
{{SpecName('HTML5 W3C', '#navigatorlanguage', 'NavigatorLanguage')}}{{Spec2('HTML5 W3C')}}Initial specification; snapshot of  an early version{{SpecName('HTML WHATWG')}}.
- -

Browser compatibility

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
languages37{{CompatGeckoDesktop("32")}}{{CompatNo}}24{{CompatNo}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoDesktop("35")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
languages{{CompatUnknown}}{{CompatUnknown}} {{CompatGeckoMobile("32")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("35")}}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
-
- -

See also

- - diff --git a/files/pl/web/api/navigatorlanguage/language/index.html b/files/pl/web/api/navigatorlanguage/language/index.html deleted file mode 100644 index 6146d09ce2..0000000000 --- a/files/pl/web/api/navigatorlanguage/language/index.html +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: NavigatorLanguage.language -slug: Web/API/NavigatorLanguage/language -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorLanguage/language -original_slug: Web/API/Navigator/language ---- -

{{ ApiRef() }}

- -

Podsumowanie

- -

Zwraca łańcuch znaków reprezentujący wersję językową przeglądarki.

- -

Składnia

- -
lang = window.navigator.language
-
- -

Parametry

- - - -

Przykład

- -
if ( window.navigator.language != "pl" ) {
- doLangSelect(window.navigator.language);
-}
-
- -

Uwagi

- -

Ta własność pojawia się również jako część łańcucha znaków navigator.userAgent.

- -

Specyfikacja

- -

DOM Level 0. Nie jest częścią specyfikacji.

- -
 
- -

{{ languages( { "en": "en/DOM/window.navigator.language", "ja": "ja/DOM/window.navigator.language" } ) }}

diff --git a/files/pl/web/api/navigatoronline/index.html b/files/pl/web/api/navigatoronline/index.html deleted file mode 100644 index 11f6707c43..0000000000 --- a/files/pl/web/api/navigatoronline/index.html +++ /dev/null @@ -1,127 +0,0 @@ ---- -title: NavigatorOnLine -slug: Web/API/NavigatorOnLine -tags: - - API - - HTML-DOM - - NeedsTranslation - - TopicStub -translation_of: Web/API/NavigatorOnLine ---- -

{{APIRef("HTML DOM")}}

- -

The NavigatorOnLine interface contains methods and properties related to the connectivity status of the browser.

- -

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

- -

Properties

- -

The NavigatorOnLine interface doesn't inherit any property.

- -
-
{{domxref("NavigatorOnLine.onLine")}} {{readonlyInline}}
-
Returns a {{domxref("Boolean")}} indicating whether the browser is working online.
-
- -

Methods

- -

The NavigatorOnLine interface neither implements, nor inherit any method.

- -

Specifications

- - - - - - - - - - - - - - - - - - - - - -
SpecificationStatusComment
{{SpecName('HTML WHATWG', '#navigatoronline', 'NavigatorOnLine')}}{{Spec2('HTML WHATWG')}}No change from the latest snapshot, {{SpecName('HTML5 W3C')}}
{{SpecName('HTML5 W3C', '#navigatoronline', 'NavigatorOnLine')}}{{Spec2('HTML5 W3C')}}Snapshot of {{SpecName('HTML WHATWG')}} with its initial specification.
- -

Browser compatibility

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoDesktop(29)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
on {{domxref("WorkerNavigator")}}{{CompatUnknown}}{{CompatGeckoMobile(29)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

See also

- - diff --git a/files/pl/web/api/navigatoronline/online/index.html b/files/pl/web/api/navigatoronline/online/index.html deleted file mode 100644 index 7884fc4764..0000000000 --- a/files/pl/web/api/navigatoronline/online/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: NavigatorOnLine.onLine -slug: Web/API/NavigatorOnLine/onLine -tags: - - DOM - - DOM_0 - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorOnLine/onLine -original_slug: Web/API/Navigator/onLine ---- -

{{ ApiRef() }}

- -

Podsumowanie

- -

Zwraca wartość logiczną wskazującą czy przeglądarka jest w trybie online, czy nie.

- -

Składnia

- -
online =
-window.navigator.onLine;
-
- - - -

Przykład

- -
alert(navigator.onLine ? "Jesteś online" : "Jesteś offline");
-
- -

Uwagi

- -

Zobacz Zdarzenia Online/Offline‎, aby uzyskać bardziej szczegółowy opis tej własności, jak również nowych funkcji związanych z trybem offline, wprowadzonych w Firefoksie 3.

- -

Specyfikacja

- -

{{ DOM0() }}

- -

Opisana w szkicu roboczym HTML 5

- -

 

- -
 
- -

{{ languages( { "en": "en/DOM/window.navigator.onLine", "fr": "fr/DOM/window.navigator.onLine", "ja": "ja/DOM/window.navigator.onLine" } ) }}

diff --git a/files/pl/web/api/navigatoronline/online_and_offline_events/index.html b/files/pl/web/api/navigatoronline/online_and_offline_events/index.html deleted file mode 100644 index f2293654e8..0000000000 --- a/files/pl/web/api/navigatoronline/online_and_offline_events/index.html +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: Zdarzenia online i offline -slug: Web/API/NavigatorOnLine/Online_and_offline_events -tags: - - AJAX - - DOM - - Programowanie_WWW - - Wszystkie_kategorie -translation_of: Web/API/NavigatorOnLine/Online_and_offline_events -original_slug: Web/API/NavigatorOnLine/Zdarzenia_online_i_offline ---- -

W programie Firefox 3 zaimplementowano obsługę zdarzeń online i offline zdefiniowanych w specyfikacji WHATWG Web Applications 1.0. -

-

Omówienie

-

Do stworzenia dobrej aplikacji internetowej działającej w trybie offline konieczne jest istnienie sposobu na sprawdzenie, kiedy aplikacja faktycznie znajduje się w trybie offline. W niektórych przypadkach potrzebna jest także możliwość stwierdzenia, czy aplikacja powróciła do stanu „online”. W praktyce sprowadza się to do dwóch wymagań: -

-
  1. Konieczne jest stwierdzenie, kiedy użytkownik przełącza przeglądarkę w tryb online, aby można było przeprowadzić ponowną synchronizację z serwerem.
  2. Konieczne jest stwierdzenie, kiedy użytkownik przełącza przeglądarkę w tryb offline, aby można było odłożyć wysłanie żądania do serwera na później.
-

Zdarzenia online i offline pozwalają na uproszczenie powyższych procedur.

W aplikacji internetowej może także być konieczne wymuszenie przechowywania określonych dokumentów w pamięci podręcznej zasobów offline. W tym celu w kodzie sekcji HEAD należy wstawić znacznik LINK przedstawiony poniżej: -

-
<link rel="offline-resource" href="mój_zasób">
-
-

Przy przetwarzaniu kodu HTML przez program Firefox w wersji 3 lub nowszej dokumenty wymienione w znaczniku zostaną zapisane w specjalnej pamięci podręcznej zasobów offline. -

-

Interfejs API

- -

navigator.onLine to własność, która zwraca wartość true lub false (true dla trybu online, false dla trybu offline). Własność ta jest aktualizowana za każdym razem, gdy użytkownik przełącza przeglądarkę w tryb offline, wybierając odpowiednie polecenie menu (w programie Firefox: Plik -> Pracuj w trybie offline). -

Ponadto ta własność powinna być aktualizowana zawsze, gdy w przeglądarce nie można nawiązać połączenia z siecią. Zgodnie ze specyfikacją: -

-
-Atrybut navigator.onLine musi zwracać wartość false, jeżeli w programie po kliknięciu odsyłacza przez użytkownika lub po wysłaniu przez skrypt żądania do zdalnej witryny nie można połączyć się z siecią (lub wiadomo, że taka próba nie powiedzie się)... -
-

W programie Firefox 2 ta własność jest aktualizowana przy przełączaniu przeglądarki między trybami online i offline oraz przy utracie lub ponownym nawiązaniu połączenia z siecią (dotyczy systemów Windows i Linux). -

Własność istnieje w starszych wersjach przeglądarek Firefox i Internet Explorer (obecna specyfikacja została oparta na tych właśnie wcześniejszych implementacjach), można zatem korzystać z niej już teraz. Automatyczne wykrywanie stanu połączenia sieciowego zostało wprowadzone w programie Firefox 2.

-

Zdarzenia "online" i "offline"

-

W programie Firefox 3 wprowadzono dwa nowe zdarzenia: "online" i "offline". Są one wywoływane w elemencie <body> każdej otwartej strony, gdy przeglądarka jest przełączana między trybem online i offline. Ponadto zdarzenie bąbelkuje od elementu document.body, poprzez element document, aż do elementu window. Żadnego ze zdarzeń nie można anulować (niemożliwe jest zablokowanie możliwości przełączania przeglądarki między trybami online i offline). -

Obserwatory (ang. event listeners) tych zdarzeń można zarejestrować na kilka sposobów: -

- -

Przykład

-

Dostępny jest prosty przykład zastosowania, który pozwala na sprawdzenie działania zdarzeń. -XXX When mochitests for this are created, point to those instead and update this example -nickolay -

-
 <!doctype html>
- <html>
- <head>
-   <script>
-     function updateOnlineStatus(msg) {
-       var status = document.getElementById("status");
-       var condition = navigator.onLine ? "ONLINE" : "OFFLINE";
-       status.setAttribute("class", condition);
-       var state = document.getElementById("state");
-       state.innerHTML = condition;
-       var log = document.getElementById("log");
-       log.appendChild(document.createTextNode("Zdarzenie: " + msg + "; stan=" + condition + "\n"));
-     }
-     function loaded() {
-       updateOnlineStatus("load");
-       document.body.addEventListener("offline", function () {
-         updateOnlineStatus("offline")
-       }, false);
-       document.body.addEventListener("online", function () {
-         updateOnlineStatus("online")
-       }, false);
-     }
-   </script>
-   <style>...</style>
- </head>
- <body onload="loaded()">
-   <div id="status"><p id="state"></p></div>
-   <div id="log"></div>
- </body>
- </html>
-
-

Odsyłacze

- -
-
-{{ languages( { "en": "en/Online_and_offline_events", "es": "es/Eventos_online_y_offline", "fr": "fr/\u00c9v\u00e8nements_online_et_offline", "ja": "ja/Online_and_offline_events", "pt": "pt/Eventos_online_e_offline" } ) }} diff --git a/files/pl/web/api/navigatorplugins/index.html b/files/pl/web/api/navigatorplugins/index.html deleted file mode 100644 index c009a19a07..0000000000 --- a/files/pl/web/api/navigatorplugins/index.html +++ /dev/null @@ -1,111 +0,0 @@ ---- -title: NavigatorPlugins -slug: Web/API/NavigatorPlugins -tags: - - API - - Experimental - - HTML-DOM - - NeedsTranslation - - TopicStub -translation_of: 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

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

See also

- - diff --git a/files/pl/web/api/navigatorplugins/javaenabled/index.html b/files/pl/web/api/navigatorplugins/javaenabled/index.html deleted file mode 100644 index b4cae7a1b5..0000000000 --- a/files/pl/web/api/navigatorplugins/javaenabled/index.html +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: NavigatorPlugins.javaEnabled -slug: Web/API/NavigatorPlugins/javaEnabled -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorPlugins/javaEnabled -original_slug: Web/API/Navigator/javaEnabled ---- -

{{ ApiRef() }}

- -

Podsumowanie

- -

Ta metoda wskazuje czy w aktualnej przeglądarce została włączona obsługa Javy.

- -

Składnia

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

Przykład

- -
if (window.navigator.javaEnabled()) {
-   // przeglądarka posiada Javę
-}
-
- -

Uwagi

- -

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ę.

- -

Specyfikacja

- -

DOM Level 0. Nie jest częścią specyfikacji.

- -
 
- -

{{ languages( { "en": "en/DOM/window.navigator.javaEnabled", "ja": "ja/DOM/window.navigator.javaEnabled" } ) }}

diff --git a/files/pl/web/api/navigatorplugins/mimetypes/index.html b/files/pl/web/api/navigatorplugins/mimetypes/index.html deleted file mode 100644 index 0ad81a61c5..0000000000 --- a/files/pl/web/api/navigatorplugins/mimetypes/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: NavigatorPlugins.mimeTypes -slug: Web/API/NavigatorPlugins/mimeTypes -tags: - - DOM - - DOM_0 - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorPlugins/mimeTypes -original_slug: Web/API/Navigator/mimeTypes ---- -

{{ ApiRef() }}

- -

Podsumowanie

- -

Zwraca obiekt MimeTypeArray, który zawiera listę obiektów MimeType reprezentujących typy MIME rozpoznawane przez przeglądarkę.

- -

Składnia

- -
mimeTypes = navigator.mimeTypes;
-
- -

mimeTypes jest obiektem MimeTypeArray, który posiada zarówno własność length jak i metody item(index) oraz namedItem(name).

- -

Przykład

- -
  alert(window.navigator.mimeTypes.item(0).description); // wyświetli ostrzeżenie "Mozilla Default Plug-in"
-
- -

Uwagi

- -

Wartością własności type w zerowym elemencie (obiekt MimeType "Mozilla Default Plug-in") jest * zamiast typowego formatu MIME jak np. "image/x-macpaint"

- -

Specyfikacja

- -

{{ DOM0() }}

- -
 
- -

{{ languages( { "en": "en/DOM/window.navigator.mimeTypes", "ja": "ja/DOM/window.navigator.mimeTypes" } ) }}

diff --git a/files/pl/web/api/navigatorplugins/plugins/index.html b/files/pl/web/api/navigatorplugins/plugins/index.html deleted file mode 100644 index bb0a730981..0000000000 --- a/files/pl/web/api/navigatorplugins/plugins/index.html +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: NavigatorPlugins.plugins -slug: Web/API/NavigatorPlugins/plugins -tags: - - DOM - - DOM_0 - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/NavigatorPlugins/plugins -original_slug: Web/API/Navigator/plugins ---- -

{{ ApiRef() }}

- -

Podsumowanie

- -

Zwraca obiekt PluginArray będący listą wszystkich wtyczek zainstalowanych w aplikacji.

- -

Składnia

- -
plugins = navigator.plugins;
-
- -

plugins jest tabelą PluginArray zawierającą obiekty Plugin reprezentujące zainstalowane wtyczki.

- -

Zwrócona wartość nie jest jest tablicą JavaScript, ale posiada własność length i obsługuje dostęp do poszczególnych elementów za pomocą notacji nawiasowej (plugins{{ mediawiki.external(2) }}) jak również poprzez metody item(index ) i namedItem("name" ).

- -

Przykład

- -

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.

- -
<script type="text/javascript">
-   var L = navigator.plugins.length;
-   document.write(L.toString().bold() + " Plugin(s)".bold());
-   document.write("<br>");
-   document.write("Nazwa wtyczki | Nazwa pliku | Opis".bold());
-   document.write("<br>");
-   for(var i=0; i<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("<br>");
-   }
-</script>
-
- -

Uwagi

- -

Obiekt Plugin 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 about:plugins w pasku adresu.

- -

Specyfikacja

- -

{{ DOM0() }}

- -
 
- -

{{ languages( { "en": "en/DOM/window.navigator.plugins", "ja": "ja/DOM/window.navigator.plugins" } ) }}

-- cgit v1.2.3-54-g00ecf