Firefox – How to configure Firefox open Zoom URLs using Zoom application

firefoxmime-typesxdg

I'm using a conference application called Zoom. There are URLs that can be clicked to open the application and let jump in right away to the meeting that ID existed in the URL. For example: https://zoom.us/j/1234567890

But none of the URLs I tried actually opens the application.

Or for instance when I try to login to my account, the app opens Firefox which after logging in through the web, redirects me to zoommtg://zoom.us/google?code=XXX and Firefox shows a message saying "The address wasn’t understood".

I tried the following boolean key on the about:config page for Firefox.

network.protocol-handler.expose.zoommtg=false

and I tried assigning true instead of false, but this didn't do the trick.

My Firefox has the following key/value

network.protocol-handler.expose-all;true

I understand that this configuration makes me not need to set the previous one as it overrides it.

From within my ~/.local/share/applications

$ cat Zoom.desktop 
[Desktop Entry]
Name=Zoom
Comment=Zoom Video Conference
Exec=/usr/bin/zoom %U
Icon=Zoom.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;Application;
StartupWMClass=zoom
MimeType=x-scheme-handler/zoommtg;application/x-zoom;
X-KDE-Protocols=zoommtg
Name[en_US]=Zoom
$ cat mimeapps.list 

[Default Applications]
text/html=firefox_firefox.desktop
x-scheme-handler/http=firefox_firefox.desktop
x-scheme-handler/https=firefox_firefox.desktop
x-scheme-handler/about=firefox_firefox.desktop
x-scheme-handler/unknown=firefox_firefox.desktop
x-scheme-handler/zoommtg=Zoom.desktop
application/x-zoom=Zoom.desktop

How can I configure Firefox to redirect the Zoom URLs to the application, so I can login to my account and use meeting links to join the meetings instantly ?

Best Answer

I struggled with this as the instructions on adding a new protocol either referred to pre-Quantum versions of Firefox or assume I have gnome. Finally what worked for me were the instructions I found here: https://www.reddit.com/r/firefox/comments/6p6470/firefox_doesnt_recognize_telegramdesktops_tg_link/

  1. Type about:config in the location bar to get to Firefox configuration. Right click -> New -> Boolean -> "network.protocol-handler.expose.zoommtg" -> false
  2. (Likely superfluous, but I did this while looking for the solution so I'm including it.) Still in about:config, Right click -> New -> Boolean -> "network.protocol-handler.external.zoommtg" -> true
  3. Copy the zoommtg://zoom.us/... link Firefox couldn't open. Then type the following in the location bar: data:text/html,<a href="[PASTE ZOOMMTG LINK HERE]">Click me</a>
  4. An empty webpage should show up with a link that says "Click me" in the top left corner. Click it :D
  5. Firefox should pop up a dialog asking you for the application to open the protocol. Provide the path to the zoom application (if you don't know where it is, type which zoom in a terminal).

Hope it works. Good luck!