<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>golang</author_name>
  <author_url>https://blog.hatena.ne.jp/golang/</author_url>
  <blog_title>golangの日記</blog_title>
  <blog_url>https://golang.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>タブ(ページ)内で実行するコンテンツスクリプトでは、拡張機能固有のストレージやその他APIなど、 使用/実行できないものがあります。なので、コンテンツスクリプトからバックグラウンドへメッセージを送ってバックグラウンドで処理します。 その逆も同じで、タブ内の要素に変更を加えるなど、コンテンツスクリプトで行うような処理に関しては、 バックグラウンドからコンテンツスクリプトにメッセージを送って処理をさせます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgolang.hateblo.jp%2Fentry%2Fbrowser-extension-addon-messaging&quot; title=&quot;ブラウザ拡張機能/アドオン backgroundとcontentScript間でメッセージのやり取り - golangの日記&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/g/golang/20220311/20220311092646.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-11-30 10:00:00</published>
  <title>ブラウザ拡張機能/アドオン backgroundとcontentScript間でメッセージのやり取り</title>
  <type>rich</type>
  <url>https://golang.hateblo.jp/entry/browser-extension-addon-messaging</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
