-
Notifications
You must be signed in to change notification settings - Fork 2.3k
How to remove IPFS protocol association
vadims edited this page Sep 18, 2024
·
2 revisions
Sometimes when you open IPFS links like next one: ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html
, Brave can propose you to open the link with other installed Brave version (Ex.: Nightly or may be Development).
It happens, because IPFS scheme is associated with you Nightly or Development Brave version. As the IPFS support has been deprecated, the next steps help you to remove registered IPFS scheme association from your OS.
- Run the next command:
open ~/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist
- Find all items with
LSHandlerURLScheme
equalsipfs
oripns
and delete them. - Reboot the computer.
- Open
Registry Editor
- Check
ipfs
or/endipns
keys existing in the next registry locationComputer\HKEY_CLASSES_ROOT
- If exists, make sure that it is associated with Brave Browser by checking the
Computer\HKEY_CLASSES_ROOT\ipfs\shell\open\command
. - Delete whole protocol association:
Computer\HKEY_CLASSES_ROOT\ipfs
and/orComputer\HKEY_CLASSES_ROOT\ipns
- Open the file:
/usr/share/applications/defaults.list
- Make sure you have no
ipfs
or/endipns
related lines like:x-scheme-handler/ipfs=brave-browser-nightly.desktop
- Build cache database of MIME types handled by desktop files (may need
sudo
):update-desktop-database
- Test with
xdg-open "ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html"
. - Brave should not be proposed for opening that link