simplest cross-browser check if protocol handler is registered

后端 未结 5 1410
青春惊慌失措
青春惊慌失措 2020-12-02 14:47

When user clicks link with custom protocol (like myapp://superlink)

I need either launch an app or allow user to download and run configuration app

5条回答
  •  温柔的废话
    2020-12-02 14:57

    kororo's solution wouldn't work for me for some reason, so I managed with this slightly modified solution instead.

    
    Click Me
    
    
    

提交回复
热议问题