Strencher / BdBrowser

72 stars 8 forks source link

Plugins cannot check for updates #9

Open IIRobotNinjaII opened 3 years ago

IIRobotNinjaII commented 3 years ago

On edge , on startup many plugins can't seem to check for updates and can't download additional libraries or new updates automatically

huds0nx commented 3 years ago

running into this as well. also getting errors that it can't download emotes and another error saying "Could not initiate BDFDB Library Plugin. Check your Internet Connection and make sure GitHub isn't blocked by your Network or try disabling your VPN/Proxy.".

Strencher commented 3 years ago

Yes, I got lots of reports about that, I can't reproduce that so that makes it harder to fix the issue. I believe it's some CSP (Content Secure Policy) issue or the browser doesn't like me remove it. It could also be a firewall issue.

huds0nx commented 3 years ago

that could definitely be a cause. just in case, here are a few screenshots of the errors i am getting:

CleanShot 2021-10-05 at 16 17 10@2x CleanShot 2021-10-05 at 16 17 27@2x CleanShot 2021-10-05 at 16 18 56@2x CleanShot 2021-10-05 at 16 18 23@2x

don't know if it would mean anything but i am using chrome on the latest version, on macos (specifically an m1 mac). also, where are the plugins and themes stored on the computer?

Strencher commented 3 years ago

The last one isn't related. The other ones are definitely.

IIRobotNinjaII commented 3 years ago

Anything I can do to narrow it down?

image

Strencher commented 3 years ago

Okay so, can you switch the context in your console (in the top bar select BetterDiscord instead of Top) and run this code?

fetch("https://github.com");
huds0nx commented 3 years ago

I know you told him to run the fetch command, but I just ran it too and got this

CleanShot 2021-10-06 at 12 42 37@2x

:

Strencher commented 3 years ago

You ran it inside the proper context i assume?

huds0nx commented 3 years ago

Ehhhh. I just copied and pasted it into the console

huds0nx commented 3 years ago

okay so I just launched chrome with no cors (--disable-web-security), and I still got the error. I think this means it is not a problem with CORS when it gives the initializing bdfb and emojis

IIRobotNinjaII commented 3 years ago

image

yah I run fetch("https://github.com"); in console.

Strencher commented 3 years ago

Yes, that's the issue. Your browser is ignoring my CSP rules for some reason. Maybe I added them wrong? Not sure because it works fine for a lot people.

IIRobotNinjaII commented 3 years ago

Can I change anything in my browser that will fix it?