{"json_modified": "2016-09-06T07:54:26.221841", "uuid": "1eb50b20-091f-43f9-8154-366336e897c2", "title": "WindowEventHandlers.onbeforeunload", "url": "/en-US/docs/Web/API/WindowEventHandlers/onbeforeunload", "tags": ["Event Handler", "API", "Reference", "Property", "Window", "DOM"], "translations": [{"uuid": "6d2f7456-8e59-45f4-aef2-bca43ea9071a", "title": "Window.onbeforeunload", "url": "/es/docs/Web/API/WindowEventHandlers/onbeforeunload", "tags": [], "summary": "Evento que se ejecuta antes de abandonar la p\u00e1gina, justo antes de que se ejecute window.onunload. El documento a\u00fan est\u00e1 visible y el evento a\u00fan se puede cancelar.", "localization_tags": [], "locale": "es", "last_edit": "2015-02-24T11:07:17", "review_tags": []}, {"uuid": "75857e7f-b73b-4709-a615-384de25c0a10", "title": "window.onbeforeunload", "url": "/fr/docs/Web/API/WindowEventHandlers/onbeforeunload", "tags": [], "summary": "Le gestionnaire d'\u00e9v\u00e9nement WindowEventHandlers.onbeforeunload contient le code ex\u00e9cut\u00e9 lorsque l'\u00e9v\u00e8nement beforeunload est envoy\u00e9. Cet \u00e9v\u00e9nement se d\u00e9clenche losrque la fen\u00eatre est sur le point de recharger ses resources.", "localization_tags": [], "locale": "fr", "last_edit": "2015-11-08T06:34:34", "review_tags": []}, {"uuid": "ecbaf280-1b61-47e7-9139-7921393e8cd9", "title": "window.onbeforeunload", "url": "/ja/docs/Web/API/WindowEventHandlers/onbeforeunload", "tags": ["DOM", "\u8981\u66f4\u65b0", "Window", "\u7ffb\u8a33\u4e2d"], "summary": "window \u306e\u30ea\u30bd\u30fc\u30b9\u306e unload \u76f4\u524d\u306b\u767a\u751f\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u306b\u5bfe\u5fdc\u3059\u308b\u51e6\u7406\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 \u6587\u66f8\u304c\u672a\u3060\u53ef\u8996\u72b6\u614b\u3067\u3042\u308a\u3001\u30a4\u30d9\u30f3\u30c8\u304c\u672a\u3060\u30ad\u30e3\u30f3\u30bb\u30eb\u53ef\u80fd (event.preventDefault) \u306a\u30bf\u30a4\u30df\u30f3\u30b0 \u3067\u767a\u751f\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2014-10-23T23:08:26", "review_tags": []}, {"uuid": "c7310e84-8c49-4300-9fc9-7023d9882b61", "title": "window.onbeforeunload", "url": "/zh-CN/docs/Web/API/Window/onbeforeunload", "tags": [], "summary": "\u5f53\u7a97\u53e3\u5373\u5c06\u88ab\u5378\u8f7d\u65f6,\u4f1a\u89e6\u53d1\u8be5\u4e8b\u4ef6.\u6b64\u65f6\u9875\u9762\u6587\u6863\u4f9d\u7136\u53ef\u89c1,\u4e14\u8be5\u4e8b\u4ef6\u7684\u9ed8\u8ba4\u52a8\u4f5c\u53ef\u4ee5\u88ab\u53d6\u6d88.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-10-23T23:03:21", "review_tags": []}, {"uuid": "07e277af-fc71-4e81-977f-92c6b9a3def8", "title": "WindowEventHandlers.onbeforeunload", "url": "/zh-TW/docs/Web/API/WindowEventHandlers/onbeforeunload", "tags": [], "summary": "WindowEventHandlers.onbeforeunload\u00a0\u4e8b\u4ef6\u5904\u7406\u51fd\u6570\u5305\u542b\u7684\u4ee3\u7801\u5c06\u5728\u00a0beforeunload \u53d1\u51fa\u65f6\u88ab\u6267\u884c\u3002\u5f53 window \u51c6\u5907\u91ca\u653e\u5b83\u7684\u8d44\u6e90\u65f6\uff0c\u8be5\u4e8b\u4ef6\u88ab\u89e6\u53d1\u3002\u6b64\u65f6 document \u4ecd\u7136\u53ef\u89c1\uff0c\u4e14\u4e8b\u4ef6\u662f\u4ecd\u7136\u53ef\u88ab\u53d6\u6d88\u7684\u3002", "localization_tags": ["inprogress"], "locale": "zh-TW", "last_edit": "2016-08-26T00:21:30", "review_tags": []}], "modified": "2016-09-06T07:54:25", "label": "WindowEventHandlers.onbeforeunload", "localization_tags": [], "locale": "en-US", "id": 294, "last_edit": "2016-09-06T07:54:17", "summary": "The WindowEventHandlers.onbeforeunload event handler property contains the code executed when the beforeunload is sent. This event fires when a window is about to unload its resources. The document is still visible and the event is still cancelable.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Notes", "title": "Notes"}, {"id": "Specifications", "title": "Specifications"}, {"id": "Browser_compatibility", "title": "Browser compatibility"}, {"id": "See also", "title": "See also"}], "slug": "Web/API/WindowEventHandlers/onbeforeunload", "review_tags": ["technical"]}