{"json_modified": "2016-07-04T13:40:51.005627", "uuid": "ffbc526b-e853-482d-8313-017b9da85e16", "title": "Adding Events and Commands", "url": "/en-US/docs/Mozilla/Add-ons/Overlay_Extensions/XUL_School/Adding_Events_and_Commands", "tags": ["glossary", "Events", "Guide", "JavaScript", "XUL", "CodingScripting", "Add-ons", "add-ons", "Glossary", "events", "DOM"], "translations": [{"uuid": "86c8ac75-45c6-41c2-a3da-db78f4d1678b", "title": "Agregar eventos y comandos", "url": "/es/docs/Escuela_XUL/Agregar_eventos_y_comandos", "tags": [], "summary": "Just like with HTML, most JavaScript code execution is triggered by event handlers attached to DOM elements. The most commonly used event is the onload event, which is used in overlays and other windows to detect when the window has loaded and then run initialization code:", "localization_tags": [], "locale": "es", "last_edit": "2014-05-25T04:52:03", "review_tags": []}, {"uuid": "1be6496e-b154-4720-b523-9a060d5ffe3d", "title": "Adding Events and Commands", "url": "/ja/docs/XUL/School_tutorial/Adding_Events_and_Commands", "tags": ["XUL"], "summary": "HTML \u306e\u5834\u5408\u3068\u540c\u69d8\u306b\u3001\u307b\u3068\u3093\u3069\u306e JavaScript \u30b3\u30fc\u30c9\u306f\u3001DOM \u8981\u7d20\u306b\u53d6\u308a\u4ed8\u3051\u3089\u308c\u305f\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306b\u3088\u3063\u3066\u5b9f\u884c\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\u3002\u6700\u3082\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u308b\u30a4\u30d9\u30f3\u30c8\u306f\u3001onload \u30a4\u30d9\u30f3\u30c8\u3067\u3059\u3002\u3053\u308c\u306f\u3001\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3084\u4ed6\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u30a6\u30a3\u30f3\u30c9\u30a6\u304c\u8aad\u307f\u8fbc\u307e\u308c\u305f\u3053\u3068\u3092\u691c\u51fa\u3057\u3001\u521d\u671f\u5316\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059:", "localization_tags": [], "locale": "ja", "last_edit": "2014-05-24T07:34:44", "review_tags": []}, {"uuid": "b1f55f6f-8aea-4975-b7b3-cd121be1b46a", "title": "\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u043a\u043e\u043c\u0430\u043d\u0434", "url": "/ru/docs/XUL_School/%D0%94%D0%BE%D0%B1%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_%D1%81%D0%BE%D0%B1%D1%8B%D1%82%D0%B8%D0%B9_%D0%B8_%D0%BA%D0%BE%D0%BC%D0%B0%D0%BD%D0%B4", "tags": [], "summary": "Just like with HTML, most JavaScript code execution is triggered by event handlers attached to DOM elements. The most commonly used event is the onload event, which is used in overlays and other windows to detect when the window has loaded and then run initialization code:", "localization_tags": [], "locale": "ru", "last_edit": "2012-11-12T04:34:46", "review_tags": []}, {"uuid": "ec0b978e-761b-4860-b8bd-db4b7466eef4", "title": "Adding Events and Commands", "url": "/zh-CN/docs/Add-ons/Overlay_Extensions/XUL_School/Adding_Events_and_Commands", "tags": [], "summary": "Just like with HTML, most JavaScript code execution is triggered by event handlers attached to DOM elements. The most commonly used event is the onload event, which is used in overlays and other windows to detect when the window has loaded and then run initialization code:", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-03-18T00:46:22", "review_tags": []}], "modified": "2016-07-04T13:40:50", "label": "Adding Events and Commands", "localization_tags": [], "locale": "en-US", "id": 11650, "last_edit": "2016-07-04T13:40:46", "summary": "Just like with HTML, most JavaScript code execution is triggered by event handlers attached to DOM elements. The most commonly used event is the onload event, which is used in overlays and other windows to detect when the window has loaded and then run initialization code:", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Event_handlers", "title": "Event handlers"}, {"id": "Custom_events", "title": "Custom events"}, {"id": "Broadcasters", "title": "Broadcasters"}, {"id": "Commands", "title": "Commands"}], "slug": "Mozilla/Add-ons/Overlay_Extensions/XUL_School/Adding_Events_and_Commands", "review_tags": []}