kuba2k2 / firefox-webserial

WebSerial API Polyfill for Mozilla Firefox browser
https://addons.mozilla.org/en-US/firefox/addon/webserial-for-firefox/
MIT License
68 stars 6 forks source link

Fails to connect or open #6

Open Nebula-0-System opened 1 month ago

Nebula-0-System commented 1 month ago

the extension seems to be installed correctly. it's up to date, the files and json are set up properly, but it's not working. running Linux Mint and trying to flash my flipper zero on Flipper Lab. it's not opening the extension when i click connect.

i'm unsure how to further debug but any help would be greatly appreciated

Nebula-0-System commented 1 month ago

image additionally here's the logs. attempted to connect twice and got those. on first click the extension seemed to respond and had me select the proper serial port, but now it's not working

kuba2k2 commented 1 month ago

This seems to be an issue with the website. Because of the way WebSerial needs to inject its JavaScript code (in <head> before anything else starts) it can't always be the first to run on the website.

This website seems to be using a Service Worker. It is a separate script running in an isolated environment. This is not yet supported in this addon.

Nebula-0-System commented 1 month ago

damn, alright. if there's any way i can contribute, please lemme know. i'm still learning to code but i'd love to help any way i can.