{"json_modified": "2016-03-28T07:53:07.542110", "uuid": "dee903ef-c55e-4b51-86b7-5ac575d9e9a2", "title": "HTML to DOM", "url": "/en-US/docs/Mozilla/Add-ons/Code_snippets/HTML_to_DOM", "tags": ["Intermediate", "Guide", "NeedsUpdate", "HTML", "Code snippets", "DOM"], "translations": [{"uuid": "67aa1584-d3a7-47dd-b25b-b304d6107a44", "title": "HTML to DOM", "url": "/id/docs/Mozilla/Add-ons/Code_snippets/HTML_to_DOM", "tags": [], "summary": "Although you can now natively parse HTML using DOMParser and XMLHttpRequest, this is a new feature that is not yet supported by all browsers in use in the wild. The code snippets on this page will let your site work until these new features are more widely available.", "localization_tags": ["inprogress"], "locale": "id", "last_edit": "2016-01-11T06:12:53", "review_tags": []}, {"uuid": "9da70759-2d67-463c-944a-17e49ba428f3", "title": "HTML to DOM", "url": "/zh-CN/docs/Code_snippets/HTML_to_DOM", "tags": [], "summary": "\u5982\u4f55\u5c06HTML\u8f6c\u4e3aDOM,\u5c3d\u7ba1\u73b0\u5728\u4f60\u53ef\u4ee5\u4f7f\u7528 DOMParser \u6216\u8005 XMLHttpRequest\u5bf9\u8c61\u6765\u5b8c\u6210\u6b64\u9879\u5de5\u4f5c, \u4f46\u6bd5\u7adf\u9664Firefox\u4ee5\u5916\u7684\u5927\u90e8\u5206\u6d4f\u89c8\u5668\u90fd\u6ca1\u6709\u5b9e\u73b0\u8fd9\u4e9b\u529f\u80fd. \u5728\u8fd9\u4e9b\u529f\u80fd\u88ab\u6240\u6709\u6d4f\u89c8\u5668\u5b9e\u73b0\u4e4b\u524d,\u4f60\u53ef\u4ee5\u5728\u81ea\u5df1\u7684\u7f51\u7ad9\u4e2d\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u6cd5\u6765\u5b8c\u6210HTML\u5b57\u7b26\u4e32\u8f6cDOM\u7684\u9700\u6c42.", "localization_tags": [], "locale": "zh-CN", "last_edit": "2012-03-21T16:41:43", "review_tags": []}], "modified": "2015-05-26T15:38:50", "label": "HTML to DOM", "localization_tags": [], "locale": "en-US", "id": 2684, "last_edit": "2015-05-26T15:38:47", "summary": "Although you can now natively parse HTML using DOMParser and XMLHttpRequest, this is a new feature that is not yet supported by all browsers in use in the wild. The code snippets on this page will let your site work until these new features are more widely available.", "sections": [{"id": "Using_a_hidden_browser_element_to_parse_HTML_to_a_window.27s_DOM", "title": "Safely parsing simple HTML\u00a0to DOM\u00a0"}, {"id": "Parsing_Complete_HTML_to_DOM", "title": "Parsing Complete HTML to DOM"}, {"id": "Using_a_hidden_browser_element_to_parse_HTML_to_a_window.27s_DOM", "title": "Using a hidden iframe element to parse HTML to a window's DOM"}, {"id": "Using_a_hidden_XUL_iframe_.28complete_example.29", "title": "Using a hidden XUL iframe (alternate example)"}], "slug": "Mozilla/Add-ons/Code_snippets/HTML_to_DOM", "review_tags": []}