jc3213 / download_with_aria2

The browser extenson for aria2 download utility via JSON-RPC
GNU Lesser General Public License v2.1
66 stars 9 forks source link

Keep-Alive Service Worker [Manifest V3] #11

Closed jc3213 closed 1 year ago

jc3213 commented 2 years ago

I've done the code with Web Socket for indicating aria2 running status. It works well for Firefox using background page, but can't work for Chromium due to the life time of Service Worker.

I wonder if someone can help me with this

_Originally posted by @jc3213 in https://github.com/jc3213/download_with_aria2/issues/10#issuecomment-1021149859_

daiaji commented 2 years ago

RPC那里直接填wss://aria2.test.xyz:8888/jsonrpc 就完事了? 好像没用。 还是WebSocket (safe)没实现? firefox

jc3213 commented 2 years ago

这个Issue是为了解决MV3默认使用ServiceWorker做后台,无法保持长期连接问题的。如果有需要请另外开个Issue