<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cafebabe</author_name>
  <author_url>https://blog.hatena.ne.jp/cafebabe/</author_url>
  <blog_title>かふぇ・べいぶ別館</blog_title>
  <blog_url>https://cafebabe.hatenablog.com/</blog_url>
  <categories>
    <anon>mac</anon>
  </categories>
  <description>数時間ほどはまってしまった…．要するに，Mac OS XでWebブラウザを制御するために今までAppleScriptを使っていたのだが，ローカルで生成したHTMLファイルを指定しても読み込んでくれないのだ．ただし，一度その画面を表示させておけば，再ロードはしてくれる． これはセキュリティを考慮した制限なのかもしれない．つまり，プログラムで勝手にローカルファイルを読み込ませてアクセスできないようにしているのではないかな． 結局ここ数年間そのまま使って来たコードをopenコマンドを使って書き直して対処した．</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebabe.hatenablog.com%2Fentry%2F20091116%2F1258428465&quot; title=&quot; AppleScriptではSafariがローカルファイルを読み込まない？ - かふぇ・べいぶ別館&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>2009-11-16 12:27:45</published>
  <title> AppleScriptではSafariがローカルファイルを読み込まない？</title>
  <type>rich</type>
  <url>https://cafebabe.hatenablog.com/entry/20091116/1258428465</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
