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

PWA broken after newest ChromeOS update #45

Open aknight2015 opened 1 year ago

aknight2015 commented 1 year ago

It opens to just a black window. Screenshot 2022-11-02 5 14 59 PM I have ZERO script blockers running. This is the error that's on the extension page. Screenshot 2022-11-02 5 17 06 PM Here's a new error. Screenshot 2022-11-02 5 25 39 PM

NeverDecaf commented 1 year ago

Have you tried removing and re-installing the extension? Remove and re-install the extension. This happens when multiple extensions try to modify headers for a page; the last installed extension has priority while others are blocked access.

aknight2015 commented 1 year ago

I've removed the extension and PWA multiple times. Doesn't fix the problem at all. This only started happening after the latest ChromeOS update.

I will try again with every single extension turned off, even the apps.

aknight2015 commented 1 year ago

Screen recording 2022-11-03 1.39.58 PM.webm I've tried removing the extension, as well as the PWA itself. I turned off every extension I have, and now I can't install the PWA. I've enclosed a video showing that the extension is on, the site doesn't recognize it, and that all other extensions are disabled.

NeverDecaf commented 1 year ago

You can't install the PWA because it is already installed, as indicated by the popout icon image You should be able to launch it from chrome://apps or by simply clicking on that icon. Can you check what version of Chrome you are using (the browser, not OS)? I'm on 107.0.5304.88 and it still works for me.

aknight2015 commented 1 year ago

SUCCESS! It was the Startpage browser extension. When I disabled it the first time it didn't fully disable, yay ChromeOS. So I removed it. Your PWA works just fine. It does have a whitelist. How about you and I figure out what is needed to whitelist so the two can get along?

NeverDecaf commented 1 year ago

Are you referring to this extension? I tried installing it in my setup and discord-PWA still functions fine. I skimmed the source and it looks like that extension does in fact use the webrequest api, so I still suspect there is some issue involving competing webrequest rules.

aknight2015 commented 1 year ago

That's the one. Ever time I used it the Discord PWA broke. As soon as I got rid of it the PWA worked fine. I'm using AdGuard now and there's no issue.

NeverDecaf commented 1 year ago

I can't replicate this, maybe the issue is specific to your browser, or possibly some combination of multiple extensions is causing it.