{"json_modified": "2016-03-28T08:19:42.450073", "uuid": "af6bec33-c074-4d8c-a72e-2020614cfdd9", "title": "Window.content", "url": "/en-US/docs/Web/API/Window/content", "tags": [], "translations": [{"uuid": "3afb9c26-985e-4d45-a3b0-21464f02328a", "title": "window.content", "url": "/fr/docs/Web/API/Window/content", "tags": ["R\u00e9f\u00e9rence_du_DOM_Gecko"], "summary": "Renvoie un objet Window pour la fen\u00eatre de contenu principale. C'est utile pour les fen\u00eatres XUL qui ont un <browser>
(ou tabbrowser
ou <iframe>
) avec l'attribut type=\"content-primary\"
d\u00e9fini - l'exemple le plus c\u00e9l\u00e8bre \u00e9tant la fen\u00eatre principale de Firefox, browser.xul
. Dans de tels cas, content
renvoie une r\u00e9f\u00e9rence \u00e0 l'objet Window
pour le document actuellement affich\u00e9 dans le navigateur. Il s'agit d'un raccourci pour browserRef.contentWindow
.", "localization_tags": [], "locale": "fr", "last_edit": "2014-10-28T06:27:35", "review_tags": []}, {"uuid": "32cb3abe-d06e-411a-a404-16cfc9c49b6e", "title": "window.content", "url": "/ja/docs/Web/API/Window/content", "tags": ["DOM", "Gecko", "\u8981\u66f4\u65b0"], "summary": "\u4e3b\u3068\u306a\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u8868\u3059 Window \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001type=\"content-primary\"
\u5c5e\u6027\u3092\u6301\u3064 <browser>
(\u3082\u3057\u304f\u306f tabbrowser
\u3084 <iframe>
) \u8981\u7d20\u306e\u3042\u308b XUL \u30a6\u30a3\u30f3\u30c9\u30a6\u306b\u304a\u3044\u3066\u5f79\u7acb\u3061\u307e\u3059\u3002\u6700\u3082\u6709\u540d\u306a\u4f8b\u306f\u3001Firefox \u306e\u30e1\u30a4\u30f3\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3042\u308b browser.xul
\u3067\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001content
\u306f\u30d6\u30e9\u30a6\u30b6\u306b\u73fe\u5728\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8868\u3059 Window
\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3078\u306e\u53c2\u7167\u3092\u8fd4\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001browserRef.contentWindow
\u306e\u30b7\u30e7\u30fc\u30c8\u30ab\u30c3\u30c8\u3067\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2014-10-23T11:57:20", "review_tags": []}, {"uuid": "25e59e39-4cdc-4a36-aafb-aa9e55820a27", "title": "window.content", "url": "/pl/docs/Web/API/Window/content", "tags": ["Dokumentacja_Gecko_DOM", "DOM", "Gecko", "Strony_wymagaj\u0105ce_dopracowania", "Wszystkie_kategorie"], "summary": "Zwraca obiekt Window dla zawarto\u015bci g\u0142\u00f3wnego okna. This is useful in XUL windows that have a <browser>
(or tabbrowser
or <iframe>
) with type=\"content-primary\"
attribute on it - the most famous example is Firefox main window, browser.xul
. In such cases, content
returns a reference to the Window
object for the document currently displayed in the browser. It is a shortcut for browserRef.contentWindow
.", "localization_tags": [], "locale": "pl", "last_edit": "2014-10-28T08:11:12", "review_tags": []}, {"uuid": "1a7cfbef-ae8f-4b71-9e50-4ccaf4873070", "title": "window.content", "url": "/zh-CN/docs/Web/API/Window/content", "tags": [], "summary": "\u8fd4\u56de\u4e3b\u5185\u5bb9\u7a97\u53e3\u7684Window\u5bf9\u8c61.\u8be5\u5c5e\u6027\u53ea\u5728\u5305\u542b\u6709\u5c5e\u6027type=\"content-primary\"
\u7684<browser>
(\u6216\u8005 tabbrowser
\u6216\u8005 <iframe>
)\u6807\u7b7e\u7684XUL\u7a97\u53e3\u4e0b\u624d\u4f1a\u7528\u5230.\u6700\u5e38\u7528\u5230\u7684\u5730\u65b9\u5c31\u662fFirefox\u7684\u4e3b\u7a97\u53e3, browser.xul
. \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b, content
\u8fd4\u56de\u4e00\u4e2a\u6d4f\u89c8\u5668\u4e2d\u7684\u5f53\u524d\u9875\u9762\u7684Window\u5bf9\u8c61\u7684\u5f15\u7528
.\u76f8\u5f53\u4e8ebrowserRef.contentWindow\u7684\u5feb\u6377\u65b9\u5f0f
.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2014-10-23T11:16:40", "review_tags": []}], "modified": "2015-11-28T23:09:14", "label": "Window.content", "localization_tags": [], "locale": "en-US", "id": 36390, "last_edit": "2015-11-28T23:09:10", "summary": "Returns a Window object for the primary content window. This is useful in XUL windows that have a <browser>
(or tabbrowser
or <iframe>
) with type=\"content-primary\"
attribute on it - the most famous example is Firefox main window, browser.xul
. In such cases, content
returns a reference to the Window
object for the document currently displayed in the browser. It is a shortcut for browserRef.contentWindow
.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Summary"}, {"id": "Syntax", "title": "Syntax"}, {"id": "Example", "title": "Example"}, {"id": "Specification", "title": "Specification"}, {"id": "See_also", "title": "See also"}], "slug": "Web/API/Window/content", "review_tags": []}