Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Notification Bootcamp (UserScript)
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
I just got featured and I've been bombarded with messages. So when I saw SzAmmi's extension contest I decided to write a UserScript that groups messages by type. It works really well, so I thought I'd share it in case anyone wants their notifications sorted: (link)
Here's a screenshot if that helps sway ‘ya. I’d love any feedback, I know it's not perfect.
Notes: I've only tested it in Chrome and Firefox on a Mac. I think it'll work in other languages, but things won't be grammatically correct. I also haven't ever received any “alerts” so I don't know how it'll handle those notifications. They'll all be visible, even if mis-sorted.
UPDATE: It looks like it handles forum notifications very well.
Here's a screenshot if that helps sway ‘ya. I’d love any feedback, I know it's not perfect.
Notes: I've only tested it in Chrome and Firefox on a Mac. I think it'll work in other languages, but things won't be grammatically correct. I also haven't ever received any “alerts” so I don't know how it'll handle those notifications. They'll all be visible, even if mis-sorted.
UPDATE: It looks like it handles forum notifications very well.

Last edited by NickyNouse (Nov. 18, 2014 05:24:33)
- The_Grits
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
Interesting idea, I might try it later.
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
(Now that I've got 2 replies) cool, I think it groups forum posts correctly! 

- MegaApuTurkUltra
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
Wow this is really cool! Any chance we could get it in Mega Scratch Userscript? It would make a great addition.
Last edited by MegaApuTurkUltra (Nov. 15, 2014 23:53:24)
- __init__
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
I don't really like it, it seems to make things messier.
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
I tweaked it so the CSS insertion code is less awful: (link)
__init__ it's just been super helpful with my situation. Any suggestions?
__init__ it's just been super helpful with my situation. Any suggestions?
- __init__
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
It's just my preference, other people might like it. I just don't like how it brings older messages up to the top. I think it should combine unread messages, for example, if five people replied to your comment chain of 10 comments since you'd last checked your messages, it would say “SomeUser and 4 others replied to your comment” rather than "SomeUser and 9 others replied to your comment. It would then de-combine them a soon as you'd left the messages page.
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
Ooh that's a good idea! And it shouldn't be hard to do, I'd just change the selector from the entire list to the unread list… any idea how to add MSU options so the user could toggle that?
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
I added the variable “notNewMessagesOnly”. When set to true (default), it'll only sort new messages. That way you can add it to the MSU settings. (link)
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
Added the variable “notMinimumMessagesToRun.” In case the name isn't self-explanatory, it's an integer. If the number of new messages is below this number, the script will stop running. (link)
- NickyNouse
-
Scratcher
1000+ posts
Notification Bootcamp (UserScript)
Shameless plug: I wrote a script that adds a notifications popover to the toolbar with Bootcamp built-in. Check it ouuuut
- Discussion Forums
- » Advanced Topics
-
» Notification Bootcamp (UserScript)
