Groups
Groups
Sign in
Groups
Groups
Chromium Extensions
Conversations
About
Send feedback
Help
Prevent the extension service workers idle timeout
273 views
Skip to first unread message
kaiser zhang
unread,
Jan 9, 2023, 9:48:50 PM
1/9/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
Currently, Can be used
runtime port(chrome.runtime.connect)
for prevent the background into Inactive.
The connection runtime port idle timeout was 5 minutes mark of each time.
demo:
https://github.com/zhangkaiser/prevent-extension-background-inactive
wOxxOm
unread,
Jan 10, 2023, 3:41:50 AM
1/10/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, kaise...@gmail.com
There are several workarounds to prolong the SW lifetime for more than 5 minutes in
https://stackoverflow.com/a/66618269
.
Reply all
Reply to author
Forward
0 new messages