Custom browser protocol

How do you get the browser to run an application or a script on your local computer? For this to work you need to set up a connection between your browser and the script or application you wish to run. This link is called a custom browser protocol.

- Custom browser protocols -

You may want to set up a type of link where if a user clicks on it, it will launch the [foo] application. Instead of having ‘http’ as the prefix, you need to designate a custom protocol, such as ‘foo’. Ideally you want a link that looks like: `foo://some/info/here`

# Custom Protocol Handler

There is also a nice modern way to register a protocol handler to a custom https url in javascript: - Launching applications -

# Links - Custom protocol handler in... - - RegisterProtocolHandler - - Registering a custom... - - Registering an Application... -

# See also - Custom url scheme