Output
Sample Code
This is the demo for registerProtocolHandler.
HTML:
<h1><a href="tel:8180063781"> tel:8180063781</a></h1><script>
if (navigator.registerProtocolHandler){
navigator.registerProtocolHandler("tel", "http://miketaylr.com/pres/capjs/demo/?%s", "myProtocolHandler");
}
</script>