From what I remembered Firefox whitelisted ipfs:// links a long time ago, but you needed an extension (add-on) for it fully work.
Corresponding Chromium issue:
https://bugs.chromium.org/p/chromium/issues/detail?id=722567
They've also whitelisted ipfs:// links since August.
Re:IPFS Support in Brave
by onelovetwo on Tuesday January 19, 2021 @08:09PM
(#25841325)
when you type this in your address bar what do you see? ipfs://bafybeiemxf5abjwjbikoz4mc3a3dla6ual3jsgpdr4cjr3oz3evfyavhwq/wiki/Vincent_van_Gogh.html
Re:IPFS Support in Brave
by abdullahkhalids on Wednesday January 20, 2021 @01:57AM
(#25843315)
For me, without addon it just tries to search the url. With the IPFS Companion addon, it just works.
You might have add-on that redirects you to some gateway?
Edit: you guys are right. it seems i have installed the add-on some time ago and forgot about it.