Skip to content

Tampermonkey script in order to enable browser notifications for the Web-based Microsoft Teams chat. Useful in Linux (in Linux chat notifications do not work).

Notifications You must be signed in to change notification settings

ocafebabe/ms-teams-notifications-tampermonkey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Microsoft Teams Browser Notifications

Tampermonkey script in order to enable browser notifications for the Web-based Microsoft Teams chat. Useful in Linux (in Linux chat notifications do not work).

Tested and working:

  • Chrome 69 / Linux Mint 18.3

Installation

  1. Install Chrome's Tampermonkey extension.
  2. Install Greasy Fork installation script
  3. Reload https://teams.microsoft.com/
  4. Enable Teams notifications

Teams notifications

How does it work

What the script basically does is to listen to the <title> tag on the <head> tag of the html page. If that title changes (e.g before: Chat | Mom, after: (1) Chat | Dad) then the script sends a browser notification in order to alert the user that there's a new notification in the teams application.

There is also other feature that some seconds after the user has left the teams tab in the browser, it focuses on the T-Bot chat. This is actually necessary because the notifications do not work if you receive some message from the chat you are currently focused on.

Roadmap

  1. Add lang support (currently messages are written on english).

About

Tampermonkey script in order to enable browser notifications for the Web-based Microsoft Teams chat. Useful in Linux (in Linux chat notifications do not work).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%