Skip to content

mihai-chezan/owa_notifications_firefox_extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Outlook Web App Notifications - Firefox extension

Firefox extension that adds system notifications capability to OWA - Outlook Web App.

The extension is activated if you have an OWA tab open or when you open a new tab and log into OWA. No configuration needed. The extension doesn't need any OWA account information, doesn't read any private data and doesn't connect to the internet to send any data.

How it works: when new email or reminder arrives into OWA a system notification about this event will be shown. Also the fav icon and document title of the OWA tab are updated to show the number of unread emails/reminders. The fav icon is updated so that you have visual cues when OWA tab is pinned. Document title is updated so that even if Firefox is not the active window, you will see in the taskbar the number of unread emails/reminders. This helps in situations when you are not at the computer when new emails or reminders arrive and so you don't see the notifications and when you come back you just have to glance over the taskbar to see if there are any unread emails or reminders - no need to remember to activate Firefox window to check emails every time you come back to your computer.

How it really works: for each tab open that has the url in the form "http[s]://anything/owa/anything" or "https://outlook.live.com/mail/anything" or "https://outlook.office365.com/mail/anything" or "https://outlook.office.com/mail/anything" a timer task is set to fire every 1 second by default (configurable). The task counts the number of unread emails or reminders (using some css selectors) and if the count is different than the last one it updates the fav icon and document title and also if it's greater it shows a notification with the number of new unread emails/reminders.

With the release of version 1.6.0 users can define their own css selectors for unread emails and reminders detection. A use for this could be for example to monitor only some folders for unread emails.
For OWA 2010 the css selector to monitor only Folder1 and Folder2 is:
[fldrnm='Folder1'] + #spnUC #spnCV, [fldrnm='Folder2'] + #spnUC #spnCV
To get the same result for OWA 2013 the css selector is:
[aria-label='Folder Pane'] [title='Folder1'] ~ [id*='.ucount'], [aria-label='Folder Pane'] [title='Folder2'] ~ [id*='.ucount']
In case of X-OWA-ClientBuildVersion:"15.0.847.41" to monitor only Inbox folder the css selector is: span[title="Inbox"] ~ ._n_07

All the predefined css selectors assume you are using English (US). If that is not the case, you might have to adjust them for your language (see #24 (comment)).

The latest approved version of this extension can be installed from Mozilla's add-ons website or check the github releases for latest builds.

Email notification when tab is not active

Email notification when tab is pinned and not active

Email notification when tab is active

Email notification when tab is pinned and active

Email notification and browser taskbar when other window is active and in focus

Reminder notification and browser taskbar when other window is active and in focus

Reminder notification when tab is active

Preferences

Note: this started as a fork of OWA_firefox_addon by Phil Baranovskiy.

About

Firefox addon for corporate OWA is useful to show counter of unread messages and notify about it via system notifications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 61.9%
  • HTML 38.1%