<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anmino</author_name>
  <author_url>https://blog.hatena.ne.jp/anmino/</author_url>
  <blog_title>あんみのの備忘録</blog_title>
  <blog_url>https://anmino.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>a要素のhref属性に設定されたURLを検索し、自サイトのドメインとは異なる他サイトのURLが設定されている場合に別ウインドウで開く。 MyLib.event.observe(window, &quot;load&quot;, openWindow, false); function openWindow(){ //window.locationオブジェクトのhostプロパティから、現在アクセスしているホスト名を取得し //href属性を検索するための正規表現オブジェクトを生成する var siteURI = new RegExp(&quot;http(s)?://&quot; + window.location.host + &quot;/…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanmino.hatenadiary.org%2Fentry%2F20110813%2F1313164862&quot; title=&quot;外部リンクを新しいウインドウで開く - あんみのの備忘録&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>2011-08-13 01:01:02</published>
  <title>外部リンクを新しいウインドウで開く</title>
  <type>rich</type>
  <url>https://anmino.hatenadiary.org/entry/20110813/1313164862</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
