Using the implicit auth flow with a static single-page app

With your native executeable can you do something like Electron does to register a HTTP Protocol/custom URI handler to intercept