{"provider_url":"https://hatena.blog","width":"100%","blog_title":"maru source","author_name":"h13i32maru","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.h13i32maru.jp%2Fentry%2F2013%2F11%2F28%2F225335\" title=\"HTML\u6587\u5b57\u5217\u306b\u542b\u307e\u308c\u308bscript\u3092\u5b9f\u884c\u3059\u308b - maru source\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/h13i32maru/","published":"2013-11-28 22:53:35","url":"https://blog.h13i32maru.jp/entry/2013/11/28/225335","categories":["tech"],"type":"rich","height":"190","image_url":null,"description":"HTML\u306e\u6587\u5b57\u5217\u3092XHR\u3067\u52d5\u7684\u306b\u53d6\u5f97\u3057\u3066\u304d\u3066\u3001\u305d\u308c\u3092document.body\u306a\u3093\u304b\u306b\u7a81\u3063\u8fbc\u3080\u5834\u5408\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002 \u305d\u306e\u6642\u306b\u6587\u5b57\u5217\u4e2d\u306bscript\u30bf\u30b0\u304c\u542b\u307e\u308c\u308b\u5834\u5408\u3001elm.innerHTML = html;\u3063\u3066\u3057\u3066\u3082script\u306f\u5b9f\u884c\u3055\u308c\u307e\u305b\u3093\u3002 jQuery.fn.load\u306f\u305d\u306e\u3078\u3093\u304c\u8003\u616e\u3055\u308c\u3066\u3044\u3066script\u3082\u5b9f\u884c\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u3067\u3001\u3069\u3046\u3084\u3063\u3066\u308b\u306e\u304b\u306a\u30fc\u3068\u30b3\u30fc\u30c9\u8aad\u3093\u3067\u307f\u305f\u306e\u3067\u305d\u306e\u30e1\u30e2\u3002 \u53d6\u5f97\u3057\u305fHTML\u6587\u5b57\u5217\u3092\u4e00\u65e6div.innerHTML\u306b\u5165\u308c\u308b div.childNodes\u3092fragment\u306b\u9806\u756a\u306bappendChild\u3059\u308b fragment\u304b\u3089querySelectorAll('s\u2026","title":"HTML\u6587\u5b57\u5217\u306b\u542b\u307e\u308c\u308bscript\u3092\u5b9f\u884c\u3059\u308b","version":"1.0","provider_name":"Hatena Blog","blog_url":"https://blog.h13i32maru.jp/"}