replugged-org / replugged

A lightweight Discord client mod focused on simplicity and performance.
https://replugged.dev/
MIT License
638 stars 65 forks source link

Deeplinks don't work with MacOS Safari #599

Open Nygosaki opened 6 months ago

Nygosaki commented 6 months ago

Describe the bug

The deeplinks to install plugins and themes from the replugged website via the "install" button don't work, saying Could not connect to Replugged, please make sure Discord is open with the latest version of Replugged installed and try again. When attempting to install plugins or themes in safari

Reproduction steps

  1. Use MacOS
  2. Launch plugged in discord
  3. Click the "install" button on any plugin or theme from the replugged store through Safari

Expected behavior

For the installation to begin

Actual behavior

A error saying Could not connect to Replugged, please make sure Discord is open with the latest version of Replugged installed and try again. is shown

Additional information

No response

Please confirm the following

gaygoblin commented 1 month ago

This seems to be happening to me, and I'm on win11, so i think its a wider issue outside of just MacOS

asportnoy commented 1 month ago

This is a known issue due to certain privacy protections in Safari, along with some other browsers like Brave and some filter lists within uBlock origin. These restrict connections to your local machine, which prevents the Replugged website from communicating with Discord. For us to fix this, we would need to add an alternate way for these browsers to connect to Replugged, which presents a variety of issues.

An easy workaround is to copy the link of the addon from the store and use it in the /install command. Alternatively, Chrome and Firefox should both work, so you can try accessing the store from one of those if you aren't already.