aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/api/window
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/window
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/window')
-rw-r--r--files/pl/web/api/window/alert/index.html58
-rw-r--r--files/pl/web/api/window/applicationcache/index.html33
-rw-r--r--files/pl/web/api/window/clearinterval/index.html28
-rw-r--r--files/pl/web/api/window/cleartimeout/index.html40
-rw-r--r--files/pl/web/api/window/closed/index.html59
-rw-r--r--files/pl/web/api/window/content/index.html43
-rw-r--r--files/pl/web/api/window/controllers/index.html24
-rw-r--r--files/pl/web/api/window/crypto/index.html19
-rw-r--r--files/pl/web/api/window/defaultstatus/index.html35
-rw-r--r--files/pl/web/api/window/directories/index.html33
-rw-r--r--files/pl/web/api/window/document/index.html40
-rw-r--r--files/pl/web/api/window/dump/index.html30
-rw-r--r--files/pl/web/api/window/focus/index.html24
-rw-r--r--files/pl/web/api/window/frameelement/index.html34
-rw-r--r--files/pl/web/api/window/frames/index.html31
-rw-r--r--files/pl/web/api/window/getselection/index.html39
-rw-r--r--files/pl/web/api/window/index.html494
-rw-r--r--files/pl/web/api/window/localstorage/index.html125
-rw-r--r--files/pl/web/api/window/name/index.html27
-rw-r--r--files/pl/web/api/window/navigator/index.html84
-rw-r--r--files/pl/web/api/window/onload/index.html62
-rw-r--r--files/pl/web/api/window/open/index.html796
-rw-r--r--files/pl/web/api/window/opendialog/index.html75
-rw-r--r--files/pl/web/api/window/opener/index.html49
-rw-r--r--files/pl/web/api/window/prompt/index.html33
-rw-r--r--files/pl/web/api/window/requestanimationframe/index.html170
-rw-r--r--files/pl/web/api/window/resizeby/index.html32
-rw-r--r--files/pl/web/api/window/resizeto/index.html36
-rw-r--r--files/pl/web/api/window/scroll/index.html33
-rw-r--r--files/pl/web/api/window/scrollbylines/index.html35
-rw-r--r--files/pl/web/api/window/scrollbypages/index.html35
-rw-r--r--files/pl/web/api/window/scrollto/index.html32
-rw-r--r--files/pl/web/api/window/setinterval/index.html87
-rw-r--r--files/pl/web/api/window/settimeout/index.html46
-rw-r--r--files/pl/web/api/window/sidebar/index.html56
35 files changed, 2877 insertions, 0 deletions
diff --git a/files/pl/web/api/window/alert/index.html b/files/pl/web/api/window/alert/index.html
new file mode 100644
index 0000000000..786efd57a3
--- /dev/null
+++ b/files/pl/web/api/window/alert/index.html
@@ -0,0 +1,58 @@
+---
+title: window.alert
+slug: Web/API/Window/alert
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/alert
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Wyświetla okno ostrzegawcze z podanym tekstem.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval">window.alert(<em>wiadomość</em>);
+</pre>
+
+<ul>
+ <li><code>wiadomość</code> to ciąg znaków, który zostanie wyświetlony w oknie.</li>
+</ul>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre class="eval">window.alert("Hello world!");
+// "window." prefix <a href="pl/DOM/window.window">jest opcjonalny</a>, więc
+// alert("Hello world!"); będzie miało taki sam efekt
+</pre>
+
+<p>Wyświetli:</p>
+
+<p><img alt="Grafika:AlertHelloWorld.png"></p>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Okno ostrzegawcze powinno być używane do przekazania wiadomości, które nie wymagają żadnej odpowiedzi ze strony użytkownika, poza potwierdzeniem komunikatu.</p>
+
+<p><span class="comment">The following text is shared between this article, DOM:window.prompt and DOM:window.confirm</span> Okna dialogowe to okna modalne - uniemożliwiają użytkownikowi dostęp do reszty interfejsu programu dopóki okno nie zostanie zamknięte. Z tego powodu nie powinieneś nadużywać funkcji, które otwierają okna dialogowe.</p>
+
+<p>Przy pracy z chrome (np. przy tworzeniu rozszerzenie) zaleca się korzystanie z <a href="pl/NsIPromptService">nsIPromptService</a>.</p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>{{ DOM0() }}</p>
+
+<h3 id="Zobacz_te.C5.BC" name="Zobacz_te.C5.BC">Zobacz też</h3>
+
+<p><a href="pl/DOM/window.confirm">confirm</a>, <a href="pl/DOM/window.prompt">prompt</a></p>
+
+<p>Dla chrome zobacz <a href="pl/NsIPromptService#alert">alert()</a> i <a href="pl/NsIPromptService#alertCheck">alertCheck()</a></p>
+
+<div class="noinclude"> </div>
+
+<p>{{ languages( { "en": "en/DOM/window.alert", "fr": "fr/DOM/window.alert", "ja": "ja/DOM/window.alert" } ) }}</p>
diff --git a/files/pl/web/api/window/applicationcache/index.html b/files/pl/web/api/window/applicationcache/index.html
new file mode 100644
index 0000000000..5f176fa81e
--- /dev/null
+++ b/files/pl/web/api/window/applicationcache/index.html
@@ -0,0 +1,33 @@
+---
+title: Window.applicationCache
+slug: Web/API/Window/applicationCache
+translation_of: Web/API/Window/applicationCache
+---
+<p>{{APIRef}}</p>
+
+<h2 id="Summary" name="Summary">Podsumowanie</h2>
+
+<p>Zwraca referencję do obiektu przetrzymującego <code>cache</code> aplikacji.</p>
+
+<h2 id="Syntax" name="Syntax">Składnia</h2>
+
+<pre class="syntaxbox"><var>cache</var> = window.applicationCache
+</pre>
+
+<h3 id="Parameters" name="Parameters">Parametry</h3>
+
+<ul>
+ <li><code>cache</code> jest obiektem mającym referencję do {{domxref("OfflineResourceList")}}.</li>
+</ul>
+
+<h2 id="Specification" name="Specification">Specyfikacja</h2>
+
+<ul>
+ <li>{{spec("http://www.w3.org/TR/2008/WD-html5-20080122/#appcache","HTML 5","WD")}}</li>
+</ul>
+
+<h2 id="Zobacz_także">Zobacz także</h2>
+
+<ul>
+ <li><a href="/en-US/docs/HTML/Using_the_application_cache">Using Application Cache</a></li>
+</ul>
diff --git a/files/pl/web/api/window/clearinterval/index.html b/files/pl/web/api/window/clearinterval/index.html
new file mode 100644
index 0000000000..e763be1f4a
--- /dev/null
+++ b/files/pl/web/api/window/clearinterval/index.html
@@ -0,0 +1,28 @@
+---
+title: window.clearInterval
+slug: Web/API/Window/clearInterval
+tags:
+ - Window
+translation_of: Web/API/WindowOrWorkerGlobalScope/clearInterval
+---
+<div>
+ {{ApiRef}}</div>
+<h2 id="Summary" name="Summary">Podsumowanie</h2>
+<p>Anuluje powtarzającą się akcję, która została utworzona korzystając z <code><a href="/pl/docs/DOM/window.setInterval" title="DOM/window.setInterval">setInterval()</a></code>.</p>
+<h2 id="Syntax" name="Syntax">Składnia</h2>
+<pre class="syntaxbox"><em>window</em>.clearInterval(<em>idInterwalu</em>)
+</pre>
+<p><code>idInterwalu</code> to identyfikator powtarzającej się akcji, która ma zostać anulowana. Ten identyfikator został zwrócony z {{domxref("window.setInterval","setInterval()")}}.</p>
+<h2 id="Example" name="Example">Przykład</h2>
+<p>Zobacz <a href="/pl/docs/DOM/window.setInterval#Przyk.C5.82ad" title="DOM/window.setInterval#Przyk.C5.82ad">przykład z <code>setInterval()</code></a>.</p>
+<h2 id="Specification" name="Specification">Specification</h2>
+<p>{{DOM0}}</p>
+<h2 id="See_also" name="See_also">Zobacz także</h2>
+<ul>
+ <li><a href="/pl/docs/JavaScript/Timers" title="JavaScript/Timers">JavaScript zegary</a></li>
+ <li>{{domxref("window.setTimeout")}}</li>
+ <li>{{domxref("window.setInterval")}}</li>
+ <li>{{domxref("window.clearTimeout")}}</li>
+ <li>{{domxref("window.requestAnimationFrame")}}</li>
+ <li><a href="/pl/docs/JavaScript/Timers/Daemons" title="JavaScript/Timers/Daemons"><em>Daemons</em> zarządzanie</a></li>
+</ul>
diff --git a/files/pl/web/api/window/cleartimeout/index.html b/files/pl/web/api/window/cleartimeout/index.html
new file mode 100644
index 0000000000..64604dc479
--- /dev/null
+++ b/files/pl/web/api/window/cleartimeout/index.html
@@ -0,0 +1,40 @@
+---
+title: window.clearTimeout
+slug: Web/API/Window/clearTimeout
+translation_of: Web/API/WindowOrWorkerGlobalScope/clearTimeout
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Summary" name="Summary">Podsumowanie</h3>
+<p>Usuwa opóźnienie ustanione przez <a href="/en/DOM/window.setTimeout" title="en/DOM/window.setTimeout">window.setTimeout()</a>.</p>
+<h3 id="Syntax" name="Syntax">Składnia</h3>
+<pre class="eval">window.clearTimeout(id)
+</pre>
+<p>gdzie <code>id</code> jest identyfikatorem opóźnienia do usunięcia, który został zwrócony podczas wywołania <a href="/en/DOM/window.setTimeout" title="en/DOM/window.setTimeout">window.setTimeout()</a>.</p>
+<h3 id="Example" name="Example">Przykład</h3>
+<p>Uruchomienie poniższego skryptu w kontekscie strony i pojedyncze kliknięcie spowoduje wyświetlenie wiadomości po jednej sekundzie. Jeżeli użytkownik będzie klikał na stronie przynajmniej raz na sekundę wiadomość nigdy nie zostanie wyświetlona.</p>
+<pre class="eval">var alarm = {
+ remind: function(aMessage) {
+ alert(aMessage);
+ delete this.timeoutID;
+ },
+
+ setup: function() {
+ this.cancel();
+ var self = this;
+ this.timeoutID = window.setTimeout(function(msg) {self.remind(msg);}, 1000, "Wake up!");
+ },
+
+ cancel: function() {
+ if(typeof this.timeoutID == "number") {
+ window.clearTimeout(this.timeoutID);
+ delete this.timeoutID;
+ }
+ }
+};
+window.onclick = function() { alarm.setup() };
+</pre>
+<h3 id="Notes" name="Notes">Uwagi</h3>
+<p>Przekazanie niepoprawnego ID do <code>clearTimeout</code> nie powoduje żadnej akcji (żaden błąd nie jest wyrzucany).</p>
+<h3 id="Specification" name="Specification">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<p>{{ languages( { "en": "en/DOM/window.clearTimeout", "fr": "fr/DOM/window.clearTimeout", "ja": "ja/DOM/window.clearTimeout", "pl": "pl/DOM/window.clearTimeout" } ) }}</p>
diff --git a/files/pl/web/api/window/closed/index.html b/files/pl/web/api/window/closed/index.html
new file mode 100644
index 0000000000..bdffbcd94d
--- /dev/null
+++ b/files/pl/web/api/window/closed/index.html
@@ -0,0 +1,59 @@
+---
+title: window.closed
+slug: Web/API/Window/closed
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/closed
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Ta własność oznacza czy dane okno jest zamknięte lub nie.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">var <var>isClosed</var> = <var>windowRef</var>.closed;
+</pre>
+<p><br>
+ Ta własność jest tylko do odczytu.</p>
+<h3 id="Zwracane_warto.C5.9Bci" name="Zwracane_warto.C5.9Bci">Zwracane wartości</h3>
+<dl>
+ <dt>
+ <code>isClosed</code></dt>
+ <dd>
+ Wartość logiczna. Możliwe wartości:</dd>
+</dl>
+<ul>
+ <li><code>true</code>: Okno zostało zamknięte.</li>
+ <li><code>false</code>: Okno jest otwarte.</li>
+</ul>
+<h3 id="Przyk.C5.82ady" name="Przyk.C5.82ady">Przykłady</h3>
+<h4 id="Zmiana_adresu_URL_okna_pierwotnego_z_okna_otworzonego" name="Zmiana_adresu_URL_okna_pierwotnego_z_okna_otworzonego">Zmiana adresu URL okna pierwotnego z okna otworzonego</h4>
+<p>Ten przykład demonstruje w jaki sposób okno otworzone może zmienić adres URL okna, które je otwarło. Przed próbą zmiany adresu URL, sprawdza czy obecne okno posiada okno-rodzica stosując własność <code><a href="pl/DOM/window.opener">window.opener</a></code> oraz czy nie zostało ono zamknięte.</p>
+<pre>// Sprawdza czy okno otwierające istnieje i nie zostało zamknięte
+if (window.opener &amp;&amp; !window.opener.closed) {
+ window.opener.location.href = "http://www.mozilla.org";
+}
+</pre>
+<p>Zauważ, że okno otwierane ma dostęp tylko do okna, które je otworzyło.</p>
+<h4 id="Od.C5.9Bwie.C5.BCanie_uprzednio_otwartego_okna" name="Od.C5.9Bwie.C5.BCanie_uprzednio_otwartego_okna">Odświeżanie uprzednio otwartego okna</h4>
+<p>W tym przykładzie funkcja <code>refreshPopupWindow()</code> wywołuje metodę <code>reload</code> obiektu <code>location</code> otwartego okna, by odświeżyć jego dane. Jeżeli okno nie zostało jeszcze otwarte, bądź użytkownik zamknął je, zostaje utworzone nowe okno.</p>
+<pre>var popupWindow = null;
+
+function refreshPopupWindow() {
+ if (popupWindow &amp;&amp; !popupWindow.closed) {
+ // popupWindow jest otwarte, przeładujmy je
+ popupWindow.location.reload(true);
+ } else {
+ // Otwieramy nowe okno
+ popupWindow = window.open("popup.html","dataWindow");
+ }
+}
+</pre>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM Level 0. <code>window.closed</code> nie jest częścią żadnej specyfikacji W3C, ani technicznej rekomendacji.</p>
+<h3 id="Dodatkowe_.C5.BAr.C3.B3d.C5.82a" name="Dodatkowe_.C5.BAr.C3.B3d.C5.82a">Dodatkowe źródła</h3>
+<p><a class="external" href="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/properties/closed.asp">MSDN window.closed</a></p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.closed", "fr": "fr/DOM/window.closed", "ja": "ja/DOM/window.closed" } ) }}</p>
diff --git a/files/pl/web/api/window/content/index.html b/files/pl/web/api/window/content/index.html
new file mode 100644
index 0000000000..66eed370a9
--- /dev/null
+++ b/files/pl/web/api/window/content/index.html
@@ -0,0 +1,43 @@
+---
+title: window.content
+slug: Web/API/Window/content
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/content
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Zwraca obiekt <a href="pl/DOM/window">Window</a> dla zawartości głównego okna. This is useful in XUL windows that have a <code>&lt;browser&gt;</code> (or <code>tabbrowser</code> or <code>&lt;iframe&gt;</code>) with <code>type="content-primary"</code> attribute on it - the most famous example is Firefox main window, <code>browser.xul</code>. In such cases, <code>content</code> returns a reference to the <code>Window</code> object for the document currently displayed in the browser. It is a shortcut for <code><var>browserRef</var>.contentWindow</code>.</p>
+
+<p>In unprivileged content (webpages), <code>content</code> is normally equivalent to <a href="pl/DOM/window.top">top</a> (except in the case of a webpage loaded in a sidebar, <code>content</code> still refers to the <code>Window</code> of the currently selected tab).</p>
+
+<p>Some examples use <code>_content</code> instead of <code>content</code>. The former has been deprecated for a long time, and you should use <code>content</code> in the new code.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval">var <var>windowObject</var> = window.content;
+</pre>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<p>Executing the following code in a chrome XUL window with a <code>&lt;browser type="content-primary"/&gt;</code> element in it draws a red border around the first div on the page currently displayed in the browser:</p>
+
+<pre class="eval">content.document.getElementsByTagName("div")[0].style.border = "solid red 1px";
+</pre>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>Nie jest częścią żadnej specyfikacji.</p>
+
+<h3 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h3>
+
+<ul>
+ <li><a href="pl/Praca_z_oknami_w_kodzie_chrome">Praca z oknami w kodzie chrome</a></li>
+ <li>When accessing content documents from privileged code, be aware of <a href="pl/XPCNativeWrapper">XPCNativeWrappers</a>.</li>
+</ul>
diff --git a/files/pl/web/api/window/controllers/index.html b/files/pl/web/api/window/controllers/index.html
new file mode 100644
index 0000000000..cdb67298bf
--- /dev/null
+++ b/files/pl/web/api/window/controllers/index.html
@@ -0,0 +1,24 @@
+---
+title: window.controllers
+slug: Web/API/Window/controllers
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/controllers
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca kontrolery XUL okna chrome.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>controllers</i> = window.controllers
+</pre>
+<ul>
+ <li><code>controllers</code> jest obiektem typu <code><a href="pl/XULControllers">XULControllers</a></code> (<code><a href="pl/NsIControllers">nsIControllers</a></code>).</li>
+</ul>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>XUL-specific. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.controllers", "ja": "ja/DOM/window.controllers" } ) }}</p>
diff --git a/files/pl/web/api/window/crypto/index.html b/files/pl/web/api/window/crypto/index.html
new file mode 100644
index 0000000000..5d7bac8666
--- /dev/null
+++ b/files/pl/web/api/window/crypto/index.html
@@ -0,0 +1,19 @@
+---
+title: window.crypto
+slug: Web/API/Window/crypto
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/crypto
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca obiekt crypto przeglądarki, który może być wtedy użyty do manipulacji różnymi własnościami zabezpieczeń przeglądarki.</p>
+<p>Zobacz więcej szczegółów o <a href="pl/JavaScript_crypto">JavaScript crypto</a>.</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.crypto", "ja": "ja/DOM/window.crypto" } ) }}</p>
diff --git a/files/pl/web/api/window/defaultstatus/index.html b/files/pl/web/api/window/defaultstatus/index.html
new file mode 100644
index 0000000000..f352835233
--- /dev/null
+++ b/files/pl/web/api/window/defaultstatus/index.html
@@ -0,0 +1,35 @@
+---
+title: window.defaultStatus
+slug: Web/API/Window/defaultStatus
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/defaultStatus
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Pobiera/ustawia tekst paska stanu dla danego okna.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>sMsg</i> = window.defaultStatus
+window.defaultStatus =<i>sMsg</i>
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>sMsg</code> jest łańcuchem znaków zawierającym tekst, który ma zostać wyświetlony domyślnie na pasku stanu.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>&lt;html&gt;
+ &lt;body onload="window.defaultStatus='hello!';"/&gt;
+ &lt;button onclick="window.confirm('Czy jesteś pewien, że chcesz wyjść?');"&gt;confirm&lt;/button&gt;
+ &lt;/body&gt;
+&lt;/htm&gt;
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Aby ustawić zawartość paska stanu, gdy okno zostało już otwarte, możemy użyć <code><a href="pl/Dokumentacja_Gecko_DOM/window/status">window.status</a></code>.</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.defaultStatus", "ja": "ja/DOM/window.defaultStatus" } ) }}</p>
diff --git a/files/pl/web/api/window/directories/index.html b/files/pl/web/api/window/directories/index.html
new file mode 100644
index 0000000000..7c4e113760
--- /dev/null
+++ b/files/pl/web/api/window/directories/index.html
@@ -0,0 +1,33 @@
+---
+title: window.directories
+slug: Web/API/Window/directories
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/directories
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca obiekt paska adresu okna.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>dirBar</i> = window.directories
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<p>
+ <i>
+ dirBar</i>
+ jest obiektem typu <code>barProp</code>.</p>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>&lt;script&gt;
+ function dirs() {
+ alert(window.directories);
+ }
+&lt;/script&gt;
+</pre>
+<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.directories", "ja": "ja/DOM/window.directories" } ) }}</p>
diff --git a/files/pl/web/api/window/document/index.html b/files/pl/web/api/window/document/index.html
new file mode 100644
index 0000000000..296c81af50
--- /dev/null
+++ b/files/pl/web/api/window/document/index.html
@@ -0,0 +1,40 @@
+---
+title: window.document
+slug: Web/API/Window/document
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/document
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca referencję do dokumentu zawartego w oknie.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>doc</i> = window.document
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>doc</code> jest referencją do obiektu <code><a href="pl/DOM/document">document</a></code>.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>&lt;html&gt;
+&lt;head&gt;
+ &lt;title&gt;Witaj, Świecie!&lt;/title&gt;
+&lt;/head&gt;
+&lt;body&gt;
+
+&lt;script type="text/javascript"&gt;
+ var doc = window.document;
+ alert( doc.title); // wyświetli: Witaj, Świecie!
+&lt;/script&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;</pre>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.document", "fr": "fr/DOM/window.document", "ja": "ja/DOM/window.document" } ) }}</p>
diff --git a/files/pl/web/api/window/dump/index.html b/files/pl/web/api/window/dump/index.html
new file mode 100644
index 0000000000..f0ddb923c3
--- /dev/null
+++ b/files/pl/web/api/window/dump/index.html
@@ -0,0 +1,30 @@
+---
+title: window.dump
+slug: Web/API/Window/dump
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/dump
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Wypisuje wiadomość w konsoli.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">dump(<i>wiadomość</i>);
+</pre>
+<ul>
+ <li><code>wiadomość</code> to ciąg znaków do wypisania.</li>
+</ul>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p><code>dump</code> jest często używany do debugowania JavaScriptu. W uprzywilejowanym kodzie można użyć także <a href="pl/Components.utils.reportError">Components.utils.reportError</a> oraz <a href="pl/NsIConsoleService">nsIConsoleService</a> do zapisu w <a href="pl/Konsola_b%c5%82%c4%99d%c3%b3w">konsoli błędów</a>.</p>
+<p>W <a href="pl/Gecko">Gecko</a> <code>dump</code> jest domyślnie zablokowane - jego użycie nic nie powoduje, nie wywołuje też żadnego błędu. Aby zobaczyć wyjście metody <code>dump</code>, musisz włączyć ją, zmieniając preferencję <code>browser.dom.window.dump.enabled</code> na <code>true</code>. Możesz to zrobić za pomocą <a class="external" href="http://kb.mozillazine.org/About:config">about:config</a> lub <a class="external" href="http://kb.mozillazine.org/User.js_file">pliku user.js</a></p>
+<p>Żeby cokolwiek zobaczyć, będziesz potrzebował konsoli. Jeśli jeszcze jej nie masz, zamknięcie programu i wywołanie z parametrem &lt;tt&gt;-console&lt;/tt&gt; w linii poleceń powinno otworzyć konsolę.</p>
+<p><code>dump</code> jest też dostępny dla komponentów XPCOM implementowanych w JavaScript, mimo że w ich kontekście <a href="pl/DOM/window">window</a> nie jest obiektem globalnym.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.dump", "fr": "fr/DOM/window.dump", "ja": "ja/DOM/window.dump" } ) }}</p>
diff --git a/files/pl/web/api/window/focus/index.html b/files/pl/web/api/window/focus/index.html
new file mode 100644
index 0000000000..35cb33dbc4
--- /dev/null
+++ b/files/pl/web/api/window/focus/index.html
@@ -0,0 +1,24 @@
+---
+title: window.focus
+slug: Web/API/Window/focus
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/focus
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Ustawia okno jako aktywne.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.focus()
+</pre>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">if (clicked) { window.focus(); }
+</pre>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.focus", "ja": "ja/DOM/window.focus" } ) }}</p>
diff --git a/files/pl/web/api/window/frameelement/index.html b/files/pl/web/api/window/frameelement/index.html
new file mode 100644
index 0000000000..773e7d37e2
--- /dev/null
+++ b/files/pl/web/api/window/frameelement/index.html
@@ -0,0 +1,34 @@
+---
+title: window.frameElement
+slug: Web/API/Window/frameElement
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/frameElement
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca element (jak np. <code>&lt;iframe&gt;</code> lub <code>&lt;object&gt;</code>), w którym osadzone jest okno lub wartość <code>null</code>, gdy okno jest najwyższego poziomu.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">var<i>frameEl</i> = window.frameElement;
+</pre>
+<ul>
+ <li><code>frameEl</code> jest elementem, w którym jest osadzone okno lub <code>null</code>, jeśli okno jest najwyższego poziomu.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">var frameEl = window.frameElement;
+// jeśli jesteśmy wewnątrz ramki, to zmień jej adres URL na '<span class="nowiki">http://mozilla.org/</span>'
+if (frameEl)
+ frameEl.src = '<span class="nowiki">http://mozilla.org/</span>';
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Zauważ, że pomimo swojej nazwy własność działa również dla dokumentów wewnątrz <code>&lt;object&gt;</code> lub innych elementów osadzających.</p>
+<p>Zobacz także <code><a href="pl/DOM/window.parent">window.parent</a></code>, który zwraca okno-rodzica, którym jest okno zawierające <code>frameElement</code> okna-dziecka.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.frameElement", "ja": "ja/DOM/window.frameElement" } ) }}</p>
diff --git a/files/pl/web/api/window/frames/index.html b/files/pl/web/api/window/frames/index.html
new file mode 100644
index 0000000000..1e1e625ca4
--- /dev/null
+++ b/files/pl/web/api/window/frames/index.html
@@ -0,0 +1,31 @@
+---
+title: window.frames
+slug: Web/API/Window/frames
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/frames
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca obiekt tablico-podobny, zawierający listę ramek podrzędnych bieżącego okna.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>frameList</i> = window.frames;
+</pre>
+<ul>
+ <li><code>frameList</code> jest listą obiektów ramki.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">var frames = window.frames; // lub // var frames = window.parent.frames;
+for (var i = 0; i &lt; frames.length; i++) {
+ // zrób coś z każdą ramką podrzędną jako frames[i]
+ frames[i].document.body.style.background = "red";
+}
+</pre>
+<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.frames", "ja": "ja/DOM/window.frames" } ) }}</p>
diff --git a/files/pl/web/api/window/getselection/index.html b/files/pl/web/api/window/getselection/index.html
new file mode 100644
index 0000000000..c6768feb45
--- /dev/null
+++ b/files/pl/web/api/window/getselection/index.html
@@ -0,0 +1,39 @@
+---
+title: window.getSelection
+slug: Web/API/Window/getSelection
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/getSelection
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca obiekt zaznaczenia reprezentujący zakres tekstu zaznaczonego przez użytkownika. Zauważ, że nie ma to żadnego powiązania z obiektem listy selekcji DOM!</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>selection</i> =<i>window</i>.getSelection();
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>selection</code> jest obiektem <a href="pl/DOM/Selection">selekcji</a>.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">function foo() {
+ var selObj = window.getSelection();
+ alert(selObj);
+ var selRange = selObj.getRangeAt(0);
+ // teraz możemy operować na zakresie
+}
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>W JavaScript, kiedy przesyłany jest obiekt selekcji do funkcji, zamiast jej, przesyłana jest jej reprezentacja w postaci ciągu znaków (tj. zaznaczony tekst). Może to złudnie przypominać, że obiekt selekcji wygląda jak ciąg znaków (obiekt <code>string</code>), kiedy tak naprawdę ma swoje własne właściwości i metody. Dokładniej, zwracana jest wartość wywołania metody <code><a href="pl/DOM/Selection/toString">toString()</a></code>. <span class="comment">I'm treading carefully with the word "convert" here because it could be misinterpreted as a permanent convert - Maian</span></p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziomu 0. Nie jest częścią specyfikacji.</p>
+<h3 id="Zobacz_r.C3.B3wnie.C5.BC" name="Zobacz_r.C3.B3wnie.C5.BC">Zobacz również</h3>
+<p><code><a href="pl/DOM/Selection">Selection</a>, <a href="pl/DOM/range">Range</a></code></p>
+<p> </p>
+<p> </p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.getSelection", "es": "es/DOM/window.getSelection", "fr": "fr/DOM/window.getSelection", "it": "it/DOM/window.getSelection", "ja": "ja/DOM/window.getSelection" } ) }}</p>
diff --git a/files/pl/web/api/window/index.html b/files/pl/web/api/window/index.html
new file mode 100644
index 0000000000..0c833217a3
--- /dev/null
+++ b/files/pl/web/api/window/index.html
@@ -0,0 +1,494 @@
+---
+title: window
+slug: Web/API/Window
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/Window
+---
+<p>{{APIRef}}</p>
+
+<p><span class="seoSummary">The <code>window</code> object represents a window containing a DOM document; the <code>document</code> property points to the <a href="/en-US/docs/DOM/document">DOM document</a> loaded in that window.</span> A window for a given document can be obtained using the {{Domxref("document.defaultView")}} property.</p>
+
+<p>This section provides a brief reference for all of the methods, properties, and events available through the DOM <code>window</code> object. The <code>window</code> object implements the <code>Window</code> interface, which in turn inherits from the <code><a href="http://www.w3.org/TR/DOM-Level-2-Views/views.html#Views-AbstractView">AbstractView</a></code> interface. Some additional global functions, namespaces, objects, interfaces, and constructors, not typically associated with the window, but available on it, are listed in the <a href="/en-US/docs/JavaScript/Reference">JavaScript Reference</a> and <a href="/en-US/docs/Web/API/Document_Object_Model" title="/en-US/docs/Web/API/Document_Object_Model">DOM Reference</a>.</p>
+
+<p>In a tabbed browser, such as Firefox, each tab contains its own <code>window</code> object (and if you're writing an extension, the browser window itself is a separate window too - see <a href="/en-US/docs/Working_with_windows_in_chrome_code#Content_windows">Working with windows in chrome code</a> for more information). That is, the <code>window</code> object is not shared between tabs in the same window. Some methods, namely {{Domxref("window.resizeTo")}} and {{Domxref("window.resizeBy")}} apply to the whole window and not to the specific tab the <code>window</code> object belongs to. Generally, anything that can't reasonably pertain to a tab pertains to the window instead.</p>
+
+<p>{{InheritanceDiagram}}</p>
+
+<h2 id="Properties">Properties</h2>
+
+<p><em>This interface inherits properties from the {{domxref("EventTarget")}} interface and implements properties from the {{domxref("WindowOrWorkerGlobalScope")}} and {{domxref("WindowEventHandlers")}} mixins.</em></p>
+
+<p>Note that properties which are objects (e.g.,. for overriding the prototype of built-in elements) are listed in a separate section below.</p>
+
+<dl>
+ <dt>{{domxref("Window.closed")}} {{Non-standard_inline}}{{readOnlyInline}}</dt>
+ <dd>This property indicates whether the current window is closed or not.</dd>
+ <dt>{{domxref("Window.console")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the console object which provides access to the browser's debugging console.</dd>
+ <dt>{{domxref("Window.content")}} and Window._content {{Non-standard_inline}} {{obsolete_inline}}{{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the content element in the current window. Since Firefox 57 (initially Nightly-only), both versions are only available from chrome (privileged) code, and not available to the web anymore.</dd>
+ <dt>{{domxref("Window.controllers")}}{{non-standard_inline}}{{ReadOnlyInline}}</dt>
+ <dd>Returns the XUL controller objects for the current chrome window.</dd>
+ <dt>{{domxref("Window.customElements")}}{{ReadOnlyInline}}</dt>
+ <dd>returns a reference to the {{domxref("CustomElementRegistry")}} object, which can be used to register new <a href="/en-US/docs/Web/Web_Components/Using_custom_elements">custom elements</a> and get information about previously registered custom elements.</dd>
+ <dt>{{domxref("Window.crypto")}} {{readOnlyInline}}</dt>
+ <dd>Returns the browser crypto object.</dd>
+ <dt>{{domxref("Window.defaultStatus")}} {{Obsolete_inline("gecko23")}}</dt>
+ <dd>Gets/sets the status bar text for the given window.</dd>
+ <dt>{{domxref("Window.devicePixelRatio")}} {{non-standard_inline}}{{ReadOnlyInline}}</dt>
+ <dd>Returns the ratio between physical pixels and device independent pixels in the current display.</dd>
+ <dt>{{domxref("Window.dialogArguments")}} {{Fx_minversion_inline(3)}} {{ReadOnlyInline}}</dt>
+ <dd>Gets the arguments passed to the window (if it's a dialog box) at the time {{domxref("window.showModalDialog()")}} was called. This is an {{Interface("nsIArray")}}.</dd>
+ <dt>{{domxref("Window.directories")}} {{obsolete_inline}}</dt>
+ <dd>Synonym of {{domxref("window.personalbar")}}</dd>
+ <dt>{{domxref("Window.document")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the document that the window contains.</dd>
+ <dt>{{domxref("Window.DOMMatrix")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMMatrix")}} object, which represents 4x4 matrices, suitable for 2D and 3D operations.</dd>
+ <dt>{{domxref("Window.DOMMatrixReadOnly")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMMatrixReadOnly")}} object, which represents 4x4 matrices, suitable for 2D and 3D operations.</dd>
+ <dt>{{domxref("Window.DOMPoint")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMPoint")}} object, which represents a 2D or 3D point in a coordinate system.</dd>
+ <dt>{{domxref("Window.DOMPointReadOnly")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMPointReadOnly")}} object, which represents a 2D or 3D point in a coordinate system.</dd>
+ <dt>{{domxref("Window.DOMQuad")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMQuad")}} object, which provides represents a quadrilaterial object, that is one having four corners and four sides.</dd>
+ <dt>{{domxref("Window.DOMRect")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMRect")}} object, which represents a rectangle.</dd>
+ <dt>{{domxref("Window.DOMRectReadOnly")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to a {{domxref("DOMRectReadOnly")}} object, which represents a rectangle.</dd>
+ <dt>{{domxref("Window.frameElement")}} {{readOnlyInline}}</dt>
+ <dd>Returns the element in which the window is embedded, or null if the window is not embedded.</dd>
+ <dt>{{domxref("Window.frames")}} {{readOnlyInline}}</dt>
+ <dd>Returns an array of the subframes in the current window.</dd>
+ <dt>{{domxref("Window.fullScreen")}} {{gecko_minversion_inline("1.9")}}</dt>
+ <dd>This property indicates whether the window is displayed in full screen or not.</dd>
+ <dt>{{domxref("Window.globalStorage")}} {{gecko_minversion_inline("1.8.1")}} {{Non-standard_inline}} {{Obsolete_inline("gecko13")}}</dt>
+ <dd>Unsupported since Gecko 13 (Firefox 13). Use {{domxref("Window.localStorage")}} instead.<br>
+ Was: Multiple storage objects that are used for storing data across multiple pages.</dd>
+ <dt>{{domxref("Window.history")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the history object.</dd>
+ <dt>{{domxref("Window.innerHeight")}} {{readOnlyInline}}</dt>
+ <dd>Gets the height of the content area of the browser window including, if rendered, the horizontal scrollbar.</dd>
+ <dt>{{domxref("Window.innerWidth")}} {{readOnlyInline}}</dt>
+ <dd>Gets the width of the content area of the browser window including, if rendered, the vertical scrollbar.</dd>
+ <dt>{{domxref("Window.isSecureContext")}} {{readOnlyInline}}</dt>
+ <dd>Indicates whether a context is capable of using features that require secure contexts.</dd>
+ <dt>{{domxref("Window.length")}} {{readOnlyInline}}</dt>
+ <dd>Returns the number of frames in the window. See also {{domxref("window.frames")}}.</dd>
+ <dt>{{domxref("Window.location")}}</dt>
+ <dd>Gets/sets the location, or current URL, of the window object.</dd>
+ <dt>{{domxref("Window.locationbar")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns the locationbar object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.localStorage")}} {{readOnlyInline}}{{gecko_minversion_inline("1.9.1")}}</dt>
+ <dd>Returns a reference to the local storage object used to store data that may only be accessed by the origin that created it.</dd>
+ <dt>{{domxref("Window.menubar")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns the menubar object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.messageManager")}} {{gecko_minversion_inline("2.0")}}</dt>
+ <dd>Returns the <a href="/en-US/docs/The_message_manager">message manager</a> object for this window.</dd>
+ <dt>{{domxref("Window.mozAnimationStartTime")}} {{ReadOnlyInline}}{{gecko_minversion_inline("2.0")}} {{Deprecated_inline}}</dt>
+ <dd>The time in milliseconds since epoch at which the current animation cycle began.</dd>
+ <dt>{{domxref("Window.mozInnerScreenX")}} {{ReadOnlyInline}}{{non-standard_inline}}{{gecko_minversion_inline("1.9.2")}}</dt>
+ <dd>Returns the horizontal (X) coordinate of the top-left corner of the window's viewport, in screen coordinates. This value is reported in CSS pixels. See <code>mozScreenPixelsPerCSSPixel</code> in {{interface("nsIDOMWindowUtils")}} for a conversion factor to adapt to screen pixels if needed.</dd>
+ <dt>{{domxref("Window.mozInnerScreenY")}} {{ReadOnlyInline}} {{non-standard_inline}}{{gecko_minversion_inline("1.9.2")}}</dt>
+ <dd>Returns the vertical (Y) coordinate of the top-left corner of the window's viewport, in screen coordinates. This value is reported in CSS pixels. See <code>mozScreenPixelsPerCSSPixel</code> for a conversion factor to adapt to screen pixels if needed.</dd>
+ <dt>{{domxref("Window.mozPaintCount")}} {{non-standard_inline}}{{ReadOnlyInline}} {{gecko_minversion_inline("2.0")}}</dt>
+ <dd>Returns the number of times the current document has been rendered to the screen in this window. This can be used to compute rendering performance.</dd>
+ <dt>{{domxref("Window.name")}}</dt>
+ <dd>Gets/sets the name of the window.</dd>
+ <dt>{{domxref("Window.navigator")}} {{readOnlyInline}}</dt>
+ <dd>Returns a reference to the navigator object.</dd>
+ <dt>{{domxref("Window.NetworkInformation")}} {{readOnlyInline}} {{experimental_inline}}</dt>
+ <dd>Returns a reference to the {{domxref("NetworkInformation")}} interface, which provides information about the connection a device is using to communicate with the network and provides a means for scripts to be notified if the connection type changes. </dd>
+ <dt>{{domxref("Window.opener")}}</dt>
+ <dd>Returns a reference to the window that opened this current window.</dd>
+ <dt>{{domxref("Window.orientation")}}{{non-standard_inline}}{{deprecated_inline}}{{readOnlyInline}}</dt>
+ <dd>Returns the orientation in degrees (in 90 degree increments) of the viewport relative to the device's natural orientation.</dd>
+ <dt>{{domxref("Window.outerHeight")}} {{readOnlyInline}}</dt>
+ <dd>Gets the height of the outside of the browser window.</dd>
+ <dt>{{domxref("Window.outerWidth")}} {{readOnlyInline}}</dt>
+ <dd>Gets the width of the outside of the browser window.</dd>
+ <dt>{{domxref("Window.scrollX","Window.pageXOffset")}} {{readOnlyInline}}</dt>
+ <dd>An alias for {{domxref("window.scrollX")}}.</dd>
+ <dt>{{domxref("Window.scrollY","Window.pageYOffset")}}{{readOnlyInline}}</dt>
+ <dd>An alias for {{domxref("window.scrollY")}}</dd>
+ <dt>{{domxref("Window.sessionStorage")}} {{readOnlyInline}}</dt>
+ <dd>Returns a reference to the session storage object used to store data that may only be accessed by the origin that created it.</dd>
+ <dt>{{domxref("Window.StaticRange")}} {{experimental_inline}} {{readonlyinline}}</dt>
+ <dd>Returns a {{domxref('StaticRange.StaticRange','StaticRange()')}} constructor which creates a {{domxref('StaticRange')}} object.</dd>
+ <dt>{{domxref("Window.parent")}} {{readOnlyInline}}</dt>
+ <dd>Returns a reference to the parent of the current window or subframe.</dd>
+ <dt>{{domxref("Window.performance")}} {{readOnlyInline}}</dt>
+ <dd>Returns a {{domxref("Performance")}} object, which includes the {{domxref("Performance.timing", "timing")}} and {{domxref("Performance.navigation", "navigation")}} attributes, each of which is an object providing <a href="/en-US/docs/Navigation_timing">performance-related</a> data. See also <a href="/en-US/docs/Web/API/Navigation_timing_API/Using_Navigation_Timing">Using Navigation Timing</a> for additional information and examples.</dd>
+ <dt>{{domxref("Window.personalbar")}} {{readOnlyInline}}</dt>
+ <dd>Returns the personalbar object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.pkcs11")}} {{obsolete_inline(29)}}</dt>
+ <dd>Formerly provided access to install and remove PKCS11 modules.</dd>
+ <dt>{{domxref("Window.returnValue")}} {{Fx_minversion_inline(3)}}</dt>
+ <dd>The return value to be returned to the function that called {{domxref("window.showModalDialog()")}} to display the window as a modal dialog.</dd>
+ <dt>{{domxref("Window.screen")}} {{readOnlyInline}}</dt>
+ <dd>Returns a reference to the screen object associated with the window.</dd>
+
+ <dt>{{domxref("Window.screenX")}} {{readOnlyInline}}</dt>
+ <dd>Returns the horizontal distance of the left border of the user's browser from the left side of the screen.</dd>
+ <dt>{{domxref("Window.screenY")}} {{readOnlyInline}}</dt>
+ <dd>Returns the vertical distance of the top border of the user's browser from the top side of the screen.</dd>
+ <dt>{{domxref("Window.scrollbars")}} {{readOnlyInline}}</dt>
+ <dd>Returns the scrollbars object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.scrollMaxX")}}{{non-standard_inline}}{{ReadOnlyInline}}</dt>
+ <dd>The maximum offset that the window can be scrolled to horizontally, that is the document width minus the viewport width.</dd>
+ <dt>{{domxref("Window.scrollMaxY")}}{{non-standard_inline}}{{ReadOnlyInline}}</dt>
+ <dd>The maximum offset that the window can be scrolled to vertically (i.e., the document height minus the viewport height).</dd>
+ <dt>{{domxref("Window.scrollX")}} {{readOnlyInline}}</dt>
+ <dd>Returns the number of pixels that the document has already been scrolled horizontally.</dd>
+ <dt>{{domxref("Window.scrollY")}} {{readOnlyInline}}</dt>
+ <dd>Returns the number of pixels that the document has already been scrolled vertically.</dd>
+ <dt>{{domxref("Window.self")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns an object reference to the window object itself.</dd>
+ <dt>{{domxref("Window.sessionStorage")}} {{Fx_minversion_inline("2.0")}}</dt>
+ <dd>Returns a storage object for storing data within a single page session.</dd>
+ <dt>{{domxref("Window.sidebar")}} {{non-standard_inline}}{{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the window object of the sidebar.</dd>
+ <dt>{{domxref("Window.speechSynthesis")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns a {{domxref("SpeechSynthesis")}} object, which is the entry point into using <a href="/en-US/docs/Web/API/Web_Speech_API">Web Speech API</a> speech synthesis functionality.</dd>
+ <dt>{{domxref("Window.status")}}</dt>
+ <dd>Gets/sets the text in the statusbar at the bottom of the browser.</dd>
+ <dt>{{domxref("Window.statusbar")}} {{readOnlyInline}}</dt>
+ <dd>Returns the statusbar object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.toolbar")}} {{readOnlyInline}}</dt>
+ <dd>Returns the toolbar object, whose visibility can be toggled in the window.</dd>
+ <dt>{{domxref("Window.top")}} {{readOnlyInline}}</dt>
+ <dd>Returns a reference to the topmost window in the window hierarchy. This property is read only.</dd>
+ <dt>{{domxref("Window.visualViewport")}} {{readOnlyInline}}</dt>
+ <dd>Returns a {{domxref("VisualViewport")}} object which represents the visual viewport for a given window.</dd>
+ <dt>{{domxref("Window.window")}} {{ReadOnlyInline}}</dt>
+ <dd>Returns a reference to the current window.</dd>
+ <dt><code>window[0]</code>,<code> window[1]</code>, etc.</dt>
+ <dd>Returns a reference to the <code>window</code> object in the frames. See {{domxref("Window.frames")}} for more details.</dd>
+</dl>
+
+<h3 id="Properties_implemented_from_elsewhere">Properties implemented from elsewhere</h3>
+
+<dl>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.caches")}} {{readOnlyinline}}</dt>
+ <dd>Returns the {{domxref("CacheStorage")}} object associated with the current context. This object enables functionality such as storing assets for offline use, and generating custom responses to requests.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.indexedDB")}} {{readonlyInline}}</dt>
+ <dd>Provides a mechanism for applications to asynchronously access capabilities of indexed databases; returns an {{domxref("IDBFactory")}} object.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.isSecureContext")}} {{readOnlyinline}}</dt>
+ <dd>Returns a boolean indicating whether the current context is secure (<code>true</code>) or not (<code>false</code>).</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.origin")}} {{readOnlyinline}}</dt>
+ <dd>Returns the global object's origin, serialized as a string. (This does not yet appear to be implemented in any browser.)</dd>
+</dl>
+
+<h2 id="Methods">Methods</h2>
+
+<p><em>This interface inherits methods from the {{domxref("EventTarget")}} interface and implements methods from {{domxref("WindowOrWorkerGlobalScope")}} and {{domxref("EventTarget")}}.</em></p>
+
+<dl>
+ <dt>{{domxref("Window.alert()")}}</dt>
+ <dd>Displays an alert dialog.</dd>
+
+ <dt>{{domxref("Window.back()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>Moves back one in the window history.</dd>
+ <dt>{{domxref("Window.blur()")}}</dt>
+ <dd>Sets focus away from the window.</dd>
+ <dt>{{domxref("Window.cancelAnimationFrame()")}} {{experimental_inline}}</dt>
+ <dd>Enables you to cancel a callback previously scheduled with {{domxref("Window.requestAnimationFrame")}}.</dd>
+ <dt>{{domxref("Window.cancelIdleCallback()")}} {{experimental_inline}}</dt>
+ <dd>Enables you to cancel a callback previously scheduled with {{domxref("Window.requestIdleCallback")}}.</dd>
+ <dt>{{domxref("Window.captureEvents()")}} {{Deprecated_inline}}</dt>
+ <dd>Registers the window to capture all events of the specified type.</dd>
+ <dt>{{domxref("Window.clearImmediate()")}}</dt>
+ <dd>Cancels the repeated execution set using <code>setImmediate</code>.</dd>
+ <dt>{{domxref("Window.close()")}}</dt>
+ <dd>Closes the current window.</dd>
+ <dt>{{domxref("Window.confirm()")}}</dt>
+ <dd>Displays a dialog with a message that the user needs to respond to.</dd>
+ <dt>{{domxref("Window.disableExternalCapture()")}} {{obsolete_inline(24)}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.dispatchEvent()")}}</dt>
+ <dd>Used to trigger an event.</dd>
+ <dt>{{domxref("Window.dump()")}} {{Non-standard_inline}}</dt>
+ <dd>Writes a message to the console.</dd>
+ <dt>{{domxref("Window.enableExternalCapture()")}} {{obsolete_inline(24)}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.find()")}}</dt>
+ <dd>Searches for a given string in a window.</dd>
+ <dt>{{domxref("Window.focus()")}}</dt>
+ <dd>Sets focus on the current window.</dd>
+ <dt>{{domxref("Window.forward()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>Moves the window one document forward in the history.</dd>
+ <dt>{{domxref("Window.getAttention()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>Flashes the application icon.</dd>
+ <dt>{{domxref("Window.getAttentionWithCycleCount()")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.getComputedStyle()")}}</dt>
+ <dd>Gets computed style for the specified element. Computed style indicates the computed values of all CSS properties of the element.</dd>
+ <dt>{{domxref("Window.getDefaultComputedStyle()")}} {{Non-standard_inline}}</dt>
+ <dd>Gets default computed style for the specified element, ignoring author stylesheets.</dd>
+ <dt>{{domxref("Window.getSelection()")}}</dt>
+ <dd>Returns the selection object representing the selected item(s).</dd>
+ <dt>{{domxref("Window.home()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>Returns the browser to the home page.</dd>
+ <dt>{{domxref("Window.matchMedia()")}} {{gecko_minversion_inline("6.0")}}</dt>
+ <dd>Returns a {{domxref("MediaQueryList")}} object representing the specified media query string.</dd>
+ <dt>{{domxref("Window.maximize()")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.minimize()")}} (top-level XUL windows only)</dt>
+ <dd>Minimizes the window.</dd>
+ <dt>{{domxref("Window.moveBy()")}}</dt>
+ <dd>Moves the current window by a specified amount.</dd>
+ <dt>{{domxref("Window.moveTo()")}}</dt>
+ <dd>Moves the window to the specified coordinates.</dd>
+ <dt>{{domxref("Window.open()")}}</dt>
+ <dd>Opens a new window.</dd>
+ <dt>{{domxref("Window.openDialog()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>Opens a new dialog window.</dd>
+ <dt>{{domxref("Window.postMessage()")}} {{Fx_minversion_inline(3)}}</dt>
+ <dd>Provides a secure means for one window to send a string of data to another window, which need not be within the same domain as the first.</dd>
+ <dt>{{domxref("Window.print()")}}</dt>
+ <dd>Opens the Print Dialog to print the current document.</dd>
+ <dt>{{domxref("Window.prompt()")}}</dt>
+ <dd>Returns the text entered by the user in a prompt dialog.</dd>
+ <dt>{{domxref("Window.releaseEvents()")}} {{Non-standard_inline}} {{Deprecated_inline}}</dt>
+ <dd>Releases the window from trapping events of a specific type.</dd>
+ <dt>{{domxref("Window.requestAnimationFrame()")}} {{gecko_minversion_inline("2.0")}}</dt>
+ <dd>Tells the browser that an animation is in progress, requesting that the browser schedule a repaint of the window for the next animation frame.</dd>
+ <dt>{{domxref("Window.requestIdleCallback()")}} {{experimental_inline}}</dt>
+ <dd>Enables the scheduling of tasks during a browser's idle periods.</dd>
+ <dt>{{domxref("Window.resizeBy()")}}</dt>
+ <dd>Resizes the current window by a certain amount.</dd>
+ <dt>{{domxref("Window.resizeTo()")}}</dt>
+ <dd>Dynamically resizes window.</dd>
+ <dt>{{domxref("Window.restore()")}} {{Non-standard_inline}} {{obsolete_inline}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.routeEvent()")}} {{obsolete_inline(24)}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.scroll()")}}</dt>
+ <dd>Scrolls the window to a particular place in the document.</dd>
+ <dt>{{domxref("Window.scrollBy()")}}</dt>
+ <dd>Scrolls the document in the window by the given amount.</dd>
+ <dt>{{domxref("Window.scrollByLines()")}} {{Non-standard_inline}}</dt>
+ <dd>Scrolls the document by the given number of lines.</dd>
+ <dt>{{domxref("Window.scrollByPages()")}} {{Non-standard_inline}}</dt>
+ <dd>Scrolls the current document by the specified number of pages.</dd>
+ <dt>{{domxref("Window.scrollTo()")}}</dt>
+ <dd>Scrolls to a particular set of coordinates in the document.</dd>
+ <dt>{{domxref("Window.setCursor()")}} {{Non-standard_inline}} (top-level XUL windows only)</dt>
+ <dd>Changes the cursor for the current window</dd>
+ <dt>{{domxref("Window.setImmediate()")}}</dt>
+ <dd>Executes a function after the browser has finished other heavy tasks</dd>
+ <dt>{{domxref("Window.setResizable()")}} {{Non-standard_inline}}</dt>
+ <dd>Toggles a user's ability to resize a window.</dd>
+ <dt>{{domxref("Window.sizeToContent()")}} {{Non-standard_inline}}</dt>
+ <dd>Sizes the window according to its content.</dd>
+ <dt>{{domxref("Window.stop()")}}</dt>
+ <dd>This method stops window loading.</dd>
+ <dt>{{domxref("Window.updateCommands()")}} {{Non-standard_inline}}</dt>
+ <dd>Updates the state of commands of the current chrome window (UI).</dd>
+</dl>
+
+<h3 id="Methods_implemented_from_elsewhere">Methods implemented from elsewhere</h3>
+
+<dl>
+ <dt>{{domxref("EventTarget.addEventListener()")}}</dt>
+ <dd>Register an event handler to a specific event type on the window.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.atob()")}}</dt>
+ <dd>Decodes a string of data which has been encoded using base-64 encoding.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.btoa()")}}</dt>
+ <dd>Creates a base-64 encoded ASCII string from a string of binary data.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.clearInterval()")}}</dt>
+ <dd>Cancels the repeated execution set using {{domxref("WindowOrWorkerGlobalScope.setInterval()")}}.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.clearTimeout()")}}</dt>
+ <dd>Cancels the delayed execution set using {{domxref("WindowOrWorkerGlobalScope.setTimeout()")}}.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.createImageBitmap()")}}</dt>
+ <dd>Accepts a variety of different image sources, and returns a {{domxref("Promise")}} which resolves to an {{domxref("ImageBitmap")}}. Optionally the source is cropped to the rectangle of pixels originating at <em>(sx, sy)</em> with width sw, and height sh.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.fetch()")}}</dt>
+ <dd>Starts the process of fetching a resource from the network.</dd>
+ <dt>{{domxref("EventTarget.removeEventListener")}}</dt>
+ <dd>Removes an event listener from the window.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.setInterval()")}}</dt>
+ <dd>Schedules a function to execute every time a given number of milliseconds elapses.</dd>
+ <dt>{{domxref("WindowOrWorkerGlobalScope.setTimeout()")}}</dt>
+ <dd>Schedules a function to execute in a given amount of time.</dd>
+</dl>
+
+<h3 id="Obsolete_methods">Obsolete methods</h3>
+
+<dl>
+ <dt>{{domxref("Window.showModalDialog()")}} {{obsolete_inline}}</dt>
+ <dd>Displays a modal dialog. <strong>This method was removed completely in Chrome 43, and Firefox 55.</strong></dd>
+</dl>
+
+<h2 id="Event_handlers">Event handlers</h2>
+
+<p>These are properties of the window object that can be set to establish event handlers for the various things that can happen in the window that might be of interest.</p>
+
+<p><em>This interface inherits event handlers from the {{domxref("EventTarget")}} interface and implements event handlers from {{domxref("WindowEventHandlers")}}.</em></p>
+
+<div class="note">
+<p><strong>Note:</strong> Starting in {{Gecko("9.0")}}, you can now use the syntax <code>if ("onabort" in window)</code> to determine whether or not a given event handler property exists. This is because event handler interfaces have been updated to be proper web IDL interfaces. See <a href="/en-US/docs/DOM/DOM_event_handlers">DOM event handlers</a> for details.</p>
+</div>
+
+<dl>
+ <dt>{{domxref("GlobalEventHandlers.onabort")}}</dt>
+ <dd>Called when the loading of a resource has been aborted, such as by a user canceling the load while it is still in progress</dd>
+ <dt>{{domxref("WindowEventHandlers.onafterprint")}}</dt>
+ <dd>Called when the print dialog box is closed. See {{event("afterprint")}} event.</dd>
+ <dt>{{domxref("WindowEventHandlers.onbeforeprint")}}</dt>
+ <dd>Called when the print dialog box is opened. See {{event("beforeprint")}} event.</dd>
+ <dt>{{domxref("Window.onbeforeinstallprompt")}}</dt>
+ <dd>An event handler property dispatched before a user is prompted to save a web site to a home screen on mobile.</dd>
+ <dt>{{domxref("WindowEventHandlers.onbeforeunload")}}</dt>
+ <dd>An event handler property for before-unload events on the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onblur")}}</dt>
+ <dd>Called after the window loses focus, such as due to a popup.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onchange")}}</dt>
+ <dd>An event handler property for change events on the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onclick")}}</dt>
+ <dd>Called after the ANY mouse button is pressed &amp; released</dd>
+ <dt>{{domxref("GlobalEventHandlers.ondblclick")}}</dt>
+ <dd>Called when a double click is made with ANY mouse button.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onclose")}}</dt>
+ <dd>Called after the window is closed</dd>
+ <dt>{{domxref("GlobalEventHandlers.oncontextmenu")}}</dt>
+ <dd>Called when the RIGHT mouse button is pressed</dd>
+ <dt>{{domxref("Window.ondevicelight")}}</dt>
+ <dd>An event handler property for any ambient light levels changes</dd>
+ <dt>{{domxref("Window.ondevicemotion")}} {{gecko_minversion_inline("6.0")}}</dt>
+ <dd>Called if accelerometer detects a change (For mobile devices)</dd>
+ <dt>{{domxref("Window.ondeviceorientation")}} {{gecko_minversion_inline("6.0")}}</dt>
+ <dd>Called when the orientation is changed (For mobile devices)</dd>
+ <dt>{{domxref("Window.ondeviceorientationabsolute")}} {{non-standard_inline}} Chrome only</dt>
+ <dd>An event handler property for any device orientation changes.</dd>
+ <dt>{{domxref("Window.ondeviceproximity")}}</dt>
+ <dd>An event handler property for device proximity event</dd>
+ <dt>{{domxref("GlobalEventHandlers.onerror")}}</dt>
+ <dd>Called when a resource fails to load OR when an error occurs at runtime. See {{event("error")}} event.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onfocus")}}</dt>
+ <dd>Called after the window receives or regains focus. See {{event("focus")}} events.</dd>
+ <dt>{{domxref("WindowEventHandlers.onhashchange")}} {{gecko_minversion_inline("1.9.2")}}</dt>
+ <dd>An event handler property for {{event('hashchange')}} events on the window; called when the part of the URL after the hash mark ("#") changes.</dd>
+ <dt>{{domxref("Window.onappinstalled")}}</dt>
+ <dd>Called when the page is installed as a webapp. See {{event('appinstalled')}} event.</dd>
+ <dt>{{domxref("Window.ongamepadconnected")}}</dt>
+ <dd>Represents an event handler that will run when a gamepad is connected (when the {{event('gamepadconnected')}} event fires).</dd>
+ <dt>{{domxref("Window.ongamepaddisconnected")}}</dt>
+ <dd>Represents an event handler that will run when a gamepad is disconnected (when the {{event('gamepaddisconnected')}} event fires).</dd>
+ <dt>{{domxref("Window.oninput")}}</dt>
+ <dd>Called when the value of an &lt;input&gt; element changes</dd>
+ <dt>{{domxref("GlobalEventHandlers.onkeydown")}}</dt>
+ <dd>Called when you begin pressing ANY key. See {{event("keydown")}} event.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onkeypress")}}</dt>
+ <dd>Called when a key (except Shift, Fn, and CapsLock) is in pressed position. See {{event("keypress")}} event.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onkeyup")}}</dt>
+ <dd>Called when you finish releasing ANY key. See {{event("keyup")}} event.</dd>
+ <dt>{{domxref("WindowEventHandlers.onlanguagechange")}}</dt>
+ <dd>An event handler property for {{event("languagechange")}} events on the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onload")}}</dt>
+ <dd>Called after all resources and the DOM are fully loaded. WILL NOT get called when the page is loaded from cache, such as with back button.</dd>
+ <dt>{{domxref("WindowEventHandlers.onmessage")}}</dt>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onmousedown")}}</dt>
+ <dd>Called when ANY mouse button is pressed.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onmousemove")}}</dt>
+ <dd>Called continously when the mouse is moved inside the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onmouseout")}}</dt>
+ <dd>Called when the pointer leaves the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onmouseover")}}</dt>
+ <dd>Called when the pointer enters the window</dd>
+ <dt>{{domxref("GlobalEventHandlers.onmouseup")}}</dt>
+ <dd>Called when ANY mouse button is released</dd>
+ <dt>{{domxref("Window.onmozbeforepaint")}} {{gecko_minversion_inline("2.0")}}</dt>
+ <dd>An event handler property for the <code>MozBeforePaint</code> event, which is sent before repainting the window if the event has been requested by a call to the {{domxref("Window.mozRequestAnimationFrame()")}} method.</dd>
+ <dt>{{domxref("WindowEventHandlers.onoffline")}}</dt>
+ <dd>Called when network connection is lost. See {{event("offline")}} event.</dd>
+ <dt>{{domxref("WindowEventHandlers.ononline")}}</dt>
+ <dd>Called when network connection is established. See {{event("online")}} event.</dd>
+ <dt>{{domxref("WindowEventHandlers.onpagehide")}}</dt>
+ <dd>Called when the user navigates away from the page, before the onunload event. See {{event("pagehide")}} event.</dd>
+ <dt>{{domxref("WindowEventHandlers.onpageshow")}}</dt>
+ <dd>Called after all resources and the DOM are fully loaded. See {{event("pageshow")}} event.</dd>
+ <dt>{{domxref("Window.onpaint")}}</dt>
+ <dd>An event handler property for paint events on the window.</dd>
+ <dt>{{domxref("WindowEventHandlers.onpopstate")}} {{gecko_minversion_inline("2.0")}}</dt>
+ <dd>Called when a back button is pressed.</dd>
+ <dt>{{domxref("Window.onrejectionhandled")}} {{experimental_inline}}</dt>
+ <dd>An event handler for handled {{jsxref("Promise")}} rejection events.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onreset")}}</dt>
+ <dd>Called when a form is reset</dd>
+ <dt>{{domxref("GlobalEventHandlers.onresize")}}</dt>
+ <dd>Called continuously as you are resizing the window.</dd>
+ <dt>{{domxref("GlobalEventHandlers.onscroll")}}</dt>
+ <dd>Called when the scroll bar is moved via ANY means. If the resource fully fits in the window, then this event cannot be invoked</dd>
+ <dt>{{domxref("GlobalEventHandlers.onwheel")}}</dt>
+ <dd>Called when the mouse wheel is rotated around any axis</dd>
+ <dt>{{domxref("GlobalEventHandlers.onselect")}}</dt>
+ <dd>Called after text in an input field is selected</dd>
+ <dt>{{domxref("GlobalEventHandlers.onselectionchange")}}</dt>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd>
+ <dt>{{domxref("WindowEventHandlers.onstorage")}}</dt>
+ <dd>Called when there is a change in session storage or local storage. See {{event("storage")}} event</dd>
+ <dt>{{domxref("GlobalEventHandlers.onsubmit")}}</dt>
+ <dd>Called when a form is submitted</dd>
+ <dt>{{domxref("WindowEventHandlers.onunhandledrejection")}} {{experimental_inline}}</dt>
+ <dd>An event handler for unhandled {{jsxref("Promise")}} rejection events.</dd>
+ <dt>{{domxref("WindowEventHandlers.onunload")}}</dt>
+ <dd>Called when the user navigates away from the page.</dd>
+ <dt>{{domxref("Window.onuserproximity")}}</dt>
+ <dd>An event handler property for user proximity events.</dd>
+ <dt>{{domxref("Window.onvrdisplayconnect")}}</dt>
+ <dd>Represents an event handler that will run when a compatible VR device has been connected to the computer (when the {{event("vrdisplayconnected")}} event fires).</dd>
+ <dt>{{domxref("Window.onvrdisplaydisconnect")}}</dt>
+ <dd>Represents an event handler that will run when a compatible VR device has been disconnected from the computer (when the {{event("vrdisplaydisconnected")}} event fires).</dd>
+ <dt>{{domxref("Window.onvrdisplayactivate")}}</dt>
+ <dd>Represents an event handler that will run when a display is able to be presented to (when the {{event("vrdisplayactivate")}} event fires), for example if an HMD has been moved to bring it out of standby, or woken up by being put on.</dd>
+ <dt>{{domxref("Window.onvrdisplaydeactivate")}}</dt>
+ <dd>Represents an event handler that will run when a display can no longer be presented to (when the {{event("vrdisplaydeactivate")}} event fires), for example if an HMD has gone into standby or sleep mode due to a period of inactivity.</dd>
+ <dt>{{domxref("Window.onvrdisplayblur")}}</dt>
+ <dd>Represents an event handler that will run when presentation to a display has been paused for some reason by the browser, OS, or VR hardware (when the {{event("vrdisplayblur")}} event fires) — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience.</dd>
+ <dt>{{domxref("Window.onvrdisplayfocus")}}</dt>
+ <dd>Represents an event handler that will run when presentation to a display has resumed after being blurred (when the {{event("vrdisplayfocus")}} event fires).</dd>
+ <dt>{{domxref("Window.onvrdisplaypresentchange")}}</dt>
+ <dd>represents an event handler that will run when the presenting state of a VR device changes — i.e. goes from presenting to not presenting, or vice versa (when the {{event("vrdisplaypresentchange")}} event fires).</dd>
+</dl>
+
+<h2 id="Constructors">Constructors</h2>
+
+<p>See also the <a href="/en-US/docs/DOM/DOM_Reference" title="/en-US/docs/DOM/DOM_Reference">DOM Interfaces</a>.</p>
+
+<dl>
+ <dt>{{domxref("DOMParser")}}</dt>
+ <dd><code>DOMParser</code> can parse XML or HTML source stored in a string into a DOM <a href="https://developer.mozilla.org/en-US/docs/DOM/document" title="document">Document</a>. <code>DOMParser</code> is specified in <a href="https://w3c.github.io/DOM-Parsing/" title="http://html5.org/specs/dom-parsing.html">DOM Parsing and Serialization</a>.</dd>
+ <dt>{{domxref("Window.GeckoActiveXObject")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Image")}}</dt>
+ <dd>Used for creating an {{domxref("HTMLImageElement")}}.</dd>
+ <dt>{{domxref("Option")}}</dt>
+ <dd>Used for creating an {{domxref("HTMLOptionElement")}}</dd>
+ <dt>{{domxref("Window.QueryInterface")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.XMLSerializer")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Worker")}}</dt>
+ <dd>Used for creating a <a href="/en-US/docs/DOM/Using_web_workers">Web worker</a></dd>
+ <dt>{{domxref("Window.XPCNativeWrapper")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+ <dt>{{domxref("Window.XPCSafeJSObjectWrapper")}}</dt>
+ <dd>{{todo("NeedsContents")}}</dd>
+</dl>
+
+<h2 id="Interfaces">Interfaces</h2>
+
+<p>See <a href="/en-US/docs/DOM/DOM_Reference" title="/en-US/docs/DOM/DOM_Reference">DOM Reference</a></p>
+
+<h2 id="See_also">See also</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Working_with_windows_in_chrome_code">Working with windows in chrome code</a></li>
+</ul>
diff --git a/files/pl/web/api/window/localstorage/index.html b/files/pl/web/api/window/localstorage/index.html
new file mode 100644
index 0000000000..e93c5c15e7
--- /dev/null
+++ b/files/pl/web/api/window/localstorage/index.html
@@ -0,0 +1,125 @@
+---
+title: Window.localStorage
+slug: Web/API/Window/localStorage
+tags:
+ - API
+ - Pamięć
+ - Referencja
+ - Storage
+ - Web Storage
+ - WindowLocalStorage
+ - Własność
+ - localStorage
+translation_of: Web/API/Window/localStorage
+---
+<p>{{APIRef()}}</p>
+
+<p>Własność localStorage pozwala na dostęp do lokalnego obiektu {{domxref("Storage")}}. localStorage jest podobne w swoich założeniach do <code><a href="/en-US/docs/Web/API/Window.sessionStorage">sessionStorage</a>.</code> Różnica pomiędzy nimi polega na tym, że dane przechowywane w <code>localStorage</code> nie mają daty ważności, a dane przechowywane w <code>sessionStorage</code> usuwane są po zakończeniu danej sesji - czyli przy zamknięciu przeglądarki.</p>
+
+<h2 id="Składnia">Składnia</h2>
+
+<pre class="brush: js">myStorage = localStorage;</pre>
+
+<h3 id="Wartość">Wartość</h3>
+
+<p>Obiekt {{domxref("Storage")}}.</p>
+
+<h2 id="Przykład">Przykład</h2>
+
+<p>Poniższy kod uzyskuje dostęp do lokalnego obiektu {{domxref("Storage")}}, należącego do obecnej domeny i dodaje do niego własność używająć metody {{domxref("Storage.setItem()")}}.</p>
+
+<pre class="brush: js">localStorage.setItem('myCat', 'Tom');</pre>
+
+<div class="note">
+<p><strong>Notka</strong>: Pełny przykład znajdziesz w artykule <a href="/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API">Using the Web Storage API</a> .</p>
+</div>
+
+<h2 id="Specyfikajca">Specyfikajca</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specyfikacja</th>
+ <th scope="col">Status</th>
+ <th scope="col">Komentarz</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('Web Storage', '#dom-localstorage', 'localStorage')}}</td>
+ <td>{{Spec2('Web Storage')}}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Wsparcie_przeglądarek">Wsparcie przeglądarek</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Własność</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari (WebKit)</th>
+ </tr>
+ <tr>
+ <td>localStorage</td>
+ <td>4</td>
+ <td>3.5</td>
+ <td>8</td>
+ <td>10.50</td>
+ <td>4</td>
+ </tr>
+ <tr>
+ <td>sessionStorage</td>
+ <td>5</td>
+ <td>2</td>
+ <td>8</td>
+ <td>10.50</td>
+ <td>4</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Własność</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Podstawowe wspracie</td>
+ <td>2.1</td>
+ <td>{{ CompatUnknown }}</td>
+ <td>8</td>
+ <td>11</td>
+ <td>iOS 3.2</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p>Sposób wsparcia dla <code>localStorage</code> i {{domxref("sessionStorage")}} różni się w zależności od przeglądarki. Tutaj znajdziesz <a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">szczegółowe dane na temat wsparcia poszczególnych przeglądarek dla obiektów Storage</a>.</p>
+
+<div class="note">
+<p><strong>Notka:</strong> Zaczynając od wersji iOS 5.1, Safari przetrzymuje dane <code>localStorage</code> w folderze <code>cache.</code> Folder ten poddawany jest okresowemu czyszczeniu, zazwyczaj, gdy w pamięci urządzenia kończy się miejsce. Tryb prywatny w mobilnej przeglądarce Safari blokuje również całkowicie możliwość zapisu do pamięci <code>localStorage</code>.</p>
+</div>
+
+<h2 id="Zobacz_także">Zobacz także</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API">Using the Web Storage API</a></li>
+ <li>{{domxref("LocalStorage")}}</li>
+ <li>{{domxref("SessionStorage")}}</li>
+ <li>{{domxref("Window.sessionStorage")}}</li>
+</ul>
diff --git a/files/pl/web/api/window/name/index.html b/files/pl/web/api/window/name/index.html
new file mode 100644
index 0000000000..0b91ec81ec
--- /dev/null
+++ b/files/pl/web/api/window/name/index.html
@@ -0,0 +1,27 @@
+---
+title: window.name
+slug: Web/API/Window/name
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/name
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Pobiera/ustawia nazwę okna.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>string</i> = window.name
+ window.name =<i>string</i>
+</pre>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">window.name = "lab_view";
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Nazwa okna jest używana pierwotnie dla ustawienia celu dla linków oraz formularzy. Okno nie musi posiadać nazwy.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.name", "ja": "ja/DOM/window.name" } ) }}</p>
diff --git a/files/pl/web/api/window/navigator/index.html b/files/pl/web/api/window/navigator/index.html
new file mode 100644
index 0000000000..c43e84184b
--- /dev/null
+++ b/files/pl/web/api/window/navigator/index.html
@@ -0,0 +1,84 @@
+---
+title: window.navigator
+slug: Web/API/Window/navigator
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/navigator
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Zwraca odwołanie do obiektu navigator, który może być zapytany o informację na temat aplikacji uruchamiającej skrypt.</p>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre class="eval">alert("Używasz " + navigator.appName);
+</pre>
+
+<h3 id="W.C5.82asno.C5.9Bci" name="W.C5.82asno.C5.9Bci">Własności</h3>
+
+<dl>
+ <dt><a href="pl/DOM/window.navigator.appCodeName">navigator.appCodeName</a></dt>
+ <dd>Zwraca wewnętrzną nazwę "kodową" aktualnej przeglądarki.</dd>
+ <dt><a href="pl/DOM/window.navigator.appName">navigator.appName</a></dt>
+ <dd>Zwraca oficjalną nazwę przeglądarki.</dd>
+ <dt><a href="pl/DOM/window.navigator.appVersion">navigator.appVersion</a></dt>
+ <dd>Zwraca wersję przeglądarki jako łańcuch znaków.</dd>
+ <dt><a href="pl/DOM/window.navigator.buildID">navigator.buildID</a></dt>
+ <dd>Zwraca identyfikator kompilacji przeglądarki (np. "2006090803").</dd>
+ <dt><a href="pl/DOM/window.navigator.cookieEnabled">navigator.cookieEnabled</a></dt>
+ <dd>Zwraca wartość logiczną wskazującą czy obsługa ciasteczek jest włączona, czy nie.</dd>
+ <dt><a href="pl/DOM/window.navigator.language">navigator.language</a></dt>
+ <dd>Zwraca łańcuch znaków reprezentujący wersję językową przeglądarki.</dd>
+ <dt><a href="pl/DOM/window.navigator.mimeTypes">navigator.mimeTypes</a></dt>
+ <dd>Zwraca listę typów MIME obsługiwanych przez przeglądarkę.</dd>
+ <dt><a href="pl/DOM/window.navigator.onLine">navigator.onLine</a></dt>
+ <dd>Zwraca wartość logiczną wskazującą czy przeglądarka jest w trybie online.</dd>
+ <dt><a href="pl/DOM/window.navigator.oscpu">navigator.oscpu</a></dt>
+ <dd>Zwraca łańcuch znaków reprezentujący bieżący system operacyjny.</dd>
+ <dt><a href="pl/DOM/window.navigator.platform">navigator.platform</a></dt>
+ <dd>Zwraca łańcuch znaków reprezentujący platformę przeglądarki.</dd>
+ <dt><a href="pl/DOM/window.navigator.plugins">navigator.plugins</a></dt>
+ <dd>Zwraca tablicę z zainstalowanymi wtyczkami przeglądarki.</dd>
+ <dt><a href="pl/DOM/window.navigator.product">navigator.product</a></dt>
+ <dd>Zwraca nazwę produktu bieżącej przeglądarki (np. "Gecko")</dd>
+ <dt><a href="pl/DOM/window.navigator.productSub">navigator.productSub</a></dt>
+ <dd>Zwraca numer kompilacji bieżącej przeglądarki (np. "20060909").</dd>
+ <dt><a href="pl/DOM/window.navigator.securityPolicy">navigator.securityPolicy</a></dt>
+ <dd>Returns an empty string. In Netscape 4.7x, returns "US &amp; CA domestic policy" or "Export policy".</dd>
+ <dt><a href="pl/DOM/window.navigator.userAgent">navigator.userAgent</a></dt>
+ <dd>Returns the user agent string for the current browser.</dd>
+ <dt><a href="pl/DOM/window.navigator.vendor">navigator.vendor</a></dt>
+ <dd>Returns the vendor name of the current browser (e.g. "Netscape6")</dd>
+ <dt><a href="pl/DOM/window.navigator.vendorSub">navigator.vendorSub</a></dt>
+ <dd>Returns the vendor version number (e.g. "6.1")</dd>
+</dl>
+
+<h3 id="Metody" name="Metody">Metody</h3>
+
+<dl>
+ <dt><a href="pl/DOM/window.navigator.javaEnabled">navigator.javaEnabled</a></dt>
+ <dd>Określa czy w przeglądarce jest włączona obsługa Javy.</dd>
+ <dt><a href="pl/DOM/window.navigator.taintEnabled">navigator.taintEnabled</a> {{ Obsolete_inline() }} </dt>
+ <dd>Returns false. JavaScript taint/untaint functions removed in JavaScript 1.2<a class="external" href="http://devedge-temp.mozilla.org/library/manuals/2000/javascript/1.3/reference/nav.html#1194117"> </a></dd>
+ <dt><a href="pl/DOM/window.navigator.preference">navigator.preference</a></dt>
+ <dd>Sets a user preference. This method is <a class="external" href="http://www.faqts.com/knowledge_base/view.phtml/aid/1608/fid/125/lang/en">only available to privileged code</a>, and you should use XPCOM <a href="pl/API_preferencji">API preferencji</a> instead.</dd>
+ <dt><a href="pl/DOM/window.navigator.registerContentHandler">navigator.registerContentHandler</a></dt>
+ <dd>Pozwala stronom na zarejestrowanie się jako możliwe serwisy obsługujące dla zawartości konkretnego typu MIME.</dd>
+ <dt><a href="pl/DOM/window.navigator.registerProtocolHandler">navigator.registerProtocolHandler</a></dt>
+ <dd>Pozwala stronom na zarejestrowanie się jako możliwe serwisy obsługujące dany protokół.</dd>
+</dl>
+
+<h3 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h3>
+
+<p><a href="pl/DOM_Client_Object_Cross-Reference/navigator">DOM Client Object Cross-Reference:navigator</a></p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p> </p>
diff --git a/files/pl/web/api/window/onload/index.html b/files/pl/web/api/window/onload/index.html
new file mode 100644
index 0000000000..45e1b97328
--- /dev/null
+++ b/files/pl/web/api/window/onload/index.html
@@ -0,0 +1,62 @@
+---
+title: window.onload
+slug: Web/API/Window/onload
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/GlobalEventHandlers/onload
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Uchwyt zdarzenia dla zdarzenia wczytywania okna (<a href="/pl/DOM/window" title="pl/DOM/window">window</a>).</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval">window.onload = <em>funcRef</em>;
+</pre>
+
+<ul>
+ <li><code>funcRef</code> jest funkcją uchwytu.</li>
+</ul>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre>window.onload = function() {
+ init();
+ doSomethingElse();
+};
+</pre>
+
+<pre>&lt;html&gt;
+&lt;head&gt;
+
+&lt;title&gt;Test onload&lt;/title&gt;
+
+&lt;script type="text/javascript"&gt;
+
+window.onload = load;
+
+function load()
+{
+ alert("Wykryto zdarzenie load!");
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;Zdarzenie load występuje w momencie zakończenia ładowania dokumentu!&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+</pre>
+
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+
+<p>Zdarzenie load wywoływane jest na końcu procesu ładowania dokumentu. W momencie wystąpienia zdarzenia, DOM zawiera już wszystkie obiekty zawarte w dokumencie oraz zakończone zostało wczytywanie obrazków oraz ramek.<br>
+ <br>
+ Istnieje także zdarzenie <code>DOMContentLoaded</code> (które można zarejestrować za pomocą <code>addEventListener</code>) występujące w momencie gdy DOM dla danej strony został zbudowany ale bez czekania na zakończenie ładowania pozostałych zasobów.</p>
diff --git a/files/pl/web/api/window/open/index.html b/files/pl/web/api/window/open/index.html
new file mode 100644
index 0000000000..de2d422a8b
--- /dev/null
+++ b/files/pl/web/api/window/open/index.html
@@ -0,0 +1,796 @@
+---
+title: window.open
+slug: Web/API/Window/open
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/open
+---
+<p>{{ ApiRef() }}</p>
+
+<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>
+
+<p>Tworzy nowe okno przeglądarki i wczytuje do niego wskazany zasób.</p>
+
+<h2 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h2>
+
+<pre class="eval"><var>referencjaDoObiektuOkna</var> = window.open(<var>strUrl</var>, <var>strNazwaOkna</var> [, <var>strCechyOkna</var>]);
+</pre>
+
+<h3 id="Parametry_i_zwracana_warto.C5.9B.C4.87" name="Parametry_i_zwracana_warto.C5.9B.C4.87">Parametry i zwracana wartość</h3>
+
+<dl>
+ <dt><code>referencjaDoObiektuOkna</code></dt>
+ <dd>Referencja wskazująca na obiekt nowoutworzonego okna to wartość zwracana przez metodę open(). Jeżeli z jakichś powodów nie uda się otworzyć okna, zwrócone zostanie <code>null</code>. Referencje taką dobrze jest przechowywać w zmiennej globalnej. Możesz wtedy użyć jej do do pobrania właściwości nowego okna lub wywołania jego metod - pod warunkiem, że zależność między głównym a nowym oknem spełnia <a class="external" href="http://www.mozilla.org/projects/security/components/same-origin.html">Zasadę tego samego pochodzenia</a> - wymaganą ze względów bezpieczeństwa.</dd>
+</dl>
+
+<dl>
+ <dt><code>strUrl</code></dt>
+ <dd>Adres URL, który ma zostać wczytany w nowym oknie. Może to być dokument HTML gdzieś w Sieci, może to być obrazek lub dowolny inny plik, który może obsłużyć przeglądarka.</dd>
+</dl>
+
+<dl>
+ <dt><code>strNazwaOkna</code></dt>
+ <dd>Ciąg znaków używany jako nazwa okna. Nazwy tej można użyć jako celu dla odnośników i formularzy, określanego za pomocą atrybutu <code>target</code> elementu <code style="font-size: 1em;">&lt;a&gt;</code> lub <code style="font-size: 1em;">&lt;form&gt;</code>. Nazwa nie powinna zawierać spacji. <var>strNazwaOkna</var> nie określa tytułu nowego okna.</dd>
+</dl>
+
+<dl>
+ <dt><code>strCechyOkna</code></dt>
+ <dd>Parametr opcjonalny. Jest to ciąg znaków, w którym wymienione zostają cechy (funkcjonalność, paski narzędzi) nowego okna przeglądarki. Parametr ten nie może zawierać żadnych spacji. Każda żądana cecha okna oddzielana jest od innych za pomocą przecinka.</dd>
+</dl>
+
+<h2 id="Opis" name="Opis">Opis</h2>
+
+<p>Metoda <code>open()</code> tworzy nowe okno przeglądarki, podobnie jak przy wybraniu polecenia Nowe okno w menu Plik. Parametr <var>strUrl</var> określa URL, który ma zostać pobrany i załadowany w nowym oknie. Jeśli <var>strUrl</var> jest pustym ciągiem, utworzone zostanie puste okno (URL <code>about:blank</code>) z domyślnym zestawem pasków głównego okna.</p>
+
+<p>Zauważ, że zdalny URL nie zostanie załadowany od razu. Po zakończeniu wykonywania <code>window.open()</code> okno zawsze zawiera <code>about:blank</code>. Faktyczne pobieranie z adresu URL jest opóźniane do momentu zakończenia wykonywania bieżącego bloku skryptu. Tworzenie okna i ładowanie wskazanego zasobu odbywają się asynchronicznie.</p>
+
+<h4 id="Przyk.C5.82ady" name="Przyk.C5.82ady">Przykłady</h4>
+
+<pre>&lt;script type="text/javascript"&gt;
+
+/* Deklaracja zmiennej globalnej, w której będzie
+ przechowywana referencja do nowego okna */
+
+var WindowObjectReference;
+
+function openRequestedPopup()
+{
+ WindowObjectReference = window.open("http://www.cnn.com/", "CNN_WindowName",
+ "menubar=yes,location=yes,resizable=yes,scrollbars=yes,status=yes");
+}
+&lt;/script&gt;
+</pre>
+
+<pre>&lt;script type="text/javascript"&gt;
+var WindowObjectReference; // zmienna globalna
+
+function openRequestedPopup()
+{
+ WindowObjectReference = window.open("http://www.domainname.ext/path/ImageFile.png",
+ "DescriptiveWindowName",
+ "resizable=yes,scrollbars=yes,status=yes");
+}
+&lt;/script&gt;
+</pre>
+
+<p>Jeśli istnieje już okno o tej samej nazwie <var>strWindowName</var>, to zamiast otwierania nowego okna w istniejącym oknie zostanie załadowany URL <var>strUrl</var>. W takim wypadku wartością zwracaną jest referencja do istniejącego okna, a parametr <var>strWindowFeatures</var> jest ignorowany. Wywołanie metody z pustym ciągiem jako <var>strUrl</var> to sposób uzyskania referencji do otwartego okna jeśli znana jest jego nazwa. Zawartość tego okna nie zostanie zmieniona. Jeśli chcesz otwierać nowe okno przy każdym wywołaniu <code>window.open()</code>, podaj specjalną wartość <var>_blank</var> jako parametr <var>strWindowName</var>.</p>
+
+<p><var>strWindowFeatures</var> to opcjonalny ciąg znaków z rozdzieloną przecinkami listą żądanych cech nowego okna. Po otwarciu okna nie możesz zmienić jego funkcjonalności czy pasków za pomocą JavaScriptu. Jeśli <var>strWindowName</var> nie określa istniejącego okna i jeśli nie podasz parametru <var>strWindowFeatures</var> (lub będzie on tylko pustym ciągiem znaków), w nowym oknie znajdize się domyślny zestaw pasków głównego okna.</p>
+
+<p>Jeżeli zostanie użyty parametr <var>strWindowFeatures</var>, ale nie zostaną podane cechy określające rozmiar, wymiary okna będą takie same, jak wymiary ostatnio wyrenderowanego okna.</p>
+
+<p>Jeśli zostanie podany parametr <var>strWindowFeatures</var>, ale bez definiowania cech określających pozycję, wtedy współrzędne lewego górnego rogu będą przesunięte o 22 piksele od miejsca, gdzie znajdował się róg ostatnio wyrenderowanego okna. Przesunięcie to jest implementowane przez producentów przeglądarek (w MSIE 6 SP2 wynosi ono 29 pikseli przy domyślnym motywie) - ma ono ułatwiać użytkownikom dostrzeżenie, że otwarto nowe okno. Jeśli ostatnio używane okno było zmaksymalizowane, przesunięcie o 22 piksele nie zostanie użyte - nowe okno także będzie zmaksymalizowane.</p>
+
+<p><strong>Jeśli podajesz <var>strWindowFeatures</var>, cechy, które nie zostaną określone, będą wyłączone lub usunięte</strong> (z wyjątkiem <var>titlebar</var> i <var>close</var>, które domyślnie ustawiane są na <var>yes</var>)&gt;.</p>
+
+<div class="note">
+<p><strong>Porada</strong>: Jeśli podajesz parametr <var>strWindowFeatures</var>, zawrzyj tylko te cechy, które chcesz, by były włączone lub wyświetlane; pozostałe (poza <var>titlebar</var> i <var>close</var>) zostaną wyłączone.</p>
+</div>
+
+<p><img alt="Firefox Chrome Toolbars Illustration" class="internal" src="/@api/deki/files/2311/=FirefoxChromeToolbarsDescription7a.gif"></p>
+
+<h4 id="Pozycja_i_rozmiar_okna" name="Pozycja_i_rozmiar_okna">Pozycja i rozmiar okna</h4>
+
+<ul>
+ <li><a href="#Note_on_position_and_dimension_error_correction">Note on position and dimension error correction</a></li>
+ <li>{{bug(176320) }}</li>
+ <li><a href="#Note_on_precedence">Note on precedence</a></li>
+</ul>
+
+<dl>
+ <dt>left</dt>
+ <dd><span id="left">Określa odległość</span> między lewą krawędzią obszaru roboczego aplikacji w systemie operacyjnym użytkownika a najbardziej wysuniętą w lewo częścią obramowania nowego okna przeglądarki. Nowe okno nie możo być zainicjowane w miejscu wychodzącym poza ekran.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png">, <img alt="Opera 6+" class="internal" src="/@api/deki/files/2337/=Opera6.gif"></dd>
+</dl>
+
+<dl>
+ <dt>top</dt>
+ <dd><span id="topS">Określa odległość</span> między górną krawędzią obszaru roboczego aplikacji w systemie operacyjnym użytkownika a najbardziej wysuniętą w górę częścią obramowania nowego okna przeglądarki. Nowe okno nie możo być zainicjowane w miejscu wychodzącym poza ekran.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png">, <img alt="Opera 6+" class="internal" src="/@api/deki/files/2337/=Opera6.gif"></dd>
+</dl>
+
+<dl>
+ <dt>height</dt>
+ <dd><span id="height">Określa wysokość</span> obszaru zawartości okna wyrażoną w pikselach. Wartość zawiera wysokość poziomego paska przewijania, jeśli jest on wyświetlany. Wymagana minimalna wartość to 100.</dd>
+ <dd><a href="#Note_on_outerHeight_versus_height">Note on outerHeight versus height (or innerHeight)</a></dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png">, <img alt="Opera 6+" class="internal" src="/@api/deki/files/2337/=Opera6.gif"></dd>
+</dl>
+
+<dl>
+ <dt>width</dt>
+ <dd><span id="width">Określa wysokość</span> obszaru zawartości okna wyrażoną w pikselach. Wartość zawiera szerokość pionowego paska przewijania, jeśli jest on wyświetlany. Nie jest włączana szerokość panelu bocznego, jeśli jest on otwarty. Wymagana minimalna wartość to 100.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png">, <img alt="Opera 6+" class="internal" src="/@api/deki/files/2337/=Opera6.gif"></dd>
+</dl>
+
+<dl>
+ <dt>screenX</dt>
+ <dd>Cecha wycofana. Określa to samo co <a href="#left">left</a>, ale obsługują ją tylko przeglądarki Netscape i oparte o Mozillę.</dd>
+ <dd>Obsługiwane przez <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>screenY</dt>
+ <dd>Cecha wycofana. Określa to samo co <a href="#topS">top</a>, ale obsługują ją tylko przeglądarki Netscape i oparte o Mozillę.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>outerHeight</dt>
+ <dd>Określa wysokość całego okna przeglądarki w pikselach. Wartość <code>outerHeight</code> zawiera w sobie wszystkie widoczne paski, poziomy pasek przewijania (jeśli jest widoczny) i obramowanie okna. Minimalna wymana wartość to 100.</dd>
+ <dd><strong>Uwaga</strong>: ponieważ pasek tytułowy jest zawsze widoczny, wywołanie <code>outerHeight=100</code> zmniejszy <code>innerHeight</code> okna poniżej wymaganych 100 pikseli.</dd>
+ <dd><a href="#Note_on_outerHeight_versus_height">Note on outerHeight versus height (or innerHeight)</a></dd>
+ <dd>Obsługiwane przez <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>outerWidth</dt>
+ <dd>Określa szerokość całego okna przeglądarki w pikselach. Wartość <code>outerWidth</code> zawiera w sobie pionowy pasek przewijania (jeśli jest widoczny) i obramowanie okna. Minimalna wymana wartość to 100.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>innerHeight</dt>
+ <dd>To samo co <a href="#height">height</a>, ale obsługiwane tylko przez przeglądarki Netscape i oparte o Mozillę</dd>
+ <dd><a href="#Note_on_outerHeight_versus_height">Note on outerHeight versus height (or innerHeight)</a></dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>innerWidth</dt>
+ <dd>To samo co <a href="#width">width</a>, ale obsługiwane tylko przez przeglądarki Netscape i oparte o Mozillę</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<h4 id="Toolbar_and_chrome_features" name="Toolbar_and_chrome_features">Toolbar and chrome features</h4>
+
+<dl>
+ <dt>menubar </dt>
+ <dd>Jeśli ta opcja jest ustawiona na <var>yes</var>, wtedy nowe okno posiada widoczny pasek menu.</dd>
+ <dd>Użytkownicy Mozilli i Firefoxa mogą wymusić by każde nowo otwarte okno posiadało widoczny masek menu poprzez ustawienie<br>
+ <code>dom.disable_window_open_feature.menubar</code><br>
+ na <var>true</var> w <code>about:config</code> lub w ich <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">pliku user.js</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>toolbar </dt>
+ <dd>Jeśli ta opcja jest ustawiona na <var>yes</var>, wtedy nowe okno posiada widoczny pasek nawigacji (Przyciski: poprzednia strona, następna strona, odśwież, zatrzymaj). In addition to the Navigation Toolbar, Mozilla-based browsers will render the Tab Bar if it is visible, present in the parent window.</dd>
+ <dd>Mozilla and Firefox users can force new windows to always render the Navigation Toolbar by setting<br>
+ <code>dom.disable_window_open_feature.toolbar</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>location </dt>
+ <dd>If this feature is set to <var>yes</var>, then the new secondary window renders the Location bar in Mozilla-based browsers. MSIE 5+ and Opera 7.x renders the Address Bar.</dd>
+ <dd>Mozilla and Firefox users can force new windows to always render the location bar by setting<br>
+ <code>dom.disable_window_open_feature.location</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+</dl>
+
+<p>Note that MSIE 7 will force the presence of the Address Bar: "We think the address bar is also important for users <strong>to see in pop-up windows</strong>. A missing address bar creates a chance for a fraudster to forge an address of their own. To help thwart that, <strong>IE7 will show the address bar on all internet windows to help users see where they are</strong>." coming from <a class="external" href="http://blogs.msdn.com/ie/archive/2005/11/21.aspx">Microsoft Internet Explorer Blog, Better Website Identification</a></p>
+
+<dl>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png">, <img alt="Opera 6+" class="internal" src="/@api/deki/files/2337/=Opera6.gif"></dd>
+</dl>
+
+<dl>
+ <dt>directories </dt>
+ <dd>If this feature is set to <var>yes</var>, then the new secondary window renders the Personal Toolbar in Netscape 6.x, Netscape 7.x and Mozilla browser. It renders the Bookmarks Toolbar in Firefox 1.x and, in MSIE 5+, it renders the Links bar. In addition to the Personal Toolbar, Mozilla browser will render the Site Navigation Bar if such toolbar is visible, present in the parent window.</dd>
+ <dd>Mozilla and Firefox users can force new windows to always render the Personal Toolbar/Bookmarks toolbar by setting<br>
+ <code>dom.disable_window_open_feature.directories</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>personalbar </dt>
+ <dd>Same as <var>directories</var> but only supported by Netscape and Mozilla-based browsers.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>status </dt>
+ <dd>If this feature is set to <var>yes</var>, then the new secondary window has a status bar. Users can force the rendering of status bar in all Mozilla-based browsers, in MSIE 6 SP2 (<a href="#Note_on_security_issues_of_the_status_bar_presence">Note on status bar in XP SP2</a>) and in Opera 6+. The default preference setting in recent Mozilla-based browser releases and in Firefox 1.0 is to force the presence of the status bar.</dd>
+ <dd><a href="#Note_on_status_bar">Note on status bar</a></dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<h4 id="Window_functionality_features" name="Window_functionality_features">Window functionality features</h4>
+
+<dl>
+ <dt>resizable </dt>
+ <dd>If this feature is set to <var>yes</var>, the new secondary window will be resizable.</dd>
+ <dd><strong>Note</strong>: Starting with version 1.4, Mozilla-based browsers have a window resizing grippy at the right end of the status bar, this ensures that users can resize the browser window even if the web author requested this secondary window to be non-resizable. In such case, the maximize/restore icon in the window's titlebar will be disabled and the window's borders won't allow resizing but the window will still be resizable via that grippy in the status bar.</dd>
+</dl>
+
+<div class="note">
+<p><strong>Tip</strong>: For accessibility reasons, it is strongly recommended to set this feature always to <var>yes</var>.</p>
+</div>
+
+<dl>
+ <dd>Mozilla and Firefox users can force new windows to be easily resizable by setting<br>
+ <code>dom.disable_window_open_feature.resizable</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>scrollbars </dt>
+ <dd>If this feature is set to <var>yes</var>, the new secondary window will show horizontal and/or vertical scrollbar(s) if the document doesn't fit into the window's viewport.</dd>
+</dl>
+
+<div class="note">
+<p><strong>Tip</strong>: For accessibility reasons, it is strongly encouraged to set this feature always to <var>yes</var>.</p>
+</div>
+
+<dl>
+ <dd>Mozilla and Firefox users can force this option to be always enabled for new windows by setting<br>
+ <code>dom.disable_window_open_feature.scrollbars</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd><a href="#Note_on_scrollbars">Note on scrollbars</a></dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png">, <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>dependent </dt>
+ <dd>If set to <var>yes</var>, the new window is said to be dependent of its parent window. A dependent window closes when its parent window closes. A dependent window is minimized on the Windows task bar only when its parent window is minimized. On Windows platforms, a dependent window does not show on the task bar. A dependent window also stays in front of the parent window.</dd>
+ <dd>Dependent windows are not implemented on MacOS X, this option will be ignored.</dd>
+ <dd>In MSIE 6, the nearest equivalent to this feature is the <code>showModelessDialog()</code> method.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>chrome </dt>
+ <dd><strong>Note</strong>: Starting with Mozilla 1.7/Firefox 0.9, this feature requires the <code>UniversalBrowserWrite</code> privilege ({{ Bug(244965) }}). Without this privilege it is ignored.</dd>
+ <dd>If set to <var>yes</var>, the page is loaded as window's only content, without any of the browser's interface elements. There will be no context menu defined by default and none of the standard keyboard shortcuts will work. The page is supposed to provide a user interface of its own, usually this feature is used to open XUL documents (standard dialogs like the JavaScript Console are opened this way).</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>modal </dt>
+ <dd><strong>Note</strong>: Starting with Mozilla 1.2.1, this feature requires the <code>UniversalBrowserWrite</code> privilege ({{ Bug(180048) }}). Without this privilege, it is equivalent to <code>dependent</code>.</dd>
+ <dd>If set to <var>yes</var>, the new window is said to be modal. The user cannot return to the main window until the modal window is closed. A typical modal window is created by the <a href="/pl/DOM/window.alert" title="pl/DOM/window.alert">alert() function</a>.</dd>
+ <dd>The exact behavior of modal windows depends on the platform and on the Mozilla release version.</dd>
+ <dd>The MSIE 6 equivalent to this feature is the <code>showModalDialog()</code> method.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>dialog </dt>
+ <dd>The <code>dialog</code> feature removes all icons (restore, minimize, maximize) from the window's titlebar, leaving only the close button. <span class="float-right"><img alt="Firefox and its command system menu under Windows" class="internal" src="/@api/deki/files/2325/=MenuSystemCommands.png"></span>Mozilla 1.2+ and Netscape 7.1 will render the other menu system commands (in FF 1.0 and in NS 7.0x, the command system menu is not identified with the Firefox/NS 7.0x icon on the left end of the titlebar: that's probably a bug. You can access the command system menu with a right-click on the titlebar). Dialog windows are windows which have no minimize system command icon and no maximize/restore down system command icon on the titlebar nor in correspondent menu item in the command system menu. They are said to be dialog because their normal, usual purpose is to only notify info and to be dismissed, closed. On Mac systems, dialog windows have a different window border and they may get turned into a sheet.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>minimizable </dt>
+ <dd>This setting can only apply to dialog windows; "minimizable" requires <code>dialog=yes</code>. If <code>minimizable</code> is set to <var>yes</var>, the new dialog window will have a minimize system command icon in the titlebar and it will be minimizable. Any non-dialog window is always minimizable and <code>minimizable=no</code> will be ignored.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>fullscreen </dt>
+ <dd>Do not use. Not implemented in Mozilla. There are no plans to implement this feature in Mozilla.</dd>
+ <dd>This feature no longer works in MSIE 6 SP2 the way it worked in MSIE 5.x. The Windows taskbar, as well as the titlebar and the status bar of the window are not visible, nor accessible when fullscreen is enabled in MSIE 5.x.</dd>
+ <dd><code>fullscreen</code> always upsets users with large monitor screen or with dual monitor screen. Forcing <code>fullscreen</code> onto other users is also extremely unpopular and is considered an outright rude attempt to impose web author's viewing preferences onto users.</dd>
+ <dd><a href="#Note_on_fullscreen">Note on fullscreen</a></dd>
+ <dd>Obsługiwane przez: <img alt="Internet Explorer 5+" class="internal" src="/@api/deki/files/2324/=MSIE_ico.png"></dd>
+ <dd><code>fullscreen</code> does not really work work in MSIE 6 SP2.</dd>
+</dl>
+
+<h4 id="Features_requiring_privileges" name="Features_requiring_privileges">Features requiring privileges</h4>
+
+<p>The following features require the <code>UniversalBrowserWrite</code> privilege, otherwise they will be ignored. Chrome scripts have this privilege automatically, others have to request it from the <a href="/pl/PrivilegeManager" title="pl/PrivilegeManager">PrivilegeManager</a>.</p>
+
+<dl>
+ <dt>titlebar </dt>
+ <dd>By default, all new secondary windows have a titlebar. If set to <var>no</var>, this feature removes the titlebar from the new secondary window.</dd>
+ <dd>Mozilla and Firefox users can force new windows to always render the titlebar by setting<br>
+ <code>dom.disable_window_open_feature.titlebar</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>alwaysRaised </dt>
+ <dd>If set to <var>yes</var>, the new window will always be displayed on top of other browser windows, regardless of whether it is active or not.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>alwaysLowered </dt>
+ <dd>If set to <var>yes</var>, the new created window floats below, under its own parent when the parent window is not minimized. alwaysLowered windows are often referred as pop-under windows. The alwaysLowered window can not be on top of the parent but the parent window can be minimized. In NS 6.x, the alwaysLowered window has no minimize system command icon and no restore/maximize system command.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<dl>
+ <dt>z-lock </dt>
+ <dd>Same as <code>alwaysLowered</code>.</dd>
+</dl>
+
+<dl>
+ <dt>close </dt>
+ <dd>When set to <var>no</var>, this feature removes the system close command icon and system close menu item. It will only work for dialog windows (<code>dialog</code> feature set). <code>close=no</code> will override <code>minimizable=yes</code>.</dd>
+ <dd>Mozilla and Firefox users can force new windows to always have a close button by setting<br>
+ <code>dom.disable_window_open_feature.close</code><br>
+ to <var>true</var> in <code>about:config</code> or in their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</dd>
+ <dd>Obsługiwane przez: <img alt="Netscape 6.x" class="internal" src="/@api/deki/files/2465/=Ns6.gif">, <img alt="Netscape 7.x" class="internal" src="/@api/deki/files/2334/=NS7_ico4.gif">, <img alt="Mozilla 1.x" class="internal" src="/@api/deki/files/2333/=Mozilla1_ico.png">, <img alt="Firefox 1.x" class="internal" src="/@api/deki/files/2305/=FF1x.png"></dd>
+</dl>
+
+<p>The position and size feature elements require a number to be set. The toolbars and window functionalities can be set with a <var>yes</var> or <var>no</var>; you can use <var>1</var> instead of <var>yes</var> and <var>0</var> instead of <var>no</var>. The toolbar and functionality feature elements also accept the shorthand form: you can turn a feature on by simply listing the feature name in the <var>strWindowFeatures</var> string. If you supply the <var>strWindowFeatures</var> parameter, then the <code>titlebar</code> and <code>close</code> are still <var>yes</var> by default, but the other features which have a <var>yes</var>/<var>no</var> choice will be <var>no</var> by default and will be turned off.</p>
+
+<p>Example:</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+var WindowObjectReference; // global variable
+
+function openRequestedPopup()
+{
+ WindowObjectReference = window.open("http://www.domainname.ext/path/ImgFile.png",
+ "DescriptiveWindowName",
+ "width=420,height=230,resizable,scrollbars=yes,status=1");
+}
+&lt;/script&gt;
+</pre>
+
+<p>In this example, the window will be resizable, it will render scrollbar(s) if needed, if the content overflows requested window dimensions and it will render the status bar. It will not render the menubar nor the location bar. Since the author knew about the size of the image (400 pixels wide and 200 pixels high), he added the margins applied to the root element in MSIE 6 which is 15 pixels for top margin, 15 pixels for the bottom margin, 10 pixels for the left margin and 10 pixels for the right margin.</p>
+
+<h3 id="Best_practices" name="Best_practices">Best practices</h3>
+
+<pre>&lt;script type="text/javascript"&gt;
+var WindowObjectReference = null; // global variable
+
+function openFFPromotionPopup()
+{
+ if(WindowObjectReference == null || WindowObjectReference.closed)
+ /* if the pointer to the window object in memory does not exist
+ or if such pointer exists but the window was closed */
+
+ {
+ WindowObjectReference = window.open("http://www.spreadfirefox.com/",
+ "PromoteFirefoxWindowName", "resizable=yes,scrollbars=yes,status=yes");
+ /* then create it. The new window will be created and
+ will be brought on top of any other window. */
+ }
+ else
+ {
+ WindowObjectReference.focus();
+ /* else the window reference must exist and the window
+ is not closed; therefore, we can bring it back on top of any other
+ window with the focus() method. There would be no need to re-create
+ the window or to reload the referenced resource. */
+ };
+}
+&lt;/script&gt;
+
+(...)
+
+&lt;p&gt;&lt;a href="http://www.spreadfirefox.com/" target="PromoteFirefoxWindowName"
+onclick="openFFPromotionPopup(); return false;"
+title="This link will create a new window or will re-use
+an already opened one"&gt;Promote Firefox adoption&lt;/a&gt;&lt;/p&gt;
+</pre>
+
+<p>The above code solves a few usability problems related to links opening secondary window. The purpose of the <code>return false</code> in the code is to cancel default action of the link: if the onclick event handler is executed, then there is no need to execute the default action of the link. But if javascript support is disabled or non-existent on the user's browser, then the onclick event handler is ignored and the browser loads the referenced resource in the target frame or window that has the name "PromoteFirefoxWindowName". If no frame nor window has the name "PromoteFirefoxWindowName", then the browser will create a new window and will name it "PromoteFirefoxWindowName".</p>
+
+<p>More reading on the use of the target attribute:</p>
+
+<p><a class="external" href="http://www.w3.org/TR/html401/present/frames.html#h-16.3.2">HTML 4.01 Target attribute specifications</a></p>
+
+<p><a class="external" href="http://www.htmlhelp.com/faq/html/links.html#new-window">How do I create a link that opens a new window?</a></p>
+
+<p>You can also parameterize the function to make it versatile, functional in more situations, therefore re-usable in scripts and webpages:</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+var WindowObjectReference = null; // global variable
+
+function openRequestedPopup(strUrl, strWindowName)
+{
+ if(WindowObjectReference == null || WindowObjectReference.closed)
+ {
+ WindowObjectReference = window.open(strUrl, strWindowName,
+ "resizable=yes,scrollbars=yes,status=yes");
+ }
+ else
+ {
+ WindowObjectReference.focus();
+ };
+}
+&lt;/script"&gt;
+(...)
+
+&lt;p&gt;&lt;a href="http://www.spreadfirefox.com/" target="PromoteFirefoxWindow"
+onclick="openRequestedPopup(this.href, this.target); return false;"
+title="This link will create a new window or will re-use
+an already opened one"&gt;Promote
+Firefox adoption&lt;/a&gt;&lt;/p&gt;
+</pre>
+
+<p>You can also make such function able to open only 1 secondary window and to reuse such single secondary window for other links in this manner:</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+var WindowObjectReference = null; // global variable
+var PreviousUrl; /* global variable which will store the
+ url currently in the secondary window */
+
+function openRequestedSinglePopup(strUrl)
+{
+ if(WindowObjectReference == null || WindowObjectReference.closed)
+ {
+ WindowObjectReference = window.open(strUrl, "SingleSecondaryWindowName",
+ "resizable=yes,scrollbars=yes,status=yes");
+ }
+ else if(previousUrl != strUrl)
+ {
+ WindowObjectReference = window.open(strUrl, "SingleSecondaryWindowName",
+ "resizable=yes,scrollbars=yes,status=yes");
+ /* if the resource to load is different,
+ then we load it in the already opened secondary window and then
+ we bring such window back on top/in front of its parent window. */
+ WindowObjectReference.focus();
+ }
+ else
+ {
+ WindowObjectReference.focus();
+ };
+ PreviousUrl = strUrl;
+ /* explanation: we store the current url in order to compare url
+ in the event of another call of this function. */
+}
+&lt;/script&gt;
+
+(...)
+
+&lt;p&gt;&lt;a href="http://www.spreadfirefox.com/" target="SingleSecondaryWindowName"
+onclick="openRequestedSinglePopup(this.href); return false;"
+title="This link will create a new window or will re-use
+an already opened one"&gt;Promote Firefox
+adoption&lt;/a&gt;&lt;/p&gt;
+&lt;p&gt;&lt;a href="http://www.mozilla.org/support/firefox/faq"
+target="SingleSecondaryWindowName"
+onclick="openRequestedSinglePopup(this.href); return false;"
+title="This link will create a new window or will re-use
+an already opened one"&gt;Firefox FAQ&lt;/a&gt;&lt;/p&gt;
+</pre>
+
+<h3 id="FAQ" name="FAQ">FAQ</h3>
+
+<dl>
+ <dt>How can I prevent the confirmation message asking the user whether he wants to close the window?</dt>
+ <dd>You can not. <strong>New windows not opened by javascript can not as a rule be closed by JavaScript.</strong> The JavaScript Console in Mozilla-based browsers will report the warning message: <code>"Scripts may not close windows that were not opened by script."</code> Otherwise the history of URLs visited during the browser session would be lost.</dd>
+ <dd><a href="/pl/Window.close" title="pl/Window.close">More on the window.close()</a> method</dd>
+</dl>
+
+<dl>
+ <dt>How can I bring back the window if it is minimized or behind another window?</dt>
+ <dd>First check for the existence of the window object reference of such window and if it exists and if it has not been closed, then use the <a href="/pl/DOM/window.focus" title="pl/DOM/window.focus">focus()</a> method. There is no other reliable way. You can examine an <a href="#Best_practices">example explaining how to use the focus() method</a>.</dd>
+</dl>
+
+<dl>
+ <dt>How do I force a maximized window?</dt>
+ <dd>You cannot. All browser manufacturers try to make the opening of new secondary windows noticed by users and noticeable by users to avoid confusion, to avoid disorienting users.</dd>
+</dl>
+
+<dl>
+ <dt>How do I turn off window resizability or remove toolbars?</dt>
+ <dd>You cannot force this. Users with Mozilla-based browsers have absolute control over window functionalities like resizability, scrollability and toolbars presence via user preferences in <code>about:config</code>. Since your users are the ones who are supposed to use such windows (and not you, being the web author), the best is to avoid interfering with their habits and preferences. We recommend to always set the resizability and scrollbars presence (if needed) to yes to insure accessibility to content and usability of windows. This is in the best interests of both the web author and the users.</dd>
+</dl>
+
+<dl>
+ <dt>How do I resize a window to fit its content?</dt>
+ <dd>You can not reliably because the users can prevent the window from being resized by unchecking the</dd>
+</dl>
+
+<p><code style="white-space: normal;">Edit/Preferences/Advanced/Scripts &amp; Plug-ins/Allow Scripts to/ Move or resize existing windows</code><br>
+ checkbox in Mozilla or<br>
+ <code style="white-space: normal;">Tools/Options.../Content tab/Enable Javascript/Advanced button/Move or resize existing windows</code><br>
+ checkbox in Firefox or by setting<br>
+ <code>dom.disable_window_move_resize</code><br>
+ to <var>true</var> in the <code>about:config</code> or by editing accordingly their <a class="external" href="http://www.mozilla.org/support/firefox/edit#user">user.js file</a>.</p>
+
+<dl>
+ <dd>In general, users usually disable moving and resizing of existing windows because allowing authors' scripts to do so has been abused overwhelmingly in the past and the rare scripts that do not abuse such feature are often wrong, inaccurate when resizing the window. 99% of all those scripts disable window resizability and disable scrollbars when in fact they should enable both of these features to allow a cautious and sane fallback mechanism if their calculations are wrong.</dd>
+</dl>
+
+<dl>
+ <dd>The window method <a href="/pl/DOM/window.sizeToContent" title="pl/DOM/window.sizeToContent">sizeToContent()</a> is also disabled if the user unchecks the preference <code>Move or resize existing windows</code> checkbox. Moving and resizing a window remotely on the user's screen via script will very often annoy the users, will disorient the user, and will be wrong at best. The web author expects to have full control of (and can decide about) every position and size aspects of the users' browser window ... which is simply not true.</dd>
+</dl>
+
+<dl>
+ <dt>How do I open a referenced resource of a link in a new tab? or in a specific tab?</dt>
+ <dd>Currently, you can not. Only the user can set his advanced preferences to do that. <a class="external" href="http://kmeleon.sourceforge.net/">K-meleon 1.1</a>, a Mozilla-based browser, gives complete control and power to the user regarding how links are opened. Some advanced extensions also give Mozilla and Firefox a lot of power over how referenced resources are loaded.</dd>
+</dl>
+
+<dl>
+ <dd>In a few years, the <a class="external" href="http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/#target0">target property of the CSS3 hyperlink module</a> may be implemented (if CSS3 Hyperlink module as it is right now is approved). And even if and when this happens, you can expect developers of browsers with tab-browsing to give the user entire veto power and full control over how links can open web pages. How to open a link should always be entirely under the control of the user.</dd>
+</dl>
+
+<dl>
+ <dt>How do I know whether a window I opened is still open?</dt>
+ <dd>You can test for the existence of the window object reference which is the returned value in case of success of the window.open() call and then verify that <var>WindowObjectReference</var>.closed return value is <var>false</var>.</dd>
+</dl>
+
+<dl>
+ <dt>How can I tell when my window was blocked by a popup blocker?</dt>
+ <dd>With the built-in popup blockers of Mozilla/Firefox and Internet Explorer 6 SP2, you have to check the return value of <code>window.open()</code>: it will be <var>null</var> if the window wasn't allowed to open. However, for most other popup blockers, there is no reliable way.</dd>
+</dl>
+
+<dl>
+ <dt>What is the JavaScript relationship between the main window and the secondary window?</dt>
+ <dd>The return value of the window.open() method and the <a href="/pl/DOM/window.opener" title="pl/DOM/window.opener">opener</a> property. The <var>WindowObjectReference</var> links the main (opener) window to the secondary (sub-window) window while the opener keyword will link the secondary window to its main (opener) window.</dd>
+</dl>
+
+<dl>
+ <dt>I can not access the properties of the new secondary window. I always get an error in the javascript console saying "Error<span class="nowiki">:</span> uncaught exception<span class="nowiki">:</span> Permission denied to get property &lt;property_name or method_name&gt;. Why is that?</dt>
+ <dd>It is because of the cross-domain script security restriction (also referred as the "Same Origin Policy"). A script loaded in a window (or frame) from a distinct origin (domain name) <strong>cannot get nor set</strong> properties of another window (or frame) or the properties of any of its HTML objects coming from another distinct origin (domain name). Therefore, before executing a script targeting a secondary window, the browser in the main window will verify that the secondary window has the same domain name.</dd>
+ <dd>More reading on the cross-domain script security restriction: <a class="external" href="http://www.mozilla.org/projects/security/components/same-origin.html" rel="freelink">http://www.mozilla.org/projects/secu...me-origin.html</a></dd>
+</dl>
+
+<h3 id="Usability_issues" name="Usability_issues">Usability issues</h3>
+
+<h4 id="Avoid_resorting_to_window.open.28.29" name="Avoid_resorting_to_window.open.28.29">Avoid resorting to <code>window.open()</code></h4>
+
+<p>Generally speaking, it is preferable to avoid resorting to window.open() for several reasons:</p>
+
+<ul>
+ <li>All Mozilla-based browsers offer tab-browsing and this is the preferred mode of opening referenced resources... not just in Mozilla-based browsers but in all other browsers offering tab-browsing. In other words, tab-capable browser users overall prefer opening new tabs than opening new windows in a majority of webpage situations. Tab-capable browsers have rapidly gained support and enthusiasm on internet in the last 2 years and this trend will likely continue. It has been confirmed that the new upcoming release of MSIE 7 in February 2006 will have full support for tab browsing.</li>
+</ul>
+
+<ul>
+ <li>There are now <a class="link-https" href="https://addons.update.mozilla.org/extensions/showlist.php?application=mozilla&amp;category=Tabbed+Browsing&amp;numpg=50&amp;os=windows&amp;version=auto-detect&amp;submit=Update">several Mozilla extensions</a> (like Multizilla) and <a class="link-https" href="https://addons.update.mozilla.org/extensions/showlist.php?application=firefox&amp;version=1.0+&amp;os=Windows&amp;category=Tabbed%20Browsing">Firefox extensions</a> (like <a class="link-https" href="https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&amp;version=1.0%20&amp;os=Windows&amp;category=Tabbed%20Browsing&amp;numpg=10&amp;id=158">Tabbrowser preferences</a>), features, settings and advanced preferences based on tab-browsing and based on converting window.open() calls into opening tabs, based on neutralizing window.open() calls, in particular in neutralizing unrequested openings of new windows (often referred as blocking unrequested popups or as blocking script-initiated windows opening automatically). Such features found in extensions include opening a link in a new window or not, in the same window, in a new tab or not, in "background" or not. Coding carelessly to open new windows can no longer be assured of success, can not succeed by force and, if it does, it will annoy a majority of users.</li>
+</ul>
+
+<ul>
+ <li>New windows can have menubar missing, scrollbars missing, status bar missing, window resizability disabled, etc.; new tabs can not be missing those functionalities or toolbars (or at least, the toolbars which are present by default). Therefore, tab-browsing is preferred by a lot of users because the normal user-interface of the browser window they prefer is kept intact, remains stable.</li>
+</ul>
+
+<ul>
+ <li>Opening new windows, even with reduced features, uses considerably a lot of the user's system resources (cpu, RAM) and involves considerably a lot of coding in the source code (security management, memory management, various code branchings sometimes quite complex, window frame/chrome/toolbars building, window positioning and sizing, etc.). Opening new tabs is less demanding on the user's system resources (and faster to achieve) than opening new windows.</li>
+</ul>
+
+<h4 id="Offer_to_open_a_link_in_a_new_window.2C_using_these_guidelines" name="Offer_to_open_a_link_in_a_new_window.2C_using_these_guidelines">Offer to open a link in a new window, using these guidelines</h4>
+
+<p>If you want to offer to open a link in a new window, then follow tested and recommendable usability and accessibility guidelines:</p>
+
+<h5 id="Never_use_this_form_of_code_for_links:.3Ca_href.3D.22javascript:window.open.28....29.22_....3E" name="Never_use_this_form_of_code_for_links:.3Ca_href.3D.22javascript:window.open.28....29.22_....3E"><em>Never</em> use this form of code for links:<br>
+ <code>&lt;a href="javascript:window.open(...)" ...&gt;</code></h5>
+
+<p>"javascript:" links break accessibility and usability of webpages in every browser.</p>
+
+<ul>
+ <li>"javascript:" pseudo-links become dysfunctional when javascript support is disabled or inexistent. Several corporations allow their employees to surf on the web but under strict security policies: no javascript enabled, no java, no activeX, no Flash. For various reasons (security, public access, text browsers, etc..), about 8% to 12% of users on the web surf with javascript disabled.</li>
+ <li>"javascript:" links will interfere with advanced features in tab-capable browsers: eg. middle-click on links, Ctrl+click on links, tab-browsing features in extensions, etc.</li>
+ <li>"javascript:" links will interfere with the process of indexing webpages by search engines.</li>
+ <li>"javascript:" links interfere with assistive technologies and several web-aware applications (e.g. PDA (Personal Digital Assistant).</li>
+ <li>"javascript:" links also interfere with "mouse gestures" features implemented in browsers.</li>
+ <li>Protocol scheme "javascript:" will be reported as an error by link validators and link checkers.</li>
+</ul>
+
+<p><strong>Further reading:</strong></p>
+
+<ul>
+ <li><a class="external" href="http://www.useit.com/alertbox/20021223.html">Top Ten Web-Design Mistakes of 2002</a>, 6. JavaScript in Links, Jakob Nielsen, December 2002</li>
+ <li><a class="external" href="http://www.evolt.org/article/Links_and_JavaScript_Living_Together_in_Harmony/17/20938/">Links &amp; JavaScript Living Together in Harmony</a>, Jeff Howden, February 2002</li>
+ <li><a class="external" href="http://jibbering.com/faq/#FAQ4_24">comp.lang.javascript newsgroup discussion FAQ on "javascript:" links</a></li>
+</ul>
+
+<h5 id="Nigdy_nie_u.C5.BCywaj_.3Ca_href.3D.22.23.22_onclick.3D.22window.open.28....29.3B.22.3E" name="Nigdy_nie_u.C5.BCywaj_.3Ca_href.3D.22.23.22_onclick.3D.22window.open.28....29.3B.22.3E">Nigdy nie używaj <code>&lt;a href="#" onclick="window.open(...);"&gt;</code></h5>
+
+<p>Takie pseudo-linki ograniczają dostępność stron. <strong>Zawsze używaj rzeczywistych URLi jako wartości atrybutu href</strong> tak by w przypadku braku obsługi javascriptu lub gdy przeglądarka nie obsługuje otwierania odrębnych okien (jak w przypadku MS-Web TV, przeglądarek tekstowych, itp.), przeglądarka miała możliwość dostępu do zasobu zgodnie z domyślnym sposobem obsługi zasobów. Tak sformułowane linki kolidują także z dodatkowymi funkcjami przeglądarek obsługujących zakładki, np.: kliknięcie linku środkowym klawiszem myszy, kliknięcie linku z przytrzymanym klawiszem ctrl, naciśnięcie kombinacji ctrl+enter czy gesty myszą.</p>
+
+<h5 id="Always_identify_links_which_will_create_.28or_will_re-use.29_a_new.2C_secondary_window" name="Always_identify_links_which_will_create_.28or_will_re-use.29_a_new.2C_secondary_window">Always identify links which will create (or will re-use) a new, secondary window</h5>
+
+<p>Identify links that will open new windows in a way that helps navigation for users by coding the title attribute of the link, by adding an icon at the end of the link or by coding the cursor accordingly.</p>
+
+<p>The purpose is to warn users in advance of context changes to minimize confusion on the user's part: changing the current window or popping up new windows can be very disorienting to users (Back toolbar button is disabled).</p>
+
+<blockquote>
+<p>"Users often don't notice that a new window has opened, especially if they are using a small monitor where the windows are maximized to fill up the screen. So a user who tries to return to the origin will be confused by a grayed out <em>Back</em> button."<br>
+ quote from <a class="external" href="http://www.useit.com/alertbox/990530.html">The Top Ten <em>New</em> Mistakes of Web Design</a>: 2. Opening New Browser Windows, Jakob Nielsen, May 1999</p>
+</blockquote>
+
+<p>When extreme changes in context are explicitly identified before they occur, then the users can determine if they wish to proceed or so they can be prepared for the change: not only they will not be confused or feel disoriented, but more experienced users can better decide how to open such links (in a new window or not, in the same window, in a new tab or not, in "background" or not).</p>
+
+<p><strong>References</strong></p>
+
+<ul>
+ <li>"If your link spawns a new window, or causes another windows to 'pop up' on your display, or move the focus of the system to a new FRAME or Window, then the nice thing to do is to tell the user that something like that will happen." <a class="external" href="http://www.w3.org/WAI/wcag-curric/sam77-0.htm">World Wide Web Consortium Accessibility Initiative regarding popups</a></li>
+ <li>"Use link titles to provide users with a preview of where each link will take them, before they have clicked on it." <a class="external" href="http://www.useit.com/alertbox/991003.html">Ten Good Deeds in Web Design</a>, Jakob Nielsen, October 1999</li>
+ <li><a class="external" href="http://www.useit.com/alertbox/980111.html">Using Link Titles to Help Users Predict Where They Are Going</a>, Jakob Nielsen, January 1998</li>
+</ul>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td class="header" colspan="4">Przykład ikon &amp; kursorów "Nowego okna"</td>
+ </tr>
+ <tr>
+ <td style="width: 25%;"><img alt="New window icon from yahoo.com"></td>
+ <td style="width: 25%;"><img alt="New window icon from microsoft.com" class="internal" src="/@api/deki/files/2463/=NewwinMSIE.gif"></td>
+ <td style="width: 25%;"><img alt="New window icon from webaim.org" class="internal" src="/@api/deki/files/2339/=Popup_requested_new_window.gif"></td>
+ <td style="width: 25%;"><img alt="New window icon from sun.com" class="internal" src="/@api/deki/files/2476/=PopupImageSun.gif"></td>
+ </tr>
+ <tr>
+ <td><img alt="New window icon from bbc.co.uk" class="internal" src="/@api/deki/files/2469/=Opennews_rb.gif"></td>
+ <td><img alt="New window icon from Accessible Internet Solutions" class="internal" src="/@api/deki/files/2205/=AIS_NewWindowIcon.png"></td>
+ <td><img alt="New window icon from accessify.com" class="internal" src="/@api/deki/files/2474/=Pop-up-launcher.gif"></td>
+ <td><img alt="New window icon from webstyleguide.com" class="internal" src="/@api/deki/files/2347/=Webstyleguide_com_newwind.gif"></td>
+ </tr>
+ <tr>
+ <td><img alt="New window icon from an unknown source" class="internal" src="/@api/deki/files/2475/=Popicon_1.gif"></td>
+ <td><img alt="New window icon from an unknown source" class="internal" src="/@api/deki/files/2462/=New.gif"></td>
+ <td><img alt="New window icon from an unknown source" class="internal" src="/@api/deki/files/2348/=WillCreateOrRecycleNewWindow.gif"></td>
+ <td><img alt="New window icon from gtalbot.org" class="internal" src="/@api/deki/files/2336/=OpenRequestedPopup.png"></td>
+ </tr>
+ <tr>
+ <td colspan="2"><img alt="New window cursor from draig.de" class="internal" src="/@api/deki/files/2300/=Cursor_LinkNewWindowTargetBlank.png"></td>
+ <td colspan="2"><img alt="New window cursor from mithgol.ru" class="internal" src="/@api/deki/files/2301/=Cursor_newwindowSergeySokoloff.png"></td>
+ </tr>
+ </tbody>
+</table>
+
+<h5 id="Always_use_the_target_attribute" name="Always_use_the_target_attribute">Always use the target attribute</h5>
+
+<p>If javascript support is disabled or non-existent, then the user agent will create a secondary window accordingly or will render the referenced resource according to its handling of the target attribute: e.g. some user agents which can not create new windows, like MS Web TV, will fetch the referenced resource and append it at the end of the current document. The goal and the idea is to try to provide - <strong>not impose</strong> - to the user a way to open the referenced resource, a mode of opening the link. Your code should not interfere with the features of the browser at the disposal of the user and your code should not interfere with the final decision resting with the user.</p>
+
+<h5 id="Do_not_use_target.3D.22_blank.22" name="Do_not_use_target.3D.22_blank.22">Do not use <code>target="_blank"</code></h5>
+
+<p>Always provide a meaningful name to your target attribute and try to reuse such target attribute in your page so that a click on another link may load the referenced resource in an already created and rendered window (therefore speeding up the process for the user) and therefore justifying the reason (and user system resources, time spent) for creating a secondary window in the first place. Using a single target attribute value and reusing it in links is much more user resources friendly as it only creates one single secondary window which is recycled. On the other hand, using "_blank" as the target attribute value will create several new and unnamed windows on the user's desktop which can not be recycled, reused. In any case, if your code is well done, it will not interfere with the user's final choice but will rather merely offer him more choices, more ways to open links and more power to the tool he's using (a browser).</p>
+
+<h3 id="Glossary" name="Glossary">Glossary</h3>
+
+<dl>
+ <dt>Opener window, parent window, main window, first window </dt>
+ <dd>Terms often used to describe or to identify the same window. It is the window from which a new window will be created. It is the window on which the user clicked a link which lead to the creation of another, new window.</dd>
+</dl>
+
+<dl>
+ <dt>Sub-window, child window, secondary window, second window </dt>
+ <dd>Terms often used to describe or to identify the same window. It is the new window which was created.</dd>
+</dl>
+
+<dl>
+ <dt>Unrequested popup windows</dt>
+ <dd>Script-initiated windows opening automatically without the user's consent.</dd>
+</dl>
+
+<h3 id="Specification" name="Specification">Specification</h3>
+
+<p>DOM Level 0. window.open() is not part of any W3C (World Wide Web Consortium) specification or technical recommendation.</p>
+
+<h3 id="Notes" name="Notes">Notes</h3>
+
+<h4 id="Note_on_precedence" name="Note_on_precedence">Note on precedence</h4>
+
+<p>In cases where <code>left</code> and <code>screenX</code> (and/or <code>top</code> and <code>screenY</code>) have conflicting values, then <code>left</code> and <code>top</code> have precedence over <code>screenX</code> and <code>screenY</code> respectively. If <code>left</code> and <code>screenX</code> (and/or <code>top</code> and <code>screenY</code>) are defined in the <var>strWindowFeatures</var> list, then <code>left</code> (and/or <code>top</code>) will be honored and rendered. In the following example the new window will be positioned at 100 pixels from the left side of the work area for applications of the user's operating system, not at 200 pixels.</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+WindowObjectReference = window.open("http://news.bbc.co.uk/",
+ "BBCWorldNewsWindowName",
+ "left=100,screenX=200,resizable,scrollbars,status");
+&lt;/script&gt;
+</pre>
+
+<p>If left is set but top has no value and screenY has a value, then left and screenY will be the coordinate positioning values of the secondary window.</p>
+
+<p>outerWidth has precedence over width and width has precedence over innerWidth. outerHeight has precedence over height and height has precedence over innerHeight. In the following example, Mozilla-browsers will create a new window with an outerWidth of 600 pixels wide and will ignore the request of a width of 500 pixels and will also ignore the request of an innerWidth of 400 pixels.</p>
+
+<pre>&lt;script type="text/javascript"&gt;
+WindowObjectReference = window.open("http://www.wwf.org/",
+ "WWildlifeOrgWindowName",
+ "outerWidth=600,width=500,innerWidth=400,resizable,scrollbars,status");
+&lt;/script&gt;
+</pre>
+
+<h4 id="Note_on_position_and_dimension_error_correction" name="Note_on_position_and_dimension_error_correction">Note on position and dimension error correction</h4>
+
+<p>Requested position and requested dimension values in the <var>strWindowFeatures</var> list will not be honored and <strong>will be corrected</strong> if any of such requested value does not allow the entire browser window to be rendered within the work area for applications of the user's operating system. <strong>No part of the new window can be initially positioned offscreen. This is by default in all Mozilla-based browser releases.</strong></p>
+
+<p><a class="external" href="http://msdn.microsoft.com/security/productinfo/xpsp2/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp#xpsp_topic5">MSIE 6 SP2 has a similar error correction mechanism</a> but it is not activated by default in all security levels: a security setting can disable such error correction mechanism.</p>
+
+<h4 id="Note_on_scrollbars" name="Note_on_scrollbars">Note on scrollbars</h4>
+
+<p>When content overflows window viewport dimensions, then scrollbar(s) (or some scrolling mechanism) are necessary to ensure that content can be accessed by users. Content can overflow window dimensions for several reasons which are outside the control of web authors:</p>
+
+<ul>
+ <li>user resizes the window</li>
+ <li>user increases the text size of fonts via View/Text Zoom (%) menuitem in Mozilla or View/Text Size/Increase or Decrease in Firefox</li>
+ <li>user sets a minimum font size for pages which is bigger than the font-size the web author requested. People over 40 years old or with particular viewing habit or reading preference often set a minimal font size in Mozilla-based browsers.</li>
+ <li>web author is not aware of default margin (and/or border and/or padding) values applying to root element or body node in various browsers and various browser versions</li>
+ <li>user uses an user stylesheet (<a class="external" href="http://www.mozilla.org/support/firefox/edit#content">userContent.css in Mozilla-based browsers</a>) for his viewing habits which increases document box dimensions (margin, padding, default font size)</li>
+ <li>user can customize individually the size (height or width) of most toolbars via operating system settings. E.g. window resizing borders, height of browser titlebar, menubar, scrollbars, font size are entirely customizable by the user in Windows XP operating system. These toolbars dimensions can also be set via browser themes and skins or by operating system themes</li>
+ <li>web author is unaware that the user default browser window has custom toolbar(s) for specific purpose(s); e.g.: prefs bar, web developer bar, accessibility toolbar, popup blocking and search toolbar, multi-feature toolbar, etc.</li>
+ <li>user uses assistive technologies or add-on features which modify the operating system's work area for applications: e.g. MS-Magnifier</li>
+ <li>user repositions and/or resizes directly or indirectly the operating system's work area for applications: e.g. user resizes the Windows taskbar, user positions the Windows taskbar on the left side (arabic language based) or right side (Hebrew language), user has a permanent MS-Office quick launch toolbar, etc.</li>
+ <li>some operating system (Mac OS X) forces presence of toolbars which can then fool the web author's anticipations, calculations of the effective dimensions of the browser window</li>
+</ul>
+
+<h4 id="Note_on_status_bar" name="Note_on_status_bar">Note on status bar</h4>
+
+<p>You should assume that a large majority of users' browsers will have the status bar or that a large majority of users will want to force the status bar presence: best is to always set this feature to yes. Also, if you specifically request to remove the status bar, then Firefox users will not be able to view the Site Navigation toolbar if it is installed. In Mozilla and in Firefox, all windows with a status bar have a window resizing grippy at its right-most side. The status bar also provides info on http connection, hypertext resource location, download progress bar, encryption/secure connection info with SSL (Secure Socket Layer) connection (displaying a yellow padlock icon), internet/security zone icons, privacy policy/cookie icon, etc. <strong>Removing the status bar usually removes a lot of functionality, features and information considered useful (and sometimes vital) by the users.</strong></p>
+
+<h4 id="Note_on_security_issues_of_the_status_bar_presence" name="Note_on_security_issues_of_the_status_bar_presence">Note on security issues of the status bar presence</h4>
+
+<p>In MSIE 6 for XP SP2: For windows opened using window.open():</p>
+
+<blockquote>
+<p>"For windows opened using window.open():<br>
+ Expect the status bar to be present, and code for it. <strong>The status bar will be on by default</strong> and is 20-25 pixels in height. (...)"<br>
+ quote from <a class="external" href="http://msdn.microsoft.com/security/productinfo/xpsp2/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp#xpsp_topic5">Fine-Tune Your Web Site for Windows XP Service Pack 2, Browser Window Restrictions in XP SP2</a></p>
+</blockquote>
+
+<blockquote>
+<p>"(...) windows that are created using the window.open() method can be called by scripts and used to spoof a user interface or desktop or to hide malicious information or activity by sizing the window so that the status bar is not visible.<br>
+ Internet Explorer windows provide visible security information to the user to help them ascertain the source of the Web page and the security of the communication with that page. When these elements are not in view, the user might think they are on a more trusted page or interacting with a system process when they are actually interacting with a malicious host. (...)<br>
+ <strong>Script-initiated windows will be displayed fully, with the Internet Explorer title bar and status bar.</strong> (...)<br>
+ Script management of Internet Explorer status bar<br>
+ Detailed description<br>
+ <strong>Internet Explorer has been modified to not turn off the status bar for any windows. The status bar is always visible for all Internet Explorer windows.</strong> (...) Without this change, windows that are created using the window.open() method can be called by scripts and spoof a user interface or desktop or hide malicious information or activity by hiding important elements of the user interface from the user.<br>
+ The status bar is a security feature of Internet Explorer windows that provides Internet Explorer security zone information to the user. This zone cannot be spoofed (...)"<br>
+ quote from <a class="external" href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#ECAA">Changes to Functionality in Microsoft Windows XP Service Pack 2, Internet Explorer Window Restrictions</a></p>
+</blockquote>
+
+<h4 id="Note_on_fullscreen" name="Note_on_fullscreen">Note on fullscreen</h4>
+
+<p>In MSIE 6 for XP SP2:</p>
+
+<ul>
+ <li>"window.open() with fullscreen=yes will now result in a maximized window, not a kiosk mode window."</li>
+</ul>
+
+<ul>
+ <li>"The definition of the fullscreen=yes specification is changed to mean 'show the window as maximized,' which will keep the title bar, address bar, and status bar visible."</li>
+</ul>
+
+<p><em>References:</em></p>
+
+<ul>
+ <li><a class="external" href="http://msdn.microsoft.com/security/productinfo/xpsp2/default.aspx?pull=/library/en-us/dnwxp/html/xpsp2web.asp#xpsp_topic5">Fine-Tune Your Web Site for Windows XP Service Pack 2</a></li>
+</ul>
+
+<ul>
+ <li><a class="external" href="http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/sp2brows.mspx#ECAA">Changes to Functionality in Microsoft Windows XP Service Pack 2, Script sizing of Internet Explorer windows</a></li>
+</ul>
+
+<h4 id="Note_on_outerHeight_versus_height" name="Note_on_outerHeight_versus_height">Note on outerHeight versus height</h4>
+
+<p><img alt="innerHeight vs outerHeight illustration"></p>
+
+<h2 id="Tutorials" name="Tutorials">Tutorials</h2>
+
+<p><a class="external" href="http://www.infimum.dk/HTML/JSwindows.html">JavaScript windows (tutorial)</a> by Lasse Reichstein Nielsen</p>
+
+<p><a class="external" href="http://www.accessify.com/tutorials/the-perfect-pop-up.asp">The perfect pop-up (tutorial)</a> by Ian Lloyd</p>
+
+<p><a class="external" href="http://www.gtalbot.org/FirefoxSection/Popup/PopupAndFirefox.html">Popup windows and Firefox (interactive demos)</a> by Gérard Talbot</p>
+
+<h2 id="References" name="References">References</h2>
+
+<p><a class="external" href="http://www.cs.tut.fi/~jkorpela/www/links.html">Links Want To Be Links</a> by Jukka K. Korpela</p>
+
+<p><a class="external" href="http://www.evolt.org/article/Links_and_JavaScript_Living_Together_in_Harmony/17/20938/">Links &amp; JavaScript Living Together in Harmony</a> by Jeff Howden</p>
diff --git a/files/pl/web/api/window/opendialog/index.html b/files/pl/web/api/window/opendialog/index.html
new file mode 100644
index 0000000000..6d24bf03fd
--- /dev/null
+++ b/files/pl/web/api/window/opendialog/index.html
@@ -0,0 +1,75 @@
+---
+title: window.openDialog
+slug: Web/API/Window/openDialog
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Strony_wymagające_dopracowania
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/openDialog
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p><code>window.openDialog</code> jest rozszerzeniem do <a href="/pl/DOM/window.open" title="pl/DOM/window.open">window.open</a>. Zachowuje się w taki sam sposób, oprócz tego, że opcjonalnie pobiera jeden lub więcej parametrów przeszłego <code>windowFeatures</code> i <code>windowFeatures</code> <strong>itself is treated a little differently.</strong></p>
+<p>The optional parameters, if present, will be bundled up in a JavaScript Array object and added to the newly created window as a property named <a href="/pl/DOM/window.arguments" title="pl/DOM/window.arguments">window.arguments</a>. They may be referenced in the JavaScript of the window at any time, including during the execution of a <code>load</code> handler. These parameters may be used, then, to pass arguments to and from the dialog window.</p>
+<p>Note that the call to <code>openDialog()</code> returns immediately. If you want the call to block until the user has closed the dialog, supply <code>modal</code> as a <code>windowFeatures</code> parameter. Note that this also means the user won't be able to interact with the opener window until he closes the modal dialog.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><em>newWindow</em> = openDialog(<em>url</em>, <em>name</em>, <em>features</em>, <em>arg1</em>, <em>arg2</em>, ...)
+</pre>
+<dl>
+ <dt>
+ newWindow </dt>
+ <dd>
+ Otwarte okno.</dd>
+ <dt>
+ url </dt>
+ <dd>
+ Adres URL który będzie wczytany do nowego okna.</dd>
+ <dt>
+ name </dt>
+ <dd>
+ Nazwa okna (opcjonalnie). Zobacz opis <a href="/pl/DOM/window.open" title="pl/DOM/window.open">window.open</a>, aby dowiedzieć się więcej.</dd>
+ <dt>
+ features </dt>
+ <dd>
+ Zobacz opis <a href="/pl/DOM/window.open" title="pl/DOM/window.open">window.open</a>, aby dowiedzieć się więcej.</dd>
+ <dt>
+ arg1, arg2, ... </dt>
+ <dd>
+ Argumenty dopasowujące nowe okno (opcjonalnie).</dd>
+</dl>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">var win = openDialog("<span class="nowiki">http://example.tld/zzz.xul</span>", "dlg", "", "pizza", 6.98);
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<h4 id="Nowe_mo.C5.BCliwo.C5.9Bci" name="Nowe_mo.C5.BCliwo.C5.9Bci">Nowe możliwości</h4>
+<p><code>all</code> - Initially activates (or deactivates <code>("all=no")</code>) all chrome (except the behaviour flags <code>chrome</code>, <code>dialog</code> and <code>modal</code>). These can be overridden (so <code>"menubar=no,all"</code> turns on all chrome except the menubar.) This feature is explicitly ignored by <a href="/pl/DOM/window.open" title="pl/DOM/window.open">DOM:window.open</a>. <code>window.openDialog</code> finds it useful because of its different default assumptions.</p>
+<h4 id="Domy.C5.9Blne_zachowanie" name="Domy.C5.9Blne_zachowanie">Domyślne zachowanie</h4>
+<p>Możliwości <code>chrome</code> i <code>dialog</code> są zawsze assumed on, unless explicitly turned off ("<code>chrome=no</code>"). <code>openDialog</code> treats the absence of the features parameter as does <a href="/pl/DOM/window.open" title="pl/DOM/window.open">DOM:window.open</a>, (that is, an empty string sets all features to off) except <code>chrome</code> and <code>dialog</code>, which default to on. If the <code>features</code> parameter is a zero-length string, or contains only one or more of the behaviour features (<code>chrome</code>, <code>dependent</code>, <code>dialog</code> and <code>modal</code>) the chrome features are assumed "OS' choice." That is, window creation code is not given specific instructions, but is instead allowed to select the chrome that best fits a dialog on that operating system.</p>
+<h4 id="Passing_extra_parameters_to_the_dialog" name="Passing_extra_parameters_to_the_dialog">Passing extra parameters to the dialog</h4>
+<p>To pass extra parameters into the dialog, you can simply supply them after the <code>windowFeatures</code> parameter:</p>
+<pre class="eval">openDialog("<span class="nowiki">http://example.tld/zzz.xul</span>", "dlg", "", "pizza", 6.98);
+</pre>
+<p>The extra parameters will then get packed into a property named <code>arguments</code> of type <a href="/pl/Core_JavaScript_1.5_Reference/Global_Objects/Array" title="pl/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a>, and this property gets added to the newly opened dialog window.</p>
+<p>To access these extra parameters from within dialog code, use the following scheme:</p>
+<pre class="eval">var food = window.arguments[0];
+var price = window.arguments[1];
+</pre>
+<p>Note that you can access this property from within anywhere in the dialog code.</p>
+<h4 id="Zwracanie_warto.C5.9Bci_z_okienka_dialogowego" name="Zwracanie_warto.C5.9Bci_z_okienka_dialogowego">Zwracanie wartości z okienka dialogowego</h4>
+<p>Since <code>window.close()</code> erases all properties associated with the dialog window (i.e. the variables specified in the JavaScript code which gets loaded from the dialog), it is not possible to pass return values back past the close operation using globals (or any other constructs).</p>
+<p>To be able to pass values back to the caller, you have to supply some object via the extra parameters. You can then access this object from within the dialog code and set properties on it, containing the values you want to return or preserve past the <code>window.close()</code> operation.</p>
+<pre class="eval">var retVals = { address: null, delivery: null };
+openDialog("<span class="nowiki">http://example.tld/zzz.xul</span>", "dlg", "modal", "pizza", 6.98, retVals);
+</pre>
+<p>If you set the properties of the <code>retVals</code> object in the dialog code as described below, you can now access them via the <code>retVals</code> array after the <code>openDialog()</code> call returns.</p>
+<p>Inside the dialog code, you can set the properties as follows:</p>
+<pre class="eval">var retVals = window.arguments[2];
+retVals.address = enteredAddress;
+retVals.delivery = "immediate";
+</pre>
+<p>Zobacz także .</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
diff --git a/files/pl/web/api/window/opener/index.html b/files/pl/web/api/window/opener/index.html
new file mode 100644
index 0000000000..3cd744928e
--- /dev/null
+++ b/files/pl/web/api/window/opener/index.html
@@ -0,0 +1,49 @@
+---
+title: window.opener
+slug: Web/API/Window/opener
+tags:
+ - API
+ - HTML DOM
+ - Window
+ - Własność
+ - odniesienie
+ - opener
+translation_of: Web/API/Window/opener
+---
+<p>{{APIRef("HTML DOM")}}</p>
+
+<h2 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h2>
+
+<p>Właściwość <code>opener</code> obiektu {{domxref ("Window")}} zwraca odniesienie do okna, które otworzyło okno używając {{domxref ("Window.open", "open()")}}.</p>
+
+<p><span class="tlid-translation translation"><span title="">Innymi słowy, jeśli okno <code>A</code> otwiera okno <code>B</code>, <code>B.opener</code> zwraca <code>A</code>.</span></span></p>
+
+<h2 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h2>
+
+<pre class="eval"><em>openerWindow</em> = window.opener;
+</pre>
+
+<h3 id="Wartość">Wartość</h3>
+
+<p>{{domxref ("Window")}} odnosi się do okna, które wywołało open(), aby otworzyć bieżące okno, lub <code>null</code>, jeśli to okno nie zostało otwarte przez połączenie z innym lub utworzone przez inne.</p>
+
+<p><span class="tlid-translation translation"><span title="">W <a href="https://caniuse.com/#search=noopener">niektórych przeglądarkach</a> atrybut <code>rel="noopener noreferrer"</code> w początkowym elemencie {{HTMLElement ("a")}} zapobiega ustawianiu referencji <strong><code>window.opener</code></strong>, w którym to przypadku ta właściwość zwróci wartość <code>null</code>.</span></span></p>
+
+<h2 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h2>
+
+<pre> if window.opener != indexWin {
+ referToTop(window.opener);
+ }
+</pre>
+
+<h2 id="Uwagi" name="Uwagi">Uwagi</h2>
+
+<p>Kiedy okno jest otwarte z innego okna, to utrzymuje referencję do pierwszego okna jako <strong>window.opener</strong>. Jeśli bieżące okno nie posiada własności opener, te metoda zwróci NULL.</p>
+
+<h2 id="Specyfikacja" name="Specyfikacja">Wsparcie przeglądarek</h2>
+
+<div class="hidden">
+<p><span class="tlid-translation translation"><span title="">Tabela zgodności na tej stronie jest generowana na podstawie danych strukturalnych.</span> <span title="">Jeśli chcesz przyczynić się do danych, sprawdź <a href="/pl/docs/">https://github.com/mdn/browser-compat-data</a> i wyślij nam pull request'a.</span></span></p>
+</div>
+
+<p>{{Compat("api.Window.opener")}}</p>
diff --git a/files/pl/web/api/window/prompt/index.html b/files/pl/web/api/window/prompt/index.html
new file mode 100644
index 0000000000..0a90ac5c2e
--- /dev/null
+++ b/files/pl/web/api/window/prompt/index.html
@@ -0,0 +1,33 @@
+---
+title: window.prompt
+slug: Web/API/Window/prompt
+translation_of: Web/API/Window/prompt
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Wyświetla okno dialogowe z prośbą do użytkownika o wpisanie jakiegoś tekstu.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>result</i> = window.prompt(<i>text</i>,<i>value</i>);
+</pre>
+<ul>
+ <li><code>result</code> jest łańcuchem znaków, który zawiera tekst wprowadzony przez użytkownika lub wartość null.</li>
+ <li><code>text</code> jest łańcuchem znaków określającym tekst, jaki ma zostać wyświetlony użytkownikowi.</li>
+ <li><code>value</code> jest łańcuchem znaków zawierającym domyślną wartość w polu wprowadzania tekstu (input). Jest to opcjonalny parametr.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">var sign = prompt("Jaki jest twój znak zodiaku?");
+if (sign.toLowerCase() == "skorpion")
+ alert("Wow! Też jestem Skorpionem!");
+</pre>
+<p>Gdy użytkownik naciśnie przycisk OK, zwracany jest wpisany przez niego tekst. Jeśli użytkownik naciśnie przycisk OK bez wprowadzania tekstu, zwrócony zostanie pusty łańcuch znaków. Jeśli użytkownik naciśnie przycisk Anuluj, ta funkcja zwróci wartość null.</p>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Okno dialogowe typu prompt zawiera pole tekstowe o wielkości pojedynczej linii, przycisk Anuluj i przycisk OK oraz zwraca tekst (możliwy również pusty), które użytkownik wpisał w to pole tekstowe.</p>
+<p><span class="comment">The following text is shared between this article, DOM:window.confirm and DOM:window.alert</span> Okna dialogowe to okna modalne - uniemożliwiają użytkownikowi dostęp do reszty interfejsu programu dopóki okno nie zostanie zamknięte. Z tego powodu nie powinieneś nadużywać funkcji, które otwierają okna dialogowe.</p>
+<p>Zamiast tego użytkownicy Chrome (na przykład rozszerzenia) powinni używać metod <a href="https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIPromptService">nsIPromptService</a>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<h3 id="Zobacz_tak.C5.BCe" name="Zobacz_tak.C5.BCe">Zobacz także</h3>
+<p><a href="pl/DOM/window.alert">alert</a>, <a href="pl/DOM/window.confirm">confirm</a></p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.prompt", "fr": "fr/DOM/window.prompt", "ja": "ja/DOM/window.prompt" } ) }}</p>
diff --git a/files/pl/web/api/window/requestanimationframe/index.html b/files/pl/web/api/window/requestanimationframe/index.html
new file mode 100644
index 0000000000..703a908e8d
--- /dev/null
+++ b/files/pl/web/api/window/requestanimationframe/index.html
@@ -0,0 +1,170 @@
+---
+title: Window.requestAnimationFrame()
+slug: Web/API/Window/requestAnimationFrame
+tags:
+ - API
+ - DOM
+ - Metodă
+translation_of: Web/API/window/requestAnimationFrame
+---
+<p>{{APIRef}}<br>
+ Metoda <strong><code>Window.requestAnimationFrame()</code></strong> informuje przeglądarkę o zamiarze wykonania animacji i żąda od przeglądarki wywołania określonej funkcji w celu odświeżenia animacji przed następnym odmalowaniem. Argumentem metody jest funkcja (<em>callback</em>) do wywołania przed następnym odmalowaniem (odświeżeniem kanwy).</p>
+
+<div class="note"><strong>Uwaga:</strong> Twoja funkcja musi samodzielnie wywołać <code>requestAnimationFrame(),</code> jeżeli chcesz odmalować kolejną ramkę animacji.</div>
+
+<p>Należy wywołać tą metodą za każdym razem, gdy jesteś gotowy do odświeżenia swojej animacji na ekranie. Spowoduje to żądanie od przeglądarki wykonania twojej funkcji przed następnym odmalowaniem. Częstotliwość wykonywania funkcji wynosi zazwyczaj 60 razy na sekundę, jednakże według rekomendacji W3C w większości przeglądarek odpowiada częstotliwości odświeżania ekranu. Ta częstotliwość może zostać zredukowana do niższej wartości, gdy kod wykonywany jest w zakładce pozostającej w tle lub w ukrytej {{ HTMLElement("iframe") }} w celu poprawienia wydajności lub przedłużenia żywotności baterii.</p>
+
+<p>Wywoływanej funkcji przekazywany jest pojedynczy argument {{domxref("DOMHighResTimeStamp")}}, który zawiera aktualny czas rozpoczęcia wykonywania tej funkcji, wstawionej do kolejki przez wywołanie <code>requestAnimationFrame</code>. Wiele różnych funkcji wywołanych w jednej ramce otrzyma jednakże tę samą wartość znacznika czasu, niezależnie od czasu spędzonego wykonaniu obliczeń w poprzedzającej funkcji. Znacznik czasu jest liczbą dziesiętną wyrażoną w milisekundach z maksymalną dokładnością 1ms (1000 µs).</p>
+
+<h2 id="Syntax" name="Syntax">Składnia</h2>
+
+<pre class="syntaxbox">window.requestAnimationFrame(callback);
+</pre>
+
+<h3 id="Parameters" name="Parameters">Parametry</h3>
+
+<dl>
+ <dt><code>callback</code></dt>
+ <dd>Parametr określający funkcję do wywołania, gdy nadchodzi czas odświeżenia animacji przed następnym odmalowaniem. Przekazywana funkcja przyjmuje pojedynczy argument {{domxref("DOMHighResTimeStamp")}}, który określa aktualny czas (zwrócony przez {{domxref('Performance.now()')}} ) w momencie rozpoczęcia przez <code>requestAnimationFrame</code> uruchamiania skolejkowanych wcześniej funkcji.</dd>
+</dl>
+
+<h3 id="Wartość_zwracana">Wartość zwracana</h3>
+
+<p>Wartość typu <code>long</code> integer będącą identyfikatorem żądania, który unikalnie określa pozycję na liście funkcji do wykonania. Jest to niezerowa wartość, jednakże nie wolno przyjmować żadnych innych założeń dotyczących wartości tego identyfikatora. Możesz przekazać tę wartość do {{domxref("Window.cancelAnimationFrame()")}} aby anulować żądanie wywołania funkcji do odświeżenia.</p>
+
+<h2 id="Notes" name="Notes">Przykład</h2>
+
+<pre class="brush: js">var start = null;
+var element = document.getElementById("SomeElementYouWantToAnimate");
+
+function step(timestamp) {
+ if (!start) start = timestamp;
+ var progress = timestamp - start;
+ element.style.left = Math.min(progress/10, 200) + "px";
+ if (progress &lt; 2000) {
+ window.requestAnimationFrame(step);
+ }
+}
+
+window.requestAnimationFrame(step);
+</pre>
+
+<h2 id="Specification" name="Specification">Specyfikacja</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Specyfikacja</th>
+ <th scope="col">Status</th>
+ <th scope="col">Komentarz</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', '#animation-frames', 'requestAnimationFrame')}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>Brak zmian, zastępuje poprzednią.</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('RequestAnimationFrame', '#dom-windowanimationtiming-requestanimationframe', 'requestAnimationFrame')}}</td>
+ <td>{{Spec2('RequestAnimationFrame')}}</td>
+ <td>Wstępna definicja</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Zgodność_przeglądarek">Zgodność przeglądarek</h2>
+
+<div>{{CompatibilityTable}}</div>
+
+<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 (WebKit)</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>10.0 {{property_prefix("webkit")}}<br>
+ 24.0 <sup>3</sup></td>
+ <td>4.0 {{property_prefix("moz")}} <sup>1 4</sup><br>
+ 23 <sup>2</sup></td>
+ <td>10.0</td>
+ <td>{{compatversionunknown}} {{property_prefix("-o")}}<br>
+ 15.0</td>
+ <td>6.0 {{property_prefix("webkit")}}<br>
+ 6.1</td>
+ </tr>
+ <tr>
+ <td>return value</td>
+ <td>23.0</td>
+ <td>{{CompatGeckoDesktop("11.0")}}</td>
+ <td>10.0</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 Phone</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>4.4</td>
+ <td>16.0 {{property_prefix("webkit")}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>14.0</td>
+ <td>7.0<br>
+ 6.0 {{property_prefix("webkit")}}</td>
+ </tr>
+ <tr>
+ <td><code>requestID</code> return value</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatGeckoMobile("11.0")}} {{property_prefix("moz")}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ <td>{{CompatUnknown}}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<p><sup>1</sup> Przed Gecko 11.0 {{geckoRelease("11.0")}}, <code>mozRequestAnimationFrame()</code> mogłobyć wywołane bez parametru. To nie jest dalej wspierane, gdyż raczej nie stanie się częścią standardu.</p>
+
+<p><sup>2</sup> Parametrem wywoływanej funkcji jest {{domxref("DOMTimeStamp")}} zamiast {{domxref("DOMHighResTimeStamp")}} gdy stosuje się metodę z prefiksem. <code>DOMTimeStamp</code> ma dokładność tylko do milisekundy, podczas gdy <code>DOMHighResTimeStamp</code> ma minimalną dokładność dziesięciu mikrosekund. Co więcej, czas zerowy jest inny: <code>DOMHighResTimeStamp</code> ma taki sam czas zerowy jak <code>performance.now()</code>, lecz <code>DOMTimeStamp</code> ma czas zerowy jak <code>Date.now().</code></p>
+
+<p><sup>3</sup> Poprawnym wywołaniem anulowania żądania w Chrome jest aktualnie <code>window.cancelAnimationFrame()</code>. W starszych wersjach <code>window.webkitCancelAnimationFrame()</code> &amp; <code>window.webkitCancelRequestAnimationFrame()</code>, które są przestarzałe, ale ciągle wspierane.</p>
+
+<p><sup>4</sup> Wsparcie dla wersji z prefiksem zostało usunięte z Firefox 42.</p>
+
+<h2 id="Specification" name="Specification">Zobacz również</h2>
+
+<ul>
+ <li>{{domxref("Window.mozAnimationStartTime")}}</li>
+ <li>{{domxref("Window.cancelAnimationFrame()")}}</li>
+ <li><a href="http://weblogs.mozillazine.org/roc/archives/2010/08/mozrequestanima.html">mozRequestAnimationFrame</a> - Blog post</li>
+ <li><a href="http://paulirish.com/2011/requestanimationframe-for-smart-animating/">requestAnimationFrame for smart animating</a> - Blog post</li>
+ <li><a href="http://hacks.mozilla.org/2011/08/animating-with-javascript-from-setinterval-to-requestanimationframe/">Animating with javascript: from setInterval to requestAnimationFrame</a> - Blog post</li>
+ <li><a href="http://blogs.msdn.com/b/ie/archive/2011/07/05/using-pc-hardware-more-efficiently-in-html5-new-web-performance-apis-part-1.aspx">Using PC Hardware more efficiently in HTML5: New Web Performance APIs, Part 1</a> - Blog post</li>
+ <li><a href="http://www.testufo.com/#test=animation-time-graph" title="http://www.testufo.com/#test=animation-time-graph">TestUFO: Test your web browser for requestAnimationFrame() Timing Deviations</a></li>
+ <li>Paul Irish:  <a class="external external-icon" href="http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/" title="http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/">requestAnimationFrame for Smart Animating</a></li>
+ <li>Paul Irish: <a class="external external-icon" href="http://updates.html5rocks.com/2012/05/requestAnimationFrame-API-now-with-sub-millisecond-precision">requestAnimationFrame API: now with sub-millisecond precision</a></li>
+</ul>
diff --git a/files/pl/web/api/window/resizeby/index.html b/files/pl/web/api/window/resizeby/index.html
new file mode 100644
index 0000000000..df817ea665
--- /dev/null
+++ b/files/pl/web/api/window/resizeby/index.html
@@ -0,0 +1,32 @@
+---
+title: window.resizeBy
+slug: Web/API/Window/resizeBy
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/resizeBy
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zmienia rozmiar okna o pewną wartość.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.resizeBy(<i>xDelta</i>,<i>yDelta</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>xDelta</code> jest liczbą pikseli o jaką ma wzrosnąć okno w poziomie.</li>
+ <li><code>yDelta</code> jest liczbą pikseli o jaką ma wzrosnąć okno w pionie.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>// Spowoduje zmniejszenie się okna
+window.resizeBy(-200, -200);
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Ta metoda zmienia rozmiar okna relatywnie do jego obecnego rozmiaru. Aby zmienić rozmiar okna bezwzględnie zastosuj <a href="pl/DOM/window.resizeTo">DOM:window.resizeTo</a>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.resizeBy", "ja": "ja/DOM/window.resizeBy" } ) }}</p>
diff --git a/files/pl/web/api/window/resizeto/index.html b/files/pl/web/api/window/resizeto/index.html
new file mode 100644
index 0000000000..532b561993
--- /dev/null
+++ b/files/pl/web/api/window/resizeto/index.html
@@ -0,0 +1,36 @@
+---
+title: window.resizeTo
+slug: Web/API/Window/resizeTo
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/resizeTo
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Dynamicznie zmienia rozmiar okna.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.resizeTo(<i>iWidth</i>,<i>iHeight</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>iWidth</code> jest liczbą całkowitą reprezentującą nową szerokość wyrażoną w pikselach.</li>
+ <li><code>iHeight</code> jest liczbą całkowitą wartości reprezentującej nową wyskość w pikselach.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre> // funkcja zmienia rozmiar okna do połowy aktualnie
+ // wyświetlanego ekranu
+ function halve() {
+ window.resizeTo(window.screen.availWidth/2,
+ window.screen.availHeight/2);
+ }
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Zobacz także <a href="pl/DOM/window.resizeBy">DOM:window.resizeBy</a>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.resizeTo", "ja": "ja/DOM/window.resizeTo" } ) }}</p>
diff --git a/files/pl/web/api/window/scroll/index.html b/files/pl/web/api/window/scroll/index.html
new file mode 100644
index 0000000000..3aeacc5f9a
--- /dev/null
+++ b/files/pl/web/api/window/scroll/index.html
@@ -0,0 +1,33 @@
+---
+title: window.scroll
+slug: Web/API/Window/scroll
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/scroll
+---
+<p> </p>
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Przesuwa się do danych koordynatów w dokumencie.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.scroll(<i>x-coord</i>,<i>y-coord</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>x-coord</code> jest pikselem wzdłuż poziomej osi dokumentu do wyświetlenia, w jego lewym górnym rogu.</li>
+ <li><code>y-coord</code> jest pikselem wzdłuż pionowej osi dokumentu do wyświetlenia, w jego lewym górnym rogu.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre> // przenieś 100-ny piksel poziomy na górę okna
+ &lt;button onClick="scroll(0, 100);"&gt;kliknij, by przesunąć się o 100 pikseli w dół &lt;/button&gt;
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Powyższa funkcja jest tym co funkcja <code><a href="pl/DOM/window.scrollTo">window.scrollTo</a></code>. Dla przesuwu względnego zobacz <code><a href="pl/DOM/window.scrollBy">window.scrollBy</a>, <a href="pl/DOM/window.scrollByLines">window.scrollByLines</a></code> oraz <code><a href="pl/DOM/window.scrollByPages">window.scrollByPages</a></code>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.scroll", "ja": "ja/DOM/window.scroll" } ) }}</p>
diff --git a/files/pl/web/api/window/scrollbylines/index.html b/files/pl/web/api/window/scrollbylines/index.html
new file mode 100644
index 0000000000..329171c9c7
--- /dev/null
+++ b/files/pl/web/api/window/scrollbylines/index.html
@@ -0,0 +1,35 @@
+---
+title: window.scrollByLines
+slug: Web/API/Window/scrollByLines
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/scrollByLines
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Przewija dokument przez daną liczbę linii.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.scrollByLines(<i>lines</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>lines</code> jest liczbą linii do przewinięcia w dokumencie.</li>
+ <li><code>lines</code> może być liczbą całkowitą dodatnią lub ujemną.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre class="eval">// przewija w dół o 5 linii w dokumencie.
+&lt;button onclick="scrollByLines(5);"&gt;down 5 lines&lt;/button&gt;
+</pre>
+<pre class="eval">// przewija w górę o 5 linii w dokumencie.
+&lt;button onclick="scrollByLines(-5);"&gt;up 5 lines&lt;/button&gt;
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Zobacz także <code><a href="pl/DOM/window.scrollBy">window.scrollBy</a>, <a href="pl/DOM/window.scrollByPages">window.scrollByPages</a></code>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.scrollByLines", "ja": "ja/DOM/window.scrollByLines" } ) }}</p>
diff --git a/files/pl/web/api/window/scrollbypages/index.html b/files/pl/web/api/window/scrollbypages/index.html
new file mode 100644
index 0000000000..99548bf52c
--- /dev/null
+++ b/files/pl/web/api/window/scrollbypages/index.html
@@ -0,0 +1,35 @@
+---
+title: window.scrollByPages
+slug: Web/API/Window/scrollByPages
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/scrollByPages
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Przewija aktualny dokument przez określoną liczbę stron.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.scrollByPages(<i>pages</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>pages</code> jest liczbą stron do przewinięcia.</li>
+ <li><code>pages</code> może być wartością dodatnią lub ujemną liczby całkowitej.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>// przewija w dół dokument o 1 stronę
+window.scrollByPages(1);
+
+// przewija w górę dokument o 1 stronę
+window.scrollByPages(-1);
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Zobacz także <code><a href="pl/DOM/window.scrollBy">window.scrollBy</a>, <a href="pl/DOM/window.scrollByLines">window.scrollByLines</a>, <a href="pl/DOM/window.scroll">window.scroll</a>, <a href="pl/DOM/window.scrollTo">window.scrollTo</a></code>.</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.scrollByPages", "ja": "ja/DOM/window.scrollByPages" } ) }}</p>
diff --git a/files/pl/web/api/window/scrollto/index.html b/files/pl/web/api/window/scrollto/index.html
new file mode 100644
index 0000000000..6bdb2154a7
--- /dev/null
+++ b/files/pl/web/api/window/scrollto/index.html
@@ -0,0 +1,32 @@
+---
+title: window.scrollTo
+slug: Web/API/Window/scrollTo
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/Window/scrollTo
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Przesuwa się do danych koordynatów w dokumencie.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">window.scrollTo(<i>x-coord</i>,<i>y-coord</i>)
+</pre>
+<h3 id="Parametry" name="Parametry">Parametry</h3>
+<ul>
+ <li><code>x-coord</code> jest pikselem wzdłuż poziomej osi dokumentu do wyświetlenia, w jego lewym górnym rogu.</li>
+ <li><code>y-coord</code> jest pikselem wzdłuż pionowej osi dokumentu do wyświetlenia, w jego lewym górnym rogu.</li>
+</ul>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<pre>window.scrollTo(0, 1000);
+</pre>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Powyższa funkcja jest tym co funkcja <a href="pl/DOM/window.scroll">window.scroll</a>. Dla przesuwu względnego zobacz <a href="pl/DOM/window.scrollBy">window.scrollBy</a>, <a href="pl/DOM/window.scrollByLines">window.scrollByLines</a> oraz <a href="pl/DOM/window.scrollByPages">window.scrollByPages</a>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>DOM poziom 0. Nie jest częścią specyfikacji.</p>
+<p> </p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/window.scrollTo", "fr": "fr/DOM/window.scrollTo", "ja": "ja/DOM/window.scrollTo" } ) }}</p>
diff --git a/files/pl/web/api/window/setinterval/index.html b/files/pl/web/api/window/setinterval/index.html
new file mode 100644
index 0000000000..5cbfadde80
--- /dev/null
+++ b/files/pl/web/api/window/setinterval/index.html
@@ -0,0 +1,87 @@
+---
+title: window.setInterval
+slug: Web/API/Window/setInterval
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/WindowOrWorkerGlobalScope/setInterval
+---
+<p>{{ ApiRef() }}</p>
+
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+
+<p>Ustawia opóźnienie do cyklicznego wywoływania określonej funkcji.</p>
+
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+
+<pre class="eval"><em>var idInterwalu</em> = window.setInterval(<em>funkcja</em>, <em>opóźnienie</em>[, <em>parametr1</em>, <em>parametr2</em>, ...]);
+<em>var idInterwalu</em> = window.setInterval(<em>kod</em>, <em>opóźnienie</em>);</pre>
+
+<p> Parametry</p>
+
+<ul>
+ <li><code style="font: normal normal normal 100%/normal 'Courier New', 'Andale Mono', monospace; color: inherit; font-weight: inherit;">idInterwalu</code> to identyfikator ustawianego interwału który można przekazać do funkcji <code><a href="/pl/DOM/window.clearInterval" title="pl/DOM/window.clearInterval">window.clearInterval()</a></code>.</li>
+ <li><code>funkcja</code> to funkcja, dla której ustawiane jest opóźnienie</li>
+ <li><code>kod </code>to ciąg znaków zawierający kod javascript do cyklicznego wykonania. Jest to składnia alternatywna, której wykorzystanie <strong>nie jest zalecane</strong> z tych samych powodów, co stosowanie <code><a href="/en/JavaScript/Reference/Global_Objects/eval#Don%27t_use_eval!" title="en/JavaScript/Reference/Global Objects/eval#Don't use eval!">eval()</a></code>.</li>
+ <li><code>opóźnienie</code> to liczba milisekund (tysięcznych części sekundy), co którą wywoływana będzie <code>funkcja </code>lub <code>kod</code></li>
+</ul>
+
+<p>Należy zwrócić uwagę, że przekazywanie dodatkowych parametrów w pierwszej składni nie działa w Internet Explorerze.</p>
+
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+
+<pre class="brush: js">idInterwalu = window.setInterval(animuj, 500);
+</pre>
+
+<p> W poniższym przykładzie, funkcja <code>zmienKolorTekstu()</code> będzie wykonywana co sekundę, dopóki użytkownik nie naciśnie przycisku Stop, co spowoduje wywołanie <code>clearInterval() </code>z parametrem <code>idInterwalu</code>.</p>
+
+<pre class="brush: js" style="margin-top: 0px; margin-right: 0px; margin-bottom: 1.286em; margin-left: 0px; padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; background-clip: initial; background-color: rgb(246, 246, 242); font: normal normal normal 100%/normal 'Courier New', 'Andale Mono', monospace;">&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;przykład z wykorzystaniem setInterval/clearInterval&lt;/title&gt;
+
+&lt;script type="text/javascript"&gt;
+var idInterwalu;
+
+function zmienKolor() {
+ idInterwalu = setInterval(zmienKolorTekstu, 1000);
+}
+
+function zmienKolorTekstu() {
+ var elem = document.getElementById("my_box");
+ if (elem.style.color == 'red') {
+ elem.style.color = 'blue';
+ } else {
+ elem.style.color = 'red';
+ }
+}
+
+function zatrzymajZmianeKoloru() {
+ clearInterval(idInterwalu);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload="zmienKolor();"&gt;
+&lt;div id="my_box"&gt;
+&lt;p&gt;Hello World&lt;/p&gt;
+&lt;/div&gt;
+&lt;button onclick="zatrzymajZmianeKoloru();"&gt;Stop&lt;/button&gt;
+&lt;/body&gt;
+&lt;/html&gt;</pre>
+
+<h3 id="Uwagi">Uwagi</h3>
+
+<p>Funkcja setInterval() służy do ustawienia opóźnienia dla cyklicznie wywoływanych funkcji, takich jak funkcje animacji.</p>
+
+<p>Możliwe jest anulowanie wykonania fukcji poprzez wywołanie <code><a href="/pl/DOM/window.clearInterval" title="pl/DOM/window.clearInterval">window.clearInterval()</a></code>.</p>
+
+<p>Jeżeli funkcja ma zostać wykonana <em>tylko raz</em> a nie być wykonywana cyklicznie to należy skorzystać z  <code style="font: normal normal normal 100%/normal 'Courier New', 'Andale Mono', monospace; color: inherit; font-weight: inherit;"><a href="/pl/DOM/window.setTimeout" title="pl/DOM/window.setTimeout">window.setTimeout()</a></code>.</p>
+
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+
+<p>{{ DOM0() }}</p>
+
+<p>{{ languages( { "en": "en/DOM/window.setInterval", "fr": "fr/DOM/window.setInterval", "ja": "ja/DOM/window.setInterval", "pl": "pl/DOM/window.setInterval" } ) }}</p>
diff --git a/files/pl/web/api/window/settimeout/index.html b/files/pl/web/api/window/settimeout/index.html
new file mode 100644
index 0000000000..926080dd5b
--- /dev/null
+++ b/files/pl/web/api/window/settimeout/index.html
@@ -0,0 +1,46 @@
+---
+title: window.setTimeout
+slug: Web/API/Window/setTimeout
+tags:
+ - DOM
+ - DOM_0
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/WindowOrWorkerGlobalScope/setTimeout
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Uruchamia fragment kodu bądź funkcję po określonym odstępie czasu.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><em>id</em> = window.setTimeout(<em>funkcja</em>, <em>opóźnienie</em>[, <em>param1</em>, <em>param2</em>, ...]);
+<em>id</em> = window.setTimeout(<em>kod</em>, <em>opóźnienie</em>);
+</pre>
+<p>gdzie</p>
+<ul>
+ <li><code>funkcja</code> to <a href="/pl/Dokumentacja_języka_JavaScript_1.5/Obiekty/Function" title="pl/Dokumentacja_języka_JavaScript_1.5/Obiekty/Function">funkcja</a>, jaką chcesz uruchomić po opóźnieniu
+ <ul>
+ <li>w alternatywnej składni, <code>kod</code> to ciąg znaków z kodem, który będzie wykonany po upływie podanego czasu</li>
+ </ul>
+ </li>
+ <li><code>opóźnienie</code> to liczba milisekund (tysięcznych części sekundy), po których upływie wykonana zostanie funkcja</li>
+ <li><code>id</code> to identyfikator, którego można użyć z <a href="/pl/DOM/window.clearTimeout" title="pl/DOM/window.clearTimeout">window.clearTimeout</a></li>
+</ul>
+<h3 id="Przyk.C5.82ady" name="Przyk.C5.82ady">Przykłady</h3>
+<pre class="eval">window.setTimeout('window.parent.generateOutput()', 1000);
+</pre>
+<pre class="eval">function generateOutput(aConcise) {
+ if(aConcise)
+ parent.generateConciseOutput();
+ else
+ parent.generateOutput();
+}
+window.setTimeout(generateOutput, 1000, true);
+</pre>
+<p>Zobacz też <a href="/pl/DOM/window.clearTimeout#Example" title="pl/DOM/window.clearTimeout#Example">przykład użycia clearTimeout()</a>.</p>
+<h3 id="Uwagi" name="Uwagi">Uwagi</h3>
+<p>Możesz anulować opóźnienie wywołania funkcji za pomocą <a href="/pl/DOM/window.clearTimeout" title="pl/DOM/window.clearTimeout">window.clearTimeout()</a>.</p>
+<p>Jeśli chcesz, by funkcja była uruchamiana cyklicznie (np. co każde N milisekund), rozważ wykorzystanie <a href="/pl/DOM/window.setInterval" title="pl/DOM/window.setInterval">window.setInterval()</a>.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>{{ DOM0() }}</p>
+<p>{{ languages( { "en": "en/DOM/window.setTimeout", "fr": "fr/DOM/window.setTimeout", "ja": "ja/DOM/window.setTimeout", "pl": "pl/DOM/window.setTimeout" } ) }}</p>
diff --git a/files/pl/web/api/window/sidebar/index.html b/files/pl/web/api/window/sidebar/index.html
new file mode 100644
index 0000000000..280b5dcce3
--- /dev/null
+++ b/files/pl/web/api/window/sidebar/index.html
@@ -0,0 +1,56 @@
+---
+title: Window.sidebar
+slug: Web/API/Window/sidebar
+tags:
+ - DOM
+ - NeedsTranslation
+ - Non-standard
+ - Property
+ - Reference
+ - TopicStub
+ - Window
+translation_of: Web/API/Window/sidebar
+---
+<div>{{APIRef}} {{Non-standard_header}}</div>
+
+<p>Returns a sidebar object, which contains several methods for registering add-ons with the browser.</p>
+
+<h2 id="Notes" name="Notes">Notes</h2>
+
+<p>The sidebar object returned has the following methods:</p>
+
+<table class="fullwidth-table">
+ <tbody>
+ <tr>
+ <th>Method</th>
+ <th>Description (SeaMonkey)</th>
+ <th>Description (Firefox)</th>
+ </tr>
+ <tr>
+ <td><code>addPanel(<var>title</var>, <var>contentURL</var>, "")</code></td>
+ <td>Adds a sidebar panel.</td>
+ <td rowspan="2">Obsolete since Firefox 23 (only present in SeaMonkey).<br>
+ End users can use the "load this bookmark in the sidebar" option instead. Also see <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Creating_a_Firefox_sidebar">Creating a Firefox sidebar.</a></td>
+ </tr>
+ <tr>
+ <td><code>addPersistentPanel(<var>title</var>, <var>contentURL</var>, "")</code></td>
+ <td>Adds a sidebar panel, which is able to work in the background.</td>
+ </tr>
+ <tr>
+ <td><code>AddSearchProvider(<em>descriptionURL)</em></code></td>
+ <td colspan="2">Installs a search provider (OpenSearch). <a href="/en-US/docs/Web/API/Window/sidebar/Adding_search_engines_from_Web_pages#Installing_OpenSearch_plugins" title="Adding_search_engines_from_web_pages">Adding OpenSearch search engines </a>contains more details. Added in Firefox 2.</td>
+ </tr>
+ <tr>
+ <td><code>addSearchEngine(<var>engineURL</var>, <var>iconURL</var>, <var>suggestedTitle</var>, <var>suggestedCategory</var>)</code> {{Obsolete_inline(44)}}</td>
+ <td colspan="2">Installs a search engine (Sherlock). <a href="/en-US/docs/Web/API/Window/sidebar/Adding_search_engines_from_Web_pages#Installing_Sherlock_plugins" title="Adding_search_engines_from_web_pages">Adding Sherlock search engines </a>contains more details.</td>
+ </tr>
+ <tr>
+ <td><code>IsSearchProviderInstalled(<em>descriptionURL)</em></code></td>
+ <td colspan="2">Indicates if a specific search provider (OpenSearch) is installed.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Specification" name="Specification">Specification</h2>
+
+<p>Mozilla-specific. Not part of any standard.</p>