Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any protocol can request to be registered with the browser. Just a simple line of JavaScript[1]:

window.navigator.registerProtocolHandler(scheme, url, title);

[1] http://www.w3.org/TR/html5/timers.html#custom-handlers



Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: