veteran29/steam-url-open-extension

Why click twice?

vertigoelectric opened this issue · 2 comments

This isn't a big deal, but whenever I have a steam page open and I want to open it in the Steam app I have to click the extension toolbar button twice. Is there a reason for this? Can it be fixed?

It's due to needing to switch to Manifest v3 and Chrome putting the service worker to sleep, the first click "wakes" the service worker and the second works as intended.

https://bugs.chromium.org/p/chromium/issues/detail?id=1152255

I'm pretty sure there's a solution to fix this but I do not have time to research how to fix this minor inconvenience.

Thanks for the quick response! Yeah it's not worth spending much time on. I was just wondering why it worked that way and now I know. 👍