<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>boscono</author_name>
  <author_url>https://blog.hatena.ne.jp/boscono/</author_url>
  <blog_title>てきとうなメモ</blog_title>
  <blog_url>https://boscono.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>いろいろ勘違いしていたのでメモ。 履歴は現在の状態を含み、一番上に現在の状態を置く。 ので、新規タブを開いてページをロードすると、window.history.lengthは1になる chromeの場合は新規タブを開いた時点でページがロードされたことになっているようで、そこから別ページをロードするとwindow.history.lengthは2になる。 pushStateは引数の状態を履歴の一番上に追加する。 replaceStateは履歴の一番上(現在の状態)を引数の状態に置き換える。 pushStateとreplaceStateの引き数のtitleはブラウザの履歴の部分に利用されるとは限ら…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fboscono.hatenablog.com%2Fentry%2F2017%2F08%2F15%2F121835&quot; title=&quot;history api メモ - てきとうなメモ&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>2017-08-15 12:18:35</published>
  <title>history api メモ</title>
  <type>rich</type>
  <url>https://boscono.hatenablog.com/entry/2017/08/15/121835</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
