Is there a way to block/disable unknown protocols?

Hello,
I would like to know if there is a way to block unknown protocols or just avoiding having the popup on windows that says: “You’ll need a new app to open this **** link” … Looks for an app in the microsoft store …

let’s take the example I put an url as ‘hhttp://test.com’

I know I can register the unknown protocol: ‘registerStringProtocol(‘hhttp’, …)’ to quiet it, but I would like to not display this annoying popup by default :).

I downloaded the source code of electron but I wasn’t able to find where it could be handled.

Thanks :),