Microsoft Teams browser desktop notifications fail
-
So we're moving to Microsoft Teams at work and on Linux I use it in-browser. Unfortunately desktop notifications didn't work so when someone said something somewhere I never got any notification and would essentially ignore the person because of that.
Anyway, I wanted to fix this by adding desktop notifications and dug up the AngularJS mess of what Teams is and found the plugin/module/whatever that does that. Then hooked things for a while and finally captured the in-tab notifications that were created. Hooray!
When I started using the
Notification
API to actually show those notifications outside the browser I suddenly noticed I got the real notifications from Teams in addition to what I hacked together.Took me a while to realize this but it would have worked from the start if Microsoft had this anywhere in the bootstrap code as the plugin they use does indeed send the notifications:
Notification.requestPermission();
So if you want desktop notifications from the Microsoft Teams browser version, paste that into the browser JS console and accept the request once to permanently get notifications from everything like you should.
-
@hifi Sounds like it was noot noot very well programmed.
-
@anonymous234 said in Microsoft Teams browser desktop notifications fail:
@hifi Sounds like it was noot noot very well programmed.
A Pingu joke? Really? REALLY?
I'd page Groaner, but I'm not sure how many people will even get that one since I don't know how big a market that claymation silliness even had...
-
@hifi said in Microsoft Teams browser desktop notifications fail:
when someone said something somewhere I never got any notification and would essentially ignore the person
Depending on the "someone", that might be a feature rather than a bug x-D
-
-
Am I the only one thinking @hifi is doing it wrong. He isn't getting notifications but he knows the reason why so he can laugh at the people who implemented. The best of both possible worlds. What he does is fix the problem and then get notifications. The worst of all possible worlds.
-
@Luhmann said in Microsoft Teams browser desktop notifications fail:
@Onyx said in Microsoft Teams browser desktop notifications fail:
A Pingu joke?
Those leave me cold
OK, now I'm paging @Groaner
-
@DogsB said in Microsoft Teams browser desktop notifications fail:
Am I the only one thinking @hifi is doing it wrong. He isn't getting notifications but he knows the reason why so he can laugh at the people who implemented. The best of both possible worlds. What he does is fix the problem and then get notifications. The worst of all possible worlds.
That kind of thinking gets you ordered to migrate to the platform where stuff works.
-
@hifi said in Microsoft Teams browser desktop notifications fail:
So if you want desktop notifications from the Microsoft Teams browser version,
paste that into the browser JS console and accept the requestenable notifications once to permanently get notifications from everything like you should.
-
@LB_ That's probably a Chrome only feature to have a list of all permissions. Firefox does not list them unless a site has requested something once.
-
@LB_ said in Microsoft Teams browser desktop notifications fail:
@hifi said in Microsoft Teams browser desktop notifications fail:
So if you want desktop notifications from the Microsoft Teams browser version,
paste that into the browser JS console and accept the requestenable notifications once to permanently get notifications from everything like you should.I have to revoke Discord's microphone permission and refresh every time I leave a chat or it keeps my discord tab recording even after a refresh while muted and disconnected from chat.
I mean, it's not like anyone's able to spy on me through that since I don't talk when I'm alone, but it does mean I can't see the new message counter and the persistent recording icon means I don't know whether people can actually hear me.
-
@hifi it's probably buried somewhere in Firefox's interface. I don't have it installed right now or I'd check, but I'd find it strange if Firefox didn't let you explicitly grant permissions.
-
@LB_ Actually you're right, it's buried a bit deeper. Easier fix than doing the JS thingy although it doesn't remove the WTF of not calling it in the first place as the user doesn't know he/she could receive notifications.
-
@Onyx said in Microsoft Teams browser desktop notifications fail:
@anonymous234 said in Microsoft Teams browser desktop notifications fail:
@hifi Sounds like it was noot noot very well programmed.
A Pingu joke? Really? REALLY?
I'd page Groaner, but I'm not sure how many people will even get that one since I don't know how big a market that claymation silliness even had...
It was pretty popular in Poland among 2 years olds.
-
@Gąska said in Microsoft Teams browser desktop notifications fail:
It was
But popularity has run cold?
-
@Luhmann said in Microsoft Teams browser desktop notifications fail:
@Gąska said in Microsoft Teams browser desktop notifications fail:
It was
But popularity has run cold?
nah, now it's popular with 30-year-olds
-
@hifi said in Microsoft Teams browser desktop notifications fail:
@LB_ Actually you're right, it's buried a bit deeper. Easier fix than doing the JS thingy although it doesn't remove the WTF of not calling it in the first place as the user doesn't know he/she could receive notifications.
I don't know if this is what you meant, but it's Permissions tab on the Page Info dialog, which you can reach either through the Tools menu or the page's context menu.
I had to look that up because I couldn't remember where it was.
-
@homoBalkanus said in Microsoft Teams browser desktop notifications fail:
nah, now it's popular with 30-year-olds
I still occasionally see Pingu icecreams in restaurants.
(picture blatantly stolen off the interwebs)
ETA: I just noticed whoever took the picture poured coffee over the icecream. Not a bad idea.
-
@Zecc said in Microsoft Teams browser desktop notifications fail:
I don't know if this is what you meant, but it's Permissions tab on the Page Info dialog, which you can reach either through the Tools menu or the page's context menu.
I had to look that up because I couldn't remember where it was.
Yes, there, the list that comes down from the button only had the ones with non-default values.