Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: grandzebu on January 15, 2020, 09:24:19 PM

Title: Mailto Handler register don't work
Post by: grandzebu on January 15, 2020, 09:24:19 PM
Hello,
In France many people use the Rouncube version of the OVH company at : https://mail.ovh.net/roundcube   ( V 1.4.2)
The link to register the protocol handler does not work. (preferences menu - user interface)
The code source is :
<a href="#" id="mailtoprotohandler">Register protocol handler for mailto: links</a><span class="mailtoprotohandler-status"></span>
which does nothing ...
when we should find something like:
<script type="text/javascript">
  navigator.registerProtocolHandler("mailto", "https://mail.ovh.net/roundcube/?_task=mail&_action=compose&_to=%s", "Roundcube mail");
</script>
I would like to know if this functionality is implemented or if the supplier (OVH) has disabled it.
Thank's
GZ
Title: Re: Mailto Handler register don't work
Post by: JohnDoh on January 16, 2020, 01:23:55 AM
The function is disabled when not supported by the browser. You can find information about browser support here https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler#Browser_compatibility. Note: Modern browsers only support this function when using HTTPS.
Title: Re: Mailto Handler register don't work
Post by: grandzebu on January 16, 2020, 06:28:21 AM
Ok thank you for the answer. I'm on vacation with an old computer.
I will try in the office with the latest version of Firefox.
GZ