# Chrome extension Discourse v0.2

**URL:** https://meta.discourse.org/t/chrome-extension-discourse-v0-2/30555
**Category:** Extras
**Tags:** rest-api
**Created:** [28 Giugno 2015, 7:16pm UTC](https://meta.discourse.org/t/chrome-extension-discourse-v0-2/30555 "2015-06-28T19:16:26Z")
**Posts on this page:** 1
**Showing post:** 13

<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: [2 Luglio 2015, 9:15pm UTC](https://meta.discourse.org/t/chrome-extension-discourse-v0-2/30555/13 "2015-07-02T21:15:54Z")

</div>

> [@riking](#):
>
> You should request the “data on all sites” permission and automatically add sites you visit when window.Discourse exists and window.Discourse.User.current() is truthy.

I think that only the user can add a site in the future multi-site support feature.  
If the extension automatically add sites, I think it could be annoying. Eventually an option could be present to enable the extension to propose a list of the visited discourse site and the user can finally choose to activate them.

> Don’t poll /notifications?silent=true - use the message bus instead.

The extension already using MessageBus.  
/notifications?silent=true is used only on boot to get the user id. It is the only method I have discovered to get the user id as I explained in this [post](https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853/15) , because I did not found the documentation. I’ve asked about it. It exists ?

> Also, how about “Notifications for Discourse” for the title?

I’ve changed the title as suggested by @codinghorror.

---

_[View the full topic](https://meta.discourse.org/t/chrome-extension-discourse-v0-2/30555)._
