NeverDecaf / discord-PWA

A wrapper for the Discord web client as a PWA, made for Chromium browsers on desktop.
MIT License
145 stars 13 forks source link

Ungoogled-Chromium PWA issue after restart - Cannot read properties of undefined (reading 'frameId') #38

Closed klauss194 closed 1 year ago

klauss194 commented 2 years ago

Dear NeverDecaf,

I love the extension. I long dreamed of such setup to have discord running as a PWA therefore allowing my JS in page to be run. I have installed the extension and everything worked well. Until I had to restart computer. Suddenly the extension doesn't work and the link doesn't open anymore ( Popos - Ubuntu ). I have reinstalled the extension with no luck. I have openned the extension inspector to find out it is having this error:

Error handling response: TypeError: Cannot read properties of undefined (reading 'frameId') at chrome-extension://edfpalahildnikdjdnmmoekoncglnblh/background.js:90:82 Is there anyway we could further debug this ? Many thanks K

NeverDecaf commented 2 years ago

Sorry for the late reply; if you've already tried reinstalling the extension I can't think of much else that might easily fix this. It seems like maybe the way PWAs are handled in your setup is causing webNavigation.getAllFrames to fail. One other thing you can try is navigating to chrome://apps/ in your browser and launching the PWA directly from there if you aren't already.

NeverDecaf commented 1 year ago

Feel free to re-open if you see this.