mailto:
and webcal:
. This is one of those rare cases where Chrome is the latest among all browsers to introduce some useful technology: for example, this feature has been present in Firefox since 2008 (!) Of the year, from version Firefox 3.mailto:
and webcal:
transmitted not into an offline program, but into a web application.mailto:
but any other, arbitrary special links. At the same time, the entire HREF is simply sent to the registered handler (handler), replacing %s
, as shown in the example. navigator.registerProtocolHandler("mailto", "https://www.example.com/?uri=%s", "Example Mail");
Source: https://habr.com/ru/post/139068/
All Articles