Chrome notification extension



  • I've started building a notification extension for Chrome.
    It basically works like the Google Mail-Checker, informing about posts and chats. You can add your own favourite NodeBB forums to the notifier list.

    Currently you can only get it if you know the extension's URL. Before making it public, I wanted to know what you guys think and if you had any suggestions.

    grab it here

    nodebb-notifier.png


  • GNU/Linux Admin

    Whoa! That's pretty awesome! I love what people do with NodeBB 😄

    Can it work with multiple NodeBBs?

    Edit: Installed! Some thoughts:

    • When adding a host, it seems to deny until a trailing slash is added
    • In the placeholder, our community URL is https:// 🙂


  • Yes, it can.
    You can add as many instances to the list as you like.

    Copy/paste the link to the start page into the input field on the bottom, click add and you are set.
    I don't do a lot of input sanitation yet, so there has to be a trailing slash after the domain name for it to be accepted.

    While typing I saw your edit. You are correct 😉


  • Admin

    This is awesome! I totally missed this thread, but found the extension on google. I actually tried to build something like this a while ago but ran into a wall, so I'm glad you've managed to figure it out 🙂



  • @psychobunny thank you 🙂
    If you have any suggestions or improvements I'd be happy to implement them.

    I currently check /api/unread and /api/chats for updates. Do you think another call could be useful?


  • GNU/Linux Admin

    I'm actually noticing now that no matter what I set the timer to, it always resets itself back to 1 minute 😄



  • @julian Do you have v0.0.6 installed?
    I previously used topics[X].teaser which was removed from the JSON, causing an "undefined variable" error which in turn halted the refreshGUI function.


  • GNU/Linux Admin

    Seems okay now, perhaps it updated itself, but I don't know how to check the version 🐸



  • @julian Glad to hear that it is working again.
    You can see the version next to the extension title:
    chrome://extensions/?id=ooeikplgcjeeggiopajfhmadglhjhcco


Log in to reply
 

Suggested Topics

| |