<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>railtown</author_name>
  <author_url>https://blog.hatena.ne.jp/railtown/</author_url>
  <blog_title>railtownの日記</blog_title>
  <blog_url>https://railtown.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>ウェブのフォームでsubmitボタンを二度押ししてしまうユーザーがよくいます。 その理由は主に・単純なミス ・submit後の返答が遅く、ちゃんと押せていなかったと勘違いしてもう一度押す ・Windowsでファイルをダブルクリックして開くクセをそのままウェブに持ち込んでいるなどなど。 かなりポピュラーな問題なので、開発者は何らかの対策を講じておかなくてはいけません。とりあえず簡単なのはJavaScriptで二度押し防止を実装すること。自分の場合はすごい昔に拾ってきたコードをずっと使い続けているのですが、こちらのエントリーで非常に詳しく解説されています。今後はこっちを使わせてもらおうかと思ってま…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frailtown.hatenadiary.org%2Fentry%2F20080515&quot; title=&quot;JavaScriptでsubmitボタン二度押し防止する - railtownの日記&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>2008-05-15 00:00:00</published>
  <title>JavaScriptでsubmitボタン二度押し防止する</title>
  <type>rich</type>
  <url>https://railtown.hatenadiary.org/entry/20080515</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
