<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>GegegeMokeke</author_name>
  <author_url>https://blog.hatena.ne.jp/GegegeMokeke/</author_url>
  <blog_title>エンジニアの低脳っぷりを晒す戦記</blog_title>
  <blog_url>https://gegegemokeke.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>オブジェクト中に単に突っ込むだけで実行されると思ってたんですけど。うんとも寸とも言わないので試行錯誤したメモ。オブジェクト中にscriptタグで挟んだJavaScript突っ込むとDOMとしてパースはしてくれてるようなのだけどキックはしてくれない。alertを仕込んでも鳴らない、functionを仕込んでも定義されていない、という状態。そこにコードとしては書かれているのだけどキックされない。 IE Firefox編 最終的にこんなコードになった。 &lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; &quot;http://www.w3.or…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgegegemokeke.hatenadiary.org%2Fentry%2F20080319%2Fp1&quot; title=&quot;innerHTMLへscriptタグを突っ込んでscriptタグ内部のJavaScriptをキックする方法 - エンジニアの低脳っぷりを晒す戦記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-03-19 00:00:00</published>
  <title>innerHTMLへscriptタグを突っ込んでscriptタグ内部のJavaScriptをキックする方法</title>
  <type>rich</type>
  <url>https://gegegemokeke.hatenadiary.org/entry/20080319/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
