Skip to main content
2 of 11
added 317 characters in body
agent86
  • 3.3k
  • 1
  • 16
  • 24

ChatterBox - Userscript that adds inbox integration to StackExchange Chat!

I like StackExchange Chat, and with the feedbots it tends to be pretty easy to keep up with what's going on with the site. Except for one thing - my inbox.

So I wrote this userscript that adds an "inbox" button with auto-refresh to the chat interface.

enter image description here

The script refreshes your inbox every minute, and shows new items at the top of the list. The current maximum items that will be displayed is 10. Click the "inbox" button to toggle display of your inbox, and click "Inbox Cfg" to set relevant options (right now, just your access token).

To install, visit the ChatterBox home page.

You'll need an Access Token to use it, which you can get from the home page. Also, the link to get access tokens is in the "config" popup. Once you generate a token, push the "Inbox Cfg" button, put the code in the input field, and hit save. You can then close the config window by pressing "Inbox Cfg" or switch to the inbox view by pressing "Inbox." The number in the "Inbox" button is the number of unread items you have in your StackExchange Inbox.

I stole some "injection" code from SEChatModifications, but otherwise I used this as a way to learn more about userscripts. Hopefully it isn't too terrible for my first time out. Suggestions are, of course, welcome.

This has been tested in the latest release versions of Chrome and Firefox. I'm not doing anything crazy that should be browser specific, so it ought to work in most sane userscript implementations. Please feel free to report bugs.

I haven't put the source into any online SCM yet, but you can feel free to use it as you see fit. I would appreciate attribution if you end up lifting anything significant.


If you're looking for something that's a bit more "browser-wide" than this, you might try:

Stack Alert [Opera] - Keep tabs on your inbox without needing to have a Stack Exchange site open

agent86
  • 3.3k
  • 1
  • 16
  • 24