<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hiatama</author_name>
  <author_url>https://blog.hatena.ne.jp/hiatama/</author_url>
  <blog_title>新・日々の暮らしに疲れてない？</blog_title>
  <blog_url>https://hiatama.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>拡張機能のアイコンをクリックするだけで機能を実行するにはどうしたらいいのか。 ポップアップファイルの中で関数を実行すればいいじゃんね、実行後ページをwindow.close() で閉じれば動作した。 コンテンツスクリプトなんかとやり取りが必要ならそう単純じゃないでしょうが、とりあえずこれで 満足。任意のタイミングで機能を実行したい時は、この操作が確実でいいですね。（まぁキーボード操作も良いんですけど、発火のコントロールが結構難しい） でもこれだとよくある、ポップアップページで機能の設定をいじる、ということが出来ない。実行時にポップアップページが開かれてしまったら閉じる手間も増えるしナンセンス。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiatama.hatenablog.com%2Fentry%2F2019%2F06%2F02%2F193411&quot; title=&quot;【Chrome拡張機能】拡張機能のアイコンをクリックするだけで機能を実行するぅ - 新・日々の暮らしに疲れてない？&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>2019-06-02 19:34:11</published>
  <title>【Chrome拡張機能】拡張機能のアイコンをクリックするだけで機能を実行するぅ</title>
  <type>rich</type>
  <url>https://hiatama.hatenablog.com/entry/2019/06/02/193411</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
