From d74feede1d2cfc5fc62654b9956ed53259e18bc2 Mon Sep 17 00:00:00 2001 From: yakisova41 Date: Mon, 1 Apr 2024 19:33:21 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix:=20Service=20worker=20has=20?= =?UTF-8?q?been=20disbled=20in=2030sec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/crx-monkey/src/node/static/files/contentScriptDev.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/crx-monkey/src/node/static/files/contentScriptDev.js b/packages/crx-monkey/src/node/static/files/contentScriptDev.js index da188ad..05d3dec 100644 --- a/packages/crx-monkey/src/node/static/files/contentScriptDev.js +++ b/packages/crx-monkey/src/node/static/files/contentScriptDev.js @@ -12,3 +12,7 @@ websocket.addEventListener('message', ({ data }) => { break; } }); + +setInterval(() => { + chrome.runtime.sendMessage('Hello sw'); +}, 15 * 1000);