Author Topic: Mailto Handler register don't work  (Read 1065 times)

Offline grandzebu

  • Newbie
  • *
  • Posts: 2
Mailto Handler register don't work
« 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

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,494
Re: Mailto Handler register don't work
« Reply #1 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.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline grandzebu

  • Newbie
  • *
  • Posts: 2
Re: Mailto Handler register don't work
« Reply #2 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