<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kagasu</author_name>
  <author_url>https://blog.hatena.ne.jp/kagasu/</author_url>
  <blog_title>備忘録</blog_title>
  <blog_url>https://kagasu.hatenablog.com/</blog_url>
  <categories>
    <anon>HTML</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>Ⅰ. はじめに タイトルの通り「iframeの高さを自動調整する方法」です。 Ⅱ. やり方 サンプルプログラム &lt;!doctype html&gt; &lt;html&gt; &lt;body&gt; &lt;div&gt; &lt;iframe id=&quot;myiframe&quot;&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;script&gt; let myiframe = document.getElementById('myiframe') // 100行ダミーテキストを入れる let str = ''; for (let i = 0; i &lt; 100; i++) { str += i + '&lt;br&gt;'; } myiframe.contentDocumen…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2018%2F05%2F07%2F135620&quot; title=&quot;iframeの高さを自動調整する方法 - 備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kagasu/20180507/20180507135610.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-07 13:56:20</published>
  <title>iframeの高さを自動調整する方法</title>
  <type>rich</type>
  <url>https://kagasu.hatenablog.com/entry/2018/05/07/135620</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
