<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>turgenev</author_name>
  <author_url>https://blog.hatena.ne.jp/turgenev/</author_url>
  <blog_title>turgenev’s blog</blog_title>
  <blog_url>https://turgenev.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Windowsで、シャットダウン前にちょっとしたクリーンアップ処理的なのを行うのは一般ユーザー権限でも割とできる、という話です。 きっかけ 筆者はFirefoxを使っているのですが、はてなブログの記事を書いている途中に（未保存の状態で）シャットダウン（あるいは再起動やサインアウト）した場合、なぜか何も警告が表示されずにFirefoxが終了してしまい、下書き内容が失われてしまう、ということが何度かありました。 はてなブログ含め、beforeunloadを使っているページにおいて、普通に×ボタンを押したときはちゃんと警告が出るのに、シャットダウン時だと出ません。 ちなみにFirefoxだけかと思っ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fturgenev.hatenablog.com%2Fentry%2F2026%2F08%2F20%2F112656&quot; title=&quot;Windowsの「シャットダウン順序」を利用して、一般ユーザー権限でシャットダウン時の（Firefoxなどの）挙動を改善 - turgenev’s blog&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>2026-08-20 11:26:56</published>
  <title>Windowsの「シャットダウン順序」を利用して、一般ユーザー権限でシャットダウン時の（Firefoxなどの）挙動を改善</title>
  <type>rich</type>
  <url>https://turgenev.hatenablog.com/entry/2026/08/20/112656</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
