Roundcube Community Forum

 

Mailto Handler register don't work

Started by grandzebu, January 15, 2020, 09:24:19 PM

Previous topic - Next topic

grandzebu

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

JohnDoh

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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

grandzebu

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