- Setup custom service
- Name: owa
- URL: https://your.domain.com/owa/
- Logo: http://vle.hollyhallacademy.co.uk/pluginfile.php/4865/block_html/content/OWA.png (for example)
- open Advanced. the following code did it for me:
function checkUnread() {
var e = $('#_ariaId_40 span._n_28').text();
updateBadge(e);