If you speak exclusively from a browser, you cannot register your own βprotocolβ ... the fact is that when installing iTunes, it registered the itms protocol itms that any link that looks like this:
<a href="itms://something.mp3">click me</a>
It will open the iTunes application. You cannot do this (without starting your own executable file that registers your own protocol with the computer), but what you can do is make a link to the file on our local computer ... example:
<a href="file://c:/windows/notepad.exe">Launch Notepad</a>
Of course, I assume that you are creating a simple HTML page intended for your own internal use (or the internal network of your companies) to run well-known programs from your computer.
source share