{"json_modified": "2016-10-25T00:20:23.247455", "uuid": "b0191852-baa6-4fad-9ab7-596512ab51d8", "title": "NavigatorOnLine.onLine", "url": "/en-US/docs/Web/API/NavigatorOnLine/onLine", "tags": ["API", "Reference", "Property", "DOM Reference", "NavigatorOnLine", "Online"], "translations": [{"uuid": "12fdd855-69d7-4271-9a97-a3537da01870", "title": "NavigatorOnLine.onLine", "url": "/de/docs/Web/API/NavigatorOnLine/onLine", "tags": ["API", "NavigatorOnLine", "Offline", "Navigation", "Reference", "Eigenschaft", "Dokumentation", "DOM", "Online"], "summary": "Diese Eigenschaft gibt einen Wahrheitswert (Bool-Wert) zur\u00fcck, der Auskunft gibt, ob der Browser eine Internetverbindung aufbauen konnte. Dieser Wert wird immer dann aktualisiert, wenn eine neue Verbindung vom Browser angefordert wurde (durch Script- oder Benutzeraktionen). Es wird \"false\" zur\u00fcckgegeben, wenn der letzte Versuch, eine Verbindung aufzubauen, fehlgeschlagen ist.", "localization_tags": [], "locale": "de", "last_edit": "2015-09-23T23:42:16", "review_tags": []}, {"uuid": "7772069d-8cce-41d8-8ef0-37b7a1fef80a", "title": "window.navigator.onLine", "url": "/fi/docs/DOM/window.navigator.onLine", "tags": [], "summary": "Palauttaa selaimen verkkotilan. Ominaisuus palauttaa boolean-arvon, joka on true
, kun verkkoyhteys on p\u00e4\u00e4ll\u00e4 ja false
, kun selain toimii erillissovelluksena. Ominaisuus l\u00e4hett\u00e4\u00e4 p\u00e4ivityksi\u00e4 aina kun selaimen kyky yhdisty\u00e4 verkkoon muuttuu. P\u00e4ivitys tapahtuu, kun k\u00e4ytt\u00e4j\u00e4 seuraa linkki\u00e4 tai kun skripti pyyt\u00e4\u00e4 et\u00e4sivua. Esimerkiksi ominaisuuden pit\u00e4isi palauttaa false
, kun k\u00e4ytt\u00e4j\u00e4 napsauttaa linkki\u00e4 pian internet-yhteyden katkeamisen j\u00e4lkeen.", "localization_tags": [], "locale": "fi", "last_edit": "2014-10-23T21:09:30", "review_tags": []}, {"uuid": "1b66fb99-2ee9-4287-b615-be6ea51b222b", "title": "window.navigator.onLine", "url": "/fr/docs/Web/API/NavigatorOnLine/onLine", "tags": ["DOM_0", "DOM"], "summary": "Renvoie une valeur bool\u00e9enne indiquant si le navigateur est en ligne ou non.", "localization_tags": [], "locale": "fr", "last_edit": "2015-05-05T05:30:44", "review_tags": []}, {"uuid": "6f63f5e6-aca3-4b16-94ae-32a5b105ecd4", "title": "window.navigator.onLine", "url": "/ja/docs/Web/API/NavigatorOnLine/onLine", "tags": ["API", "Reference", "Property", "DOM Reference", "NavigatorOnLine", "Online"], "summary": "\u30d6\u30e9\u30a6\u30b6\u306e\u63a5\u7d9a\u72b6\u614b\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u771f\u507d\u5024\u3092\u8fd4\u3057\u3066 true
\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u3001false
\u306f\u30aa\u30d5\u30e9\u30a4\u30f3\u3092\u8868\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u63a5\u7d9a\u72b6\u614b\u304c\u5909\u5316\u3059\u308b\u305f\u3073\u306b\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002\u3053\u306e\u66f4\u65b0\u306f\u30e6\u30fc\u30b6\u304c\u30ea\u30f3\u30af\u3092\u305f\u3069\u308b\u3001\u3042\u308b\u3044\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30ea\u30e2\u30fc\u30c8\u30da\u30fc\u30b8\u3092\u8981\u6c42\u3059\u308b\u3068\u304d\u306b\u767a\u751f\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3078\u306e\u63a5\u7d9a\u304c\u5931\u308f\u308c\u305f\u5f8c\u306b\u30e6\u30fc\u30b6\u304c\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f false
\u3092\u8fd4\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-04-23T08:28:50", "review_tags": []}, {"uuid": "ff32afc9-a9b6-4b21-8233-23d57d2e90b6", "title": "NavigatorOnLine.onLine", "url": "/pl/docs/Web/API/Navigator/onLine", "tags": ["DOM_0", "Dokumentacja_Gecko_DOM", "DOM", "Gecko", "Wszystkie_kategorie"], "summary": "Zwraca warto\u015b\u0107 logiczn\u0105 wskazuj\u0105c\u0105 czy przegl\u0105darka jest w trybie online, czy nie.", "localization_tags": [], "locale": "pl", "last_edit": "2015-02-23T19:16:32", "review_tags": []}, {"uuid": "27f49836-c461-4cd5-bb64-eaabb29602e5", "title": "NavigatorOnLine.onLine", "url": "/ru/docs/Web/API/NavigatorOnLine/onLine", "tags": [], "summary": "\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0441\u0435\u0442\u0435\u0432\u043e\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.\u00a0\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 (boolean) \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, true
\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 online \u0438 false
\u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 offline.\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0441\u044f\u043a\u0438\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430 \u043a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044e \u043a \u0441\u0435\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0441\u044f. \u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438\u043b\u0438 \u043a\u043e\u0433\u0434\u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u0437\u0430\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c false
, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043a\u043b\u0438\u043a\u0430\u0435\u0442 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435, \u0432\u0441\u043a\u043e\u0440\u0435 \u043f\u043e\u0441\u043b\u0435 \u043f\u043e\u0442\u0435\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0443.", "localization_tags": [], "locale": "ru", "last_edit": "2015-05-27T06:43:35", "review_tags": []}, {"uuid": "c3bba1ae-b144-4d11-b48f-2f56d5bd814b", "title": "NavigatorOnLine.onLine", "url": "/zh-CN/docs/Web/API/NavigatorOnLine/onLine", "tags": [], "summary": "\u8fd4\u56de\u6d4f\u89c8\u5668\u7684\u8054\u7f51\u72b6\u6001\u3002\u6b63\u5e38\u8054\u7f51(\u5728\u7ebf)\u8fd4\u56detrue,\u4e0d\u6b63\u5e38\u8054\u7f51(\u79bb\u7ebf)\u8fd4\u56de
false\u3002
\u4e00\u65e6\u6d4f\u89c8\u5668\u7684\u8054\u7f51\u72b6\u6001\u53d1\u751f\u6539\u53d8\uff0c\u8be5\u5c5e\u6027\u503c\u4e5f\u4f1a\u968f\u4e4b\u53d8\u5316\u3002\u5f53\u7528\u6237\u70b9\u51fb\u94fe\u63a5\u6216\u8005\u811a\u672c\u8fdb\u884c\u7f51\u7edc\u8bf7\u6c42\u65f6\uff0c\u5982\u679c\u53d1\u73b0\u6d4f\u89c8\u5668\u8fde\u63a5\u4e0d\u4e0a\u4e92\u8054\u7f51\uff0c\u5219\u8be5\u5c5e\u6027\u4f1a\u88ab\u8d4b\u503c\u4e3afalse\u3002
", "localization_tags": [], "locale": "zh-CN", "last_edit": "2016-07-19T00:21:12", "review_tags": []}], "modified": "2016-10-25T00:20:00", "label": "NavigatorOnLine.onLine", "localization_tags": [], "locale": "en-US", "id": 2231, "last_edit": "2016-01-09T08:52:48", "summary": "Returns the online status of the browser. The property returns a boolean value, with true
meaning online and false
meaning offline. The property sends updates whenever the browser's ability to connect to the network changes. The update occurs when the user follows links or when a script requests a remote page. For example, the property should return false
when users click links soon after they lose internet connection.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Value", "title": "Value"}, {"id": "Example", "title": "Example"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "Notes", "title": "Notes"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/NavigatorOnLine/onLine", "review_tags": []}