<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gesoges0</author_name>
  <author_url>https://blog.hatena.ne.jp/gesoges0/</author_url>
  <blog_title>めもちょー</blog_title>
  <blog_url>https://memo.geso.site/</blog_url>
  <categories>
    <anon>Chrome</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>popup.htmlのid='tmpBtn'がクリックされた際にbackground.jsにオブジェクトを渡す処理です。 popup.js側の処理 document.getElementById(&quot;tmpBtn&quot;).onclick = function(e){ chrome.tabs.query({ active: true, lastFocusedWindow: true }, (tabs) =&gt; { let curerntTab = tabs[0]; sendBackground(curerntTab); }); } function sendBackground(curerntTab) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo.geso.site%2Fentry%2F2021%2F06%2F20%2F005358&quot; title=&quot;Chrome拡張でpopupとbackgroundの通信を行う - めもちょー&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>2021-06-20 00:53:58</published>
  <title>Chrome拡張でpopupとbackgroundの通信を行う</title>
  <type>rich</type>
  <url>https://memo.geso.site/entry/2021/06/20/005358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
