<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>absg</author_name>
  <author_url>https://blog.hatena.ne.jp/absg/</author_url>
  <blog_title>やったこと</blog_title>
  <blog_url>https://absg.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>iPhoneのSafariでページを移動したときに、ajaxで何か情報を送信したいときのコードです！ jQuery(window).on('pagehide', function() { sendAjaxData(); }); function sendAjaxData(){ var ajax_url = &quot;http://hogehoge.com&quot;; var post_data = new Object(); post_data.hoge1 = 'hoge!'; post_data.hoge2 = 'hoge!hoge!'; post_data.hoge3 = 'hoge!hoge!hoge!…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fabsg.hatenablog.com%2Fentry%2F2018%2F12%2F08%2F221605&quot; title=&quot;【iOS】iPhoneでページ離脱時にajaxで情報を送信するゾ！ - やったこと&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>2018-12-08 22:16:05</published>
  <title>【iOS】iPhoneでページ離脱時にajaxで情報を送信するゾ！</title>
  <type>rich</type>
  <url>https://absg.hatenablog.com/entry/2018/12/08/221605</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
