<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>holyblue</author_name>
  <author_url>https://blog.hatena.ne.jp/holyblue/</author_url>
  <blog_title>holyblueのブログ</blog_title>
  <blog_url>https://blog.holyblue.jp/</blog_url>
  <categories>
    <anon>Chrome拡張機能</anon>
  </categories>
  <description>今回、私が作成したマウスジェスチャのChrome拡張機能 &quot;Our Mouse Gesture&quot;のManifestファイルをv2→v3に変更した際に一番困った「一定時間を経過するとevent.jsでChrome拡張機能のAPIが動作しなくなる。」現象で私が実施した回避方法を記載します。 この現象、ネットで検索しても全然ヒットせず、「私だけ・・・？」と困惑しました。 英語のサイトまで幅を広げて調べると、同じ現象で困っている人は少しヒットするものの誰も問題を解決できていない状況でした。 1. 一定時間を経過するとevent.jsでChrome拡張機能のAPIが動作しなくなる原因 2. 原因調査 3…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.holyblue.jp%2Fentry%2F2023%2F04%2F23%2F192932&quot; title=&quot;Chrome拡張機能で一定時間を経過するとService Workerが「無効(Inactive)」状態になり、event.jsでChrome拡張機能のAPIが動作しなくなる問題の回避策について - holyblueのブログ&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/h/holyblue/20230423/20230423173707.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-23 19:29:32</published>
  <title>Chrome拡張機能で一定時間を経過するとService Workerが「無効(Inactive)」状態になり、event.jsでChrome拡張機能のAPIが動作しなくなる問題の回避策について</title>
  <type>rich</type>
  <url>https://blog.holyblue.jp/entry/2023/04/23/192932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
