# Discourse Chrome Extension to show unread count

**URL:** https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853
**Category:** Feature
**Created:** [23 Aprile 2015, 9:42am UTC](https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853 "2015-04-23T09:42:01Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![alep](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alep/32/120750_2.png) [@alep](https://meta.discourse.org/u/alep)
#### Post date: [19 Giugno 2015, 7:40am UTC](https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853/15 "2015-06-19T07:40:46Z")

</div>

Sorry for the mistake @sam, the counter and update methods were raw… I’ve reimplemented the extension to use MessageBus. It does only an initial json request to session/current.json to obtain che current user id (the response it’s about 1.5 KB) to use with MessageBus.subscribe /notification/userId (each response with data is about 800 B in my case). I’ve not found another method: exists ? You can verify the code [here.](https://github.com/alepolidori/chrome-discourse/blob/master/js/background.js)  
Is the cpu load fixed ?  
Is there some documentation about subscriptions that can be done in MessageBus ?

---

_[View the full topic](https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853)._
