<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pivot_root</author_name>
  <author_url>https://blog.hatena.ne.jp/pivot_root/</author_url>
  <blog_title>/tmp/</blog_title>
  <blog_url>https://pivot-root.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Clear Site Data SPA とかで Cookie とか LocalStorage とか、そういうものを消し忘れてバグる、みたいなのがあるので、ヘッダで消せるようにする提案。 Clear Site Data &lt;?php header('Clear-Site-Data: &quot;cookies&quot;, &quot;executionContexts'); ?&gt; これで Cookie が全部消える。cache や storage などが指定できる。Chrome M61 で既に使えるようになっている。 ログアウト時になにか消し忘れるのを防止できるし、永続化する XSS などへの対応もできる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpivot-root.hatenablog.jp%2Fentry%2F2021%2F05%2F08%2F191750&quot; title=&quot;Clear Site Data - /tmp/&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>2021-05-08 19:17:50</published>
  <title>Clear Site Data</title>
  <type>rich</type>
  <url>https://pivot-root.hatenablog.jp/entry/2021/05/08/191750</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
