Updated to account for commission messages, which appear as NC - Name Changes. But you'll get the right info in the preview and the settings will now say Name Changes & Commissions.
So take a read of this
and you'll know of the changes
This is a script similar to the few extensions out there that notifies you of messages you get here. But this is just a script. Now this script works on all
sites, and on the "about:blank" page of Firefox. Because of how Greasemonkey works, it does not work on all about:* pages, but that is just how things work. Also, because of the cross site scripting I am doing here, this only works on Firefox with Greasemonkey, or Chrome with Tampermonkey.
This (I hope) is pretty self explanatory, but the only real thing to keep in mind is that to see your messages, hover a 27x30px are at the bottom left of your page. That will enable the box showing your messages to show up. You can then also click on messages to get a preview of what they are. It shows a max of 10 messages (due to not working very well showing more). You can also click the options button, at the far right, to only receive updates on certain types of messages. You can also set it to only work on the deviantart.com domain, or all domains. And you can set how often to check for messages, along with setting a noise alert when you get new messages.
These settings are all saved by the Greasemonkey/Tampermonkey GM_setValue, so any setting you make will stay the same. I wish I could have made this using standard JS, and not the GM_ prefixed functions, but because this works on any site, and needing to "look at a certain webpage" from dA, I had to use some custom functions.
You will also be alerted, via sound (if you enable that) and the bar popping up when you receive new messages.
Anywho, let me know what you think
And by the way, if you see anything surrounded by a %, let me know. I have tested many kinds of messages, but there could be a few I didn't catch, and that will make the previews not as clear as they should appear in your message centre.
Simply go to here 18.104.22.168/code/devMessAny.…
And yes, because of the way this script works, it will not work in the standard Chrome browser. You must use the Tampermonkey script. And to install this into Tampermonkey, you have to view the code source and paste that into the "Add a new script" option, from within that extension. Just control+A on the script page, copy it, then paste it in. I don't normally use Chrome, so I have not tested much, but it seems to work.
Also take note: Yes, I could have made group messages work, but I tried that, and it was rather muddy. So no, this will not alert you to group messages, just the main ones in your inbox. Also, you can click the dA logo at the far left to open your messages (in a new tab).
Also take note: While I've tried to keep the links and styling of the preview the same across sites, there may be some sites that override the styles, particularly on links colors and such.