<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>odagie</author_name>
  <author_url>https://blog.hatena.ne.jp/odagie/</author_url>
  <blog_title>はてブのぶ</blog_title>
  <blog_url>https://hatebunobu.hatenablog.com/</blog_url>
  <categories>
    <anon>カスタマイズ</anon>
  </categories>
  <description>記事のリンクをクリックした時に、外部サイトは「新しいタブ」で開きたい。 はてなブログは、デフォルトで、リンクが全て同じページで開いてしまうようなので、外部サイトへのリンクを別タブで開くようにします。 headerに記載するコード target=&quot;_blank&quot;を使用します。フィッシング詐欺対策でrel=&quot;noreferrer noopener&quot;も&lt;a&gt;タグに付与するようにしました。 コードはheaderに記載します。 【記載するコード】 &lt;!-- リンクを別タブで開く --&gt;&lt;script type=&quot;text/javascript&quot; src=&quot;//ajax.googleapis.com/aj…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhatebunobu.hatenablog.com%2Fentry%2Flink-tabopen&quot; title=&quot;はてなブログ&amp;lt;a&amp;gt;リンクが別タブで開くように設定する方法【コードrel属性あり】 - はてブのぶ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/o/odagie/20231114/20231114215302.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-06-17 17:48:00</published>
  <title>はてなブログ&lt;a&gt;リンクが別タブで開くように設定する方法【コードrel属性あり】</title>
  <type>rich</type>
  <url>https://hatebunobu.hatenablog.com/entry/link-tabopen</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
