# Google Chrome extension for discourse notifications

**URL:** https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496
**Category:** Extras
**Created:** [October 14, 2015, 10:56am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496 "2015-10-14T10:56:56Z")
**Posts on this page:** 20
**Page:** 1

<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: [October 14, 2015, 10:56am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/1 "2015-10-14T10:56:56Z")

</div>

I’ve released the new version 1.0.0.  
I’ve added the multi-site feature: the user can add more discourse sites to see all notifications in one single place.  
You can install it from here: [https://chrome.google.com/webstore/detail/discourse-forum-notificat/okmkhbdimfnmdhpclfbamachjcpcgcmi](https://chrome.google.com/webstore/detail/discourse-forum-notificat/okmkhbdimfnmdhpclfbamachjcpcgcmi)  
(The version bump is because of completely code rewrite.)

All previous posts about versions are:

> [@Discourse Chrome Extension to show unread count](https://meta.discourse.org/t/discourse-chrome-extension-to-show-unread-count/27853):
>
> Hi folks, my friend Alessandro has just made this extremely useful extension for our community [https://chrome.google.com/webstore/detail/nethserver-community/afieionhihmhhfclpkcpcblmjafcegid](https://chrome.google.com/webstore/detail/nethserver-community/afieionhihmhhfclpkcpcblmjafcegid) Displays the number of unread notifications of your Discourse account, same notifications of Discourse balloon also with tab closed You can also click the icon to open the Discourse site. He can shortly work on it and made a generic customizable extension on your Discourse installation Do you like it?

> [@Chrome extension Discourse v0.2](https://meta.discourse.org/t/chrome-extension-discourse-v0-2/30555):
>
> [Chrome extension for discourse](https://chrome.google.com/webstore/detail/discourse/okmkhbdimfnmdhpclfbamachjcpcgcmi) is at v0.2: thanks to [djfarrelly](https://twitter.com/djfarrelly) collaboration, it shows notification list with a popup ! You can install it from [here](https://chrome.google.com/webstore/detail/discourse/okmkhbdimfnmdhpclfbamachjcpcgcmi)

> [@Discourse Notifications chrome extension v0.3](https://meta.discourse.org/t/discourse-notifications-chrome-extension-v0-3/32732):
>
> I’ve added desktop notification popups. They appears only when no discourse site is opened. Release [notes.](https://github.com/alepolidori/chrome-discourse-notifications/releases/tag/0.3) You can install the extension from [here.](https://chrome.google.com/webstore/detail/discourse-notifications/okmkhbdimfnmdhpclfbamachjcpcgcmi)

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [October 14, 2015, 11:01am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/2 "2015-10-14T11:01:40Z")

</div>

A few screenshots would make it easier to click on the link and get more info about the plugin.

---

<div class="post-metadata">

### Author: ![oreXelpirT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/orexelpirt/32/64593_2.png) [@oreXelpirT](https://meta.discourse.org/u/oreXelpirT)
#### Post date: [October 14, 2015, 8:27pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/3 "2015-10-14T20:27:34Z")

</div>

I had this extention before the update and it worked well, but now it seems to be giving me issues

 ![](https://global.discourse-cdn.com/meta/original/3X/0/5/050c760995027487da567f0bb9709ea928123eb8.png)

The bar on top seems unnecessarily big, the image is broken (not even sure what the image should be), and the unread notifications badge doesn’t show up anymore, yet it’s still up-to-date with I click it. Along with the number badge not working, Chrome’s desktop notifications also stopped

Also for reference, this is what it used to look like for me in case it wasn’t meant to or something, I think it looked much better before

 ![](https://global.discourse-cdn.com/meta/original/3X/1/e/1e42ee6f4e650850289ea7e3b1711103bc7bd15e.png)

---

<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: [October 14, 2015, 8:45pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/4 "2015-10-14T20:45:45Z")

</div>

Notifications list about two discourse sites:

 ![](https://global.discourse-cdn.com/meta/original/3X/f/1/f15ec22aa1db449061d97216c306973663c8fe7c.png)

The options page:

 ![](https://global.discourse-cdn.com/meta/original/3X/6/4/64f016e20148862342b4664d52e58e6630917df9.png)

and a desktop notification:

 ![](https://global.discourse-cdn.com/meta/original/3X/2/1/21df28c3c03e7374e3c7421533a44c24df59ce72.png)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 14, 2015, 8:55pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/5 "2015-10-14T20:55:40Z")

</div>

No love for subfolder installs? :sadpanda:

---

<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: [October 14, 2015, 9:03pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/6 "2015-10-14T21:03:03Z")

</div>

> [@oreXelpirT](#):
>
> The bar on top seems unnecessarily big, the image is broken (not even sure what the image should be)

It tries to get the icon site image png and if it fails it uses the favicon.

> [@oreXelpirT](#):
>
> and the unread notifications badge doesn’t show up anymore, yet it’s still up-to-date with I click it. Along with the number badge not working, Chrome’s desktop notifications also stopped

unread notifications are showed with a different background color as previous. Once the user read the post, the background becomes white. Chrome desktop notifications are displayed only if no discourse site is opened in the browser to avoid double notifications. Check if they are enabled into the options page.

> [@oreXelpirT](#):
>
> Also for reference, this is what it used to look like for me in case it wasn’t meant to or something, I think it looked much better before

The look is the same of previous version, except the head bar that shows the site reference to distinguish them and a little white side borders.

Have you tried a disable/enable extension ? Or reboot the browser ? Or to reinstall it ?

---

<div class="post-metadata">

### Author: ![oreXelpirT](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/orexelpirt/32/64593_2.png) [@oreXelpirT](https://meta.discourse.org/u/oreXelpirT)
#### Post date: [October 14, 2015, 9:31pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/7 "2015-10-14T21:31:04Z")

</div>

Reinstalling fixed the image, but the forum I use this for isn’t super active so I’m gonna have to wait and see for the badge and notifications

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [October 16, 2015, 8:35am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/8 "2015-10-16T08:35:14Z")

</div>

Looks good to me! Very very useful, now I can use the same extension for my community and meta.  
Great work friend!

---

<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: [October 16, 2015, 8:37am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/9 "2015-10-16T08:37:57Z")

</div>

> [@Falco](#):
>
> No love for subfolder installs? :sadpanda:

I’m not sure I understand what you mean. Can you elaborate ?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [October 16, 2015, 4:55pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/10 "2015-10-16T16:55:35Z")

</div>

If my Discourse install is on a subfolder like [example.com/forum](http://example.com/forum) the extension register only [example.com](http://example.com)

---

<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: [October 16, 2015, 7:59pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/11 "2015-10-16T19:59:07Z")

</div>

👍 you are right. Please open an issue on github

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 12, 2015, 12:24pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/12 "2015-11-12T12:24:08Z")

</div>

Done.  
[https://github.com/alepolidori/chrome-discourse-notifications/issues/16](https://github.com/alepolidori/chrome-discourse-notifications/issues/16)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 12, 2015, 12:47pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/13 "2015-11-12T12:47:27Z")

</div>

Submitted a PR for it too  
[https://github.com/alepolidori/chrome-discourse-notifications/pull/17](https://github.com/alepolidori/chrome-discourse-notifications/pull/17)

---

<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: [November 15, 2015, 8:22pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/14 "2015-11-15T20:22:31Z")

</div>

New [version 1.1.0](https://github.com/alepolidori/chrome-discourse-notifications/releases/tag/1.1.0)

Thx to @cpradio

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [November 16, 2015, 3:55pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/15 "2015-11-16T15:55:47Z")

</div>

Just wanted to say thanks to getting this deployed @alep! It works great on our sub-folder instance. 😄

---

<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: [November 16, 2015, 4:37pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/16 "2015-11-16T16:37:09Z")

</div>

@cpradio glad to hear it is helpful for you too 👍

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [April 10, 2016, 2:12am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/17 "2016-04-10T02:12:59Z")

</div>

Can I increase the font?  
It looks too small especially on big hires screens like iMac 27’’

---

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [April 10, 2016, 2:18am UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/18 "2016-04-10T02:18:56Z")

</div>

# Issues (in the latest version)

### Issue 1

Clicking on the “Earned badge XXX” elements lead to a non-existing page:

 ![](https://global.discourse-cdn.com/meta/original/3X/7/d/7d57bff4cd3ac6a6dc1533bfdf4c20d56c154192.png)

### Issue 2

Clicking in the popup box always opens a new tab. Instead, it should check if the is a tab with the same Discourse instance opened already and updates the tab’s URL instead.

As a minimum thing, you should use some target per-discourse-website, so that every time I click on a link in your notification plugin, it opens in the same tab rather than in a new tab.

For example: `target="discourse_notification_meta.discourse.org"`.

### Issue 3

“Badge earned” notifications still blue after clicking on them:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/4/c4c630262e3507a5e150786d2e0a3b02b6d08fdd.png)

---

<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: [April 18, 2016, 12:30pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/19 "2016-04-18T12:30:03Z")

</div>

Sorry, not now. Please sign it as a new issue in github [Issues · alepolidori/chrome-discourse-notifications · GitHub](https://github.com/alepolidori/chrome-discourse-notifications/issues)

---

<div class="post-metadata">

### Author: ![alefattorini](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alefattorini/32/119928_2.png) [@alefattorini](https://meta.discourse.org/u/alefattorini)
#### Post date: [April 18, 2016, 1:15pm UTC](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496/20 "2016-04-18T13:15:00Z")

</div>

You miss also some icons, check the pic below

 ![](https://global.discourse-cdn.com/meta/original/3X/7/3/736ab38a3cf1ad68587519babff79cdaf71b599f.png)

[Next page](https://meta.discourse.org/t/google-chrome-extension-for-discourse-notifications/34496.md?page=2)
