Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
UCyborg
Lunatic
Lunatic
Posts: 345
Joined: 2019-01-10, 09:37
Location: Slovenia

Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by UCyborg » 2025-04-11, 08:46

The question in title, like how Edge does it. Well, Firefox can do it as well it seems. No idea how, there's no "msteams" specified on the settings page with file->program associations.

I'm not sure, could be something messed up on my end, Interlink mail client is actually able to launch MS Teams from the invitation link.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5549
Joined: 2015-12-09, 15:45

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by moonbat » 2025-04-12, 00:21

If I recall, someone here made an extension to edit the file associations page but I don't remember the name.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
Kerebron
Fanatic
Fanatic
Posts: 125
Joined: 2016-12-04, 22:01

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by Kerebron » 2025-04-12, 01:12

There's one for adding new MIME types, very unexpectedly called NewMIME.
Now, here, you see, it takes all the running you can do, to keep in the same place. If you want to get somewhere else, you must run at least twice as fast as that!

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2387
Joined: 2018-05-05, 13:29

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by vannilla » 2025-04-12, 16:06

Kerebron wrote:
2025-04-12, 01:12
There's one for adding new MIME types, very unexpectedly called NewMIME.
That extension will only accept MIME specs, i.e. <type>/<name> (notice the forward slash) as explained in the description.
If MS Teams handles are not codified like that you cannot use it. I don't know if they are and I didn't look them up.
It's why I didn't suggest it earlier (I'm the author).

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37518
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by Moonchild » 2025-04-12, 17:05

MS Teams should have registered itself as a protocol handler. If that is the case, then you will see an entry for it in preferences->Applications. If not, then maybe reinstalling the teams app will fix that.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
UCyborg
Lunatic
Lunatic
Posts: 345
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by UCyborg » 2025-04-13, 12:11

I don't know how those links are supposed to work. They're plain HTTPS links leading to a web page where you can choose to use Teams in a web browser or launch client application on computer. Except with Interlink, nothing is opened in web browser but Teams on computer is launched right away. But Pale Moon opens the page and when you click the button to launch Teams, nothing happens, no error in console either.

I didn't try to see what happens if you click to "Continue on this browser", I expect it won't be usable due to lack of WebRTC.

Considering both Pale Moon and Interlink are UXP based applications, it's puzzling what's the difference. Surely Interlink wouldn't be able to launch Teams if it wasn't registered?

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2863
Joined: 2012-08-19, 20:32

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by back2themoon » 2025-04-13, 13:01

I confirm the weirdness of these links, so I just open them in Edge, using the Open With extension in Epyrus.

User avatar
FranklinDM
Add-ons Team
Add-ons Team
Posts: 616
Joined: 2017-01-14, 02:40
Location: Philippines

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by FranklinDM » 2025-04-15, 01:03

Known issue: Issue #2031 (UXP)

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37518
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by Moonchild » 2025-04-17, 09:36

Oh, right. it's been a while so that slipped my mind -- and I thought this was just about a standard protocol link.
But if it's inside a sandboxed iframe... what do they really expect?

So, consider this a security feature of Pale Moon. No escaping the sandbox allowed!
I'm really apprehensive about punching a hole in the sandbox wall for this. Custom protocols are already a pretty big hazard as it is (it regularly pops up in CVEs).
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
UCyborg
Lunatic
Lunatic
Posts: 345
Joined: 2019-01-10, 09:37
Location: Slovenia

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by UCyborg » 2025-04-17, 12:39

So what's special about Interlink? I don't need it strictly in Pale Moon since I mostly open them from mail client, but in case that I open invitation mail in a browser; it's a bit silly to have to open Edge just to launch Teams.

vannilla
Moon Magic practitioner
Moon Magic practitioner
Posts: 2387
Joined: 2018-05-05, 13:29

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by vannilla » 2025-04-17, 15:35

UCyborg wrote:
2025-04-17, 12:39
So what's special about Interlink?
Just a guess: links in e-mails are not handled through iframes so the program is able to call Teams without being blocked by security measures.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37518
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Is it possibe to make Pale Moon handle MS Teams invitation links and launch the Teams client?

Unread post by Moonchild » 2025-04-17, 16:40

vannilla wrote:
2025-04-17, 15:35
links in e-mails are not handled through iframes
In fact, html e-mails with iframes in them are commonly blocked by mail servers (because they are considered high-risk for foreign content inclusion in mail)
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite