Timeline for StackInbox - a Chrome/Firefox Extension that Preserves New Stack Exchange Inbox Messages Until They Are Actually Read
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 10, 2012 at 16:13 | comment | added | JamesTheAwesomeDude | @RobW Thanks! (I definitely didn't think it was trivial. ;) | |
Dec 10, 2012 at 14:55 | comment | added | Rob W | @jmort253 FYI, Real-time desktop notifications for Stack Exchange inbox is now also available to Firefox. And no, porting was not trivial :p | |
Dec 9, 2012 at 20:51 | comment | added | JamesTheAwesomeDude | @jmort253 Oh, man. I wish that I were better at JavaScript. I understood what you said, but I haven't gotten into AJAX yet... I also don't know how to make a Firefox extension... But I understood what you were saying... | |
Dec 9, 2012 at 5:22 | comment | added | jmort253 |
You're welcome. I did look into it a bit, and it would be hard to implement in StackInbox but not in another extension. You could use document.addEventListener("DOMNodeInserted" event to listen for changes to the inbox's little red icon, then make an AJAX request to meta.pm.stackexchange.com/inbox/genuwine to get the inbox contents and grab the first item, using it in your webkit notification. Hope this helps! :)
|
|
Dec 9, 2012 at 5:12 | comment | added | JamesTheAwesomeDude | @jmort253 Ah-ha, I was originally misunderstanding the purpose of this add-on. Thank you for pointing me in the right direction. | |
Dec 9, 2012 at 0:29 | comment | added | jmort253 | The Firefox version of StackInbox is complete; however, StackInbox solves a different problem than what you're looking for with desktop notifications. Instead, see Real-Time Desktop Notifications for Stack Exchange. It's a Chrome Extension that does what you're looking for, and I think it would be easier to port that to Firefox than to try and repurpose StackInbox. Hope this helps! :) | |
Dec 4, 2012 at 7:19 | comment | added | jmort253 | so that when a new inbox item was added, it would also generate a webkitNotification. It would be interesting to see if the theory is right that there'd be a notification for each SE tab, or if it just sends one. :) Hope this helps. Enjoy! | |
Dec 4, 2012 at 7:18 | comment | added | jmort253 |
Here's a link to the original Userscript. You can download from Assembla and install via Greasemonkey. As I mentioned here, remember, there's zero cross-domain communication, at least not that I'm aware of, but this will give you an idea of where I started. If you wanted to play w/desktop notifications, you'd add them in the function on line 132 I believe, storeNewInboxItems . You could start by adding in a call to webkitNotifications .
|
|
Dec 4, 2012 at 6:24 | review | First posts | |||
Jan 2, 2013 at 13:07 | |||||
Dec 4, 2012 at 6:08 | history | answered | JamesTheAwesomeDude | CC BY-SA 3.0 |