IPFS Button Inconsistently Works

Description of the issue:
When visiting links in the browser from an IPFS gateway you are unable to use the IPFS button in the browser.

Steps to Reproduce (add as many as necessary): 1. 2. 3.
Gateway URL: https://ipfs.io/ipfs/QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D

Go to Gateway URL in Browser
Gateway responds with asset and header of x-ipfs-path
Click IPFS Button

Actual Result (gifs and screenshots are welcome!):
Local IPFS URL: http://localhost:48084/ipns/ipfs.io/ipfs/QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D

Expected result:

Reproduces how often:

Operating System and Brave Version(See the About Brave page in the main menu):
Windows 11 - 1.42.97

Additional Information:
Working Site with IPNS Entry: https://dist.ipfs.tech/#ipfs-update
Sites with just an IFPS X-Link do not work right so it appears some duck typing just needs to be added to understand when to try access via IPNS vs IPFS.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.