{"action":"created","issue":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/408","labels_url":"https://api.github.com/repos/sdelements/lets-chat/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/sdelements/lets-chat/issues/408/comments","events_url":"https://api.github.com/repos/sdelements/lets-chat/issues/408/events","html_url":"https://github.com/sdelements/lets-chat/pull/408","id":68748753,"number":408,"title":"Show unread mentions as favicon badge","user":{"login":"lumeet","id":7588782,"avatar_url":"https://avatars.githubusercontent.com/u/7588782?v=3","gravatar_id":"","url":"https://api.github.com/users/lumeet","html_url":"https://github.com/lumeet","followers_url":"https://api.github.com/users/lumeet/followers","following_url":"https://api.github.com/users/lumeet/following{/other_user}","gists_url":"https://api.github.com/users/lumeet/gists{/gist_id}","starred_url":"https://api.github.com/users/lumeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lumeet/subscriptions","organizations_url":"https://api.github.com/users/lumeet/orgs","repos_url":"https://api.github.com/users/lumeet/repos","events_url":"https://api.github.com/users/lumeet/events{/privacy}","received_events_url":"https://api.github.com/users/lumeet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-15T18:05:59Z","updated_at":"2015-04-17T16:23:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sdelements/lets-chat/pulls/408","html_url":"https://github.com/sdelements/lets-chat/pull/408","diff_url":"https://github.com/sdelements/lets-chat/pull/408.diff","patch_url":"https://github.com/sdelements/lets-chat/pull/408.patch"},"body":"The same way as the document title for an inactive window is updated\r\nto show new messages and mentions, favicon is changed to show new\r\nmentions only.\r\n\r\nI find the behavior extremely useful when the chat window is behind a pinned tab. So, the feature itself would be great to have even if you prefer some other solution. [Favico.js](http://lab.ejci.net/favico.js/) is the library used here."},"comment":{"url":"https://api.github.com/repos/sdelements/lets-chat/issues/comments/94020606","html_url":"https://github.com/sdelements/lets-chat/pull/408#issuecomment-94020606","issue_url":"https://api.github.com/repos/sdelements/lets-chat/issues/408","id":94020606,"user":{"login":"WhiteHatTux","id":1330544,"avatar_url":"https://avatars.githubusercontent.com/u/1330544?v=3","gravatar_id":"","url":"https://api.github.com/users/WhiteHatTux","html_url":"https://github.com/WhiteHatTux","followers_url":"https://api.github.com/users/WhiteHatTux/followers","following_url":"https://api.github.com/users/WhiteHatTux/following{/other_user}","gists_url":"https://api.github.com/users/WhiteHatTux/gists{/gist_id}","starred_url":"https://api.github.com/users/WhiteHatTux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WhiteHatTux/subscriptions","organizations_url":"https://api.github.com/users/WhiteHatTux/orgs","repos_url":"https://api.github.com/users/WhiteHatTux/repos","events_url":"https://api.github.com/users/WhiteHatTux/events{/privacy}","received_events_url":"https://api.github.com/users/WhiteHatTux/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T16:23:26Z","updated_at":"2015-04-17T16:23:26Z","body":"I tried it out and as far as i can tell it works quite nicely. Maybe there is an easy way to introducing a slightly changed favicon, when there is new messages. Might be a stronger indication, then the change, that is already shown by the browser. "}}