<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anmino</author_name>
  <author_url>https://blog.hatena.ne.jp/anmino/</author_url>
  <blog_title>あんみのの備忘録</blog_title>
  <blog_url>https://anmino.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>ウインドウサイズを取得するため、window.documentオブジェクトのプロパティを参照する。 ブラウザの動作モードによって、参照するプロパティを変更する。 動作モードはdocument.compatModeで取得するが、CSS1Compatは標準準拠モードを表す。 //ウインドウサイズを取得する function getWindowSize(){ var width = 0, height = 0; var availWidth = 0, availHeight = 0; if(document.compatMode == &quot;CSS1Compat&quot;){ width = document.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanmino.hatenadiary.org%2Fentry%2F20110802%2F1312245858&quot; title=&quot;ウインドウのサイズを取得する - あんみのの備忘録&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>2011-08-02 09:44:18</published>
  <title>ウインドウのサイズを取得する</title>
  <type>rich</type>
  <url>https://anmino.hatenadiary.org/entry/20110802/1312245858</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
