Cloudflare worker to open Discord links in Discord client.
Because if you go to https://discord.com/users/461171501715161108 it will go to the website but if you go to https://discordredirect.discordsafe.com/users/461171501715161108 it will open on the client. That's it.
https://discordredirect.discordsafe.com/ENDPOINT
- Users (UserID): https://discordredirect.discordsafe.com/users/287574458963722240.
- Channels (GuildID, ChannelID): https://discordredirect.discordsafe.com/channels/374953833828319232/504679420263661588.
- DM (UserID): https://discordredirect.discordsafe.com/channels/@me/287574458963722240.
- Messages (GuildID, ChannelID, MessageID): https://discordredirect.discordsafe.com/channels/374953833828319232/504679535598501898/782614104539922493.
- Nitro Tab: https://discordredirect.discordsafe.com/store.
- Friends Tab: https://discordredirect.discordsafe.com/channels/@me.
- Library Tab: https://discordredirect.discordsafe.com/library.
- Store Page (SKU ID): https://discordredirect.discordsafe.com/store/skus/241930933962407936.
- Discovery Tab: https://discordredirect.discordsafe.com/guild-discovery.
- Open the last changelog: https://discordredirect.discordsafe.com/settings/changelogs.
- Create a guild: https://discordredirect.discordsafe.com/guilds/create
- Open the same link on another tab.
- Check site settings, allow pop-ups and redirects.
- Try with another browser.
This is because the protocol is open on the last client you installed.
If you downloaded Discord Canary first, then Discord (normal) and the one you use is Discord Canary, your browser will try to open it in Discord (normal) and you won't be able to.
Easy fix:
- Uninstall the client you use.
- Install it again.
Pro hacker fix: (on Windows)
- Press
Windows + X
. - Open
execute
. - Write
regedit
and open. - Allow admin perms.
- Open
HKEY_CLASSES_ROOT
. - Search
Discord
and expand it. - Open
shell
. - Open
open
. - Click and open
command
- Modify the
(default)
value. It will look like this"C:\Users\USER_HERE\AppData\Local\DiscordX\app-0.0.290\DiscordX.exe" --url -- "%1"
. - Search your current Discord Client on
C:\Users\USER_HERE\AppData\Local
. - Open the folder. Example:
C:\Users\USER_HERE\AppData\Local\Discord
. - Open the folder with the highest value. Example:
C:\Users\USER_HERE\AppData\Local\Discord\app-0.0.308
. - Copy the
app...
. - Modify the
(default)
value replacing the path. Remind to replace DiscordX with your client name. (leave it as only discord if it is normal). Also replace app-X with the path you saw before."C:\Users\USER_HERE\AppData\Local\Discord\app-X\DiscordX.exe" --url -- "%1"
- Save it.
- Done!