Created
May 29, 2013 02:43
-
-
Save noomz/5667633 to your computer and use it in GitHub Desktop.
Clear yammer unread inbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Browse to yammer company's home page, then click inbox (mail) link, | |
| // after that run this script in javascript console | |
| var clearYammer = function (interval) { | |
| jQuery('.yj-inbox-list-item').eq(0).trigger('click'); | |
| setTimeout(function () { | |
| history.back(); | |
| clearYammer(interval); | |
| }, interval); | |
| } | |
| clearYammer(2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems as if Yammer has changed since the code above, as of November 2014, line 5, should read as follows, this seems to work.