HOME | DD

Published: 2013-01-26 18:06:58 +0000 UTC; Views: 23411; Favourites: 524; Downloads: 173
Redirect to original
Description
NOTICE (2):Notice 1: If your dAmnGotMail script has stopped working and you're using Firefox, this is due to a bug in version 32+ which breaks a vital part of the script's code. This will not harm your use of deviantART in any way, it just won't update your inbox for the time being.
Notice 2: After the recent update to deviantART, I am currently working on a new version to make it more aesthetically and structurally pleasing (such as replacing older style classes and object layouts for the newer ones), but I cannot continue until Firefox fixes the bug mentioned in the above notice.
Thank you for the Daily Deviation, everyone!
6/06/2014 - Update:
6/08/2013 - Current Version: 1.7
Description:This is dAmnGotMail, an automatic inbox refresh script..
The purpose of this script is to automatically notify you of new messages in your inbox without having to reload the page; this is especially helpful when on the chat network.
The inspiration to make this script came from Dediggefedde . He gave some extremely helpful advice; the script is also modeled on two of the functions used in his script Devsidebar which is an amazing piece of work. I have since released multiple changes to the original script and have further refined it, fixing any bugs and improving the design both in its code as well as aesthetically.
This script for Firefox (Greasemonkey) or Google Chrome, will automatically update your deviantART inbox located on your menu bar.
It does not interfere with the user menus, however, and is very simple.
How to install...
for Firefox:
► Click here to go to the script home page! ◄
for Chrome:
► Click here to go to the script home page! ◄
for Opera:
► Click here to go to the script home page! ◄
Important Notice:Make sure you have the Splinter Menu turned off before using this script. It was not designed for the Splinter Menu and will most likely cause undesired effects.
Change Log:Verison 1.7: Fixed bug after the closing of the deviantART store.
Version 1.6: Fixed login issues, Improved design, fixed Activity Stack and fixed Journal Stack.
Version 1.5: Fixed the 1 (1 Note) glitch and now it will only display 1 Note, 2 Notes, etc whenever you have notes and no other messages.
Version 1.4: Fixed a minor visual formatting error. Script will no longer miss a "bar" between certain items and the notes item.
Version 1.3: Separated Correspondence messages from the Feedback messages; this makes the script seem closer to the original inbox's look.
Version 1.2: Cleaned up the script a bit. Slightly increased stability.
Version 1.1: Fixed for Google Chrome. Runs better on both browsers.
Known Bugs:Does not work with Group Messages
Does not work with the splinter menu
Does not work with Mentions
If you like my script and would like to show your appreciation, please add it to your Favorites. Doing so will help spread the word of this script so can slowly spread and help deviantART more!
You may also Donate if you feel inclined to do so..
Related content
Comments: 377
Pastel-Panties In reply to ??? [2013-06-06 23:39:32 +0000 UTC]
Its not working for me in Chrome. ;-;
👍: 0 ⏩: 1
DJ-Zemar In reply to Pastel-Panties [2013-06-07 05:30:15 +0000 UTC]
Yeah, this is due to an error in Chrome. The program was JUST resolved but happened..again..
It's not the script, but that chrome is having problems with the GM_ functions. It should hopefully be fixed with the next update of Chrome.
👍: 0 ⏩: 1
Pastel-Panties In reply to DJ-Zemar [2013-06-07 05:42:24 +0000 UTC]
Oki. ^^
Its pretty annoying since only two extensions are working. ._.
👍: 0 ⏩: 2
DJ-Zemar In reply to Pastel-Panties [2013-06-08 04:44:54 +0000 UTC]
Just an update on dAmnGotMail..
It turns out, this was due to the deviantART store closing. I have just fixed the release and everything should be solved once you install version 1.7..
Thanks and I hope it helps!
👍: 0 ⏩: 1
Pastel-Panties In reply to DJ-Zemar [2013-06-08 06:37:00 +0000 UTC]
Yay. ^^ It works perfectly now. Thanks for fixing it.
👍: 0 ⏩: 1
DJ-Zemar In reply to Pastel-Panties [2013-06-08 07:53:10 +0000 UTC]
My pleasure, glad it works lol
👍: 0 ⏩: 0
DJ-Zemar In reply to Pastel-Panties [2013-06-07 06:00:17 +0000 UTC]
Yeah, sorry.. I'll keep an eye on it.
👍: 0 ⏩: 0
Cei-Ellem In reply to ??? [2013-06-06 20:16:27 +0000 UTC]
I commented not so long ago that it wasn't working in Chrome. It's working again ^_^
👍: 0 ⏩: 1
DJ-Zemar In reply to Cei-Ellem [2013-06-06 21:36:53 +0000 UTC]
I remember and awesome, glad to hear it! Did Chrome just update?
👍: 0 ⏩: 2
Cei-Ellem In reply to DJ-Zemar [2013-06-07 02:10:54 +0000 UTC]
Oh for goodness sake... it seems to have stopped working again >_<. Maybe they're in the process of fixing it and I got a momentary functional hiccup.
👍: 0 ⏩: 1
DJ-Zemar In reply to Cei-Ellem [2013-06-07 05:31:03 +0000 UTC]
Dang, yeah and someone else noticed it.. Hopefully they get their act together soon or I'll have to design a custom function override somehow to fix it..
👍: 0 ⏩: 1
DJ-Zemar In reply to Cei-Ellem [2013-06-08 04:45:38 +0000 UTC]
Just an update on dAmnGotMail..
It turns out, this was due to the deviantART store closing. I have just fixed the release and everything should be solved once you install version 1.7..
Thanks and I hope it helps!
👍: 0 ⏩: 1
Cei-Ellem In reply to DJ-Zemar [2013-06-08 06:16:16 +0000 UTC]
Looks like it so far. Thanks! ^_^
👍: 0 ⏩: 1
Cei-Ellem In reply to DJ-Zemar [2013-06-07 01:28:46 +0000 UTC]
If it did, it was a silent update. I got no prompts about it.
👍: 0 ⏩: 0
Cei-Ellem In reply to ??? [2013-05-26 20:45:09 +0000 UTC]
I think Chrome may have changed some things around. I've got the latest version (on account of uninstalling it, redownloading, and reinstalling it), but it has ceased to work in my browser. Annoys the hell out of me, because I love this extension.
👍: 0 ⏩: 1
DJ-Zemar In reply to Cei-Ellem [2013-05-27 01:04:27 +0000 UTC]
I just found the problem. With Chromium release 27, there's a problem with the GM_xmlhttpRequest function where it isn't working as it should. That would be enough to kill the script.. They verified it's not fixed in the 28 beta at time of one of their posts, but one of the devs (I believe) said they would look into it. So Google chrome and Chromium versions 28 should solve the problem on its own, as it is the browser. Here's the source if you'd like to look into it further: [link]
👍: 0 ⏩: 1
Cei-Ellem In reply to DJ-Zemar [2013-05-27 01:07:09 +0000 UTC]
Ah, ok. If/When it starts working again, I'll try to remember to say something. Thanks.
👍: 0 ⏩: 1
DJ-Zemar In reply to Cei-Ellem [2013-05-27 01:10:30 +0000 UTC]
Alright! Also, let me know if it isn't working after version 29.. If it goes that long without fix, I'll just look into finding an alternative method to solve it. That or I'll just find a way to re-write the gm_xmlhttprequest as a custom override if possible.
👍: 0 ⏩: 1
Cei-Ellem In reply to DJ-Zemar [2013-05-27 01:13:26 +0000 UTC]
Noted. I will do my best to remember ^_^
👍: 0 ⏩: 0
DJ-Zemar In reply to logeg [2013-05-01 12:57:53 +0000 UTC]
Ah, so someone else tried it.. Good to know I'm not the only one lol
Though it's not much of a competition if I'm not looking to only target chrome.. Plus I don't want to make it a plugin since some people aren't that dAmn crazy lol
Your plugin looks pretty good though. What would really impress me is if you found a way to ALSO retrieve group mail, as it is an additional inbox in itself to check. If you find that out, give me a call.. I've tried thinking of a logical way to implement it for a while
👍: 0 ⏩: 2
logeg In reply to DJ-Zemar [2013-05-01 13:14:33 +0000 UTC]
Basically, do the same get_folders request as you do, but take all entries.
If I don't know whether a folder is just a folder or a group, I query (normally, just once per browser session) the actual message center page. It has embedded info on whether it's a group or not and I can get that by regexes.
Then it works like the inbox, just use another folder ID in get_views.
👍: 0 ⏩: 1
DJ-Zemar In reply to logeg [2013-05-01 13:20:15 +0000 UTC]
I don't do this only because it has caused login problems in the past with my script..
That's why I have currently lost my DD award for it, at least, until they reinstate it.
For some reason, because it read a copy of the http://www.deviantart.com/messages/# page, it would throw errors with the login I guess? People were having cookie errors, couldn't log in, etc.
After getting a few users to switch to version 1.6 where it uses all Difi for the inbox information, it worked fine lol.
So like mentioned in the other message, sadly I would have to figure out the ugly hack in order to find group messages without the chance of the cookie bug.
👍: 0 ⏩: 2
logeg In reply to DJ-Zemar [2013-05-01 13:25:48 +0000 UTC]
Then again, maybe you can cache the results in localStorage. I don't know how Greasemonkey deals with it.
👍: 0 ⏩: 0
logeg In reply to DJ-Zemar [2013-05-01 13:24:51 +0000 UTC]
Like I said, I do it once per lifetime of my script, refreshing if get_folders detects a new folder. So, ideally once per browser restart.
For your case it's a bit more complicated as the lifetime of your script is the lifetime of a page.
So it doesn't cause errors as long as you keep it infrequent.
Polling a front-end page once per 10 seconds is clearly a massive overkill and does trigger the wrath of dA.
👍: 0 ⏩: 1
DJ-Zemar In reply to logeg [2013-05-01 20:44:17 +0000 UTC]
"..is clearly a massive overkill and does trigger the wrath of dA." This comment just made my day lol
Yeah, I think it's best I don't attempt to query the group folders just for the sake of not screwing stuff up.. Or at least until I get that sudden realization of the perfect fix. It's happened before, lol
👍: 0 ⏩: 0
logeg In reply to DJ-Zemar [2013-05-01 13:02:51 +0000 UTC]
Sure, both me and #deviantAnywhere show group messages.
Though truth be told, only I do filter for groups (and not just any folders), as it needs an ugly hack currently.
👍: 0 ⏩: 0
Lonewolfninja89 In reply to ??? [2013-04-22 19:17:33 +0000 UTC]
Does anyone know how to fix the message centre? it won't display anything
👍: 0 ⏩: 1
DJ-Zemar In reply to Lonewolfninja89 [2013-04-23 00:55:56 +0000 UTC]
Make sure you are not using Splinter mode and then make sure you have the newest version of the script, which I believe is version 1.6.
I have it on Firefox and am using it right now; it works fine for me. What browser are you using, which version of the script, and is splinter mode turned on or off?
👍: 0 ⏩: 1
Lonewolfninja89 In reply to DJ-Zemar [2013-04-26 05:30:31 +0000 UTC]
i did all that but nothing
👍: 0 ⏩: 1
DJ-Zemar In reply to Lonewolfninja89 [2013-04-26 06:17:23 +0000 UTC]
Well open greasemonkey or the chrome scripts, depending on your browser.. Then tell me what it says the version number is.
Then take a picture of the error you're getting and note me it or reply with the link.
Finally, let me know what browser you're using and if removing and reinstalling the script OR logging out and back in fixes it?
👍: 0 ⏩: 1
DJ-Zemar In reply to Lonewolfninja89 [2013-05-09 17:57:23 +0000 UTC]
Ah, good to hear! What did you do that fixed it?
I just want to know to assure any future releases are maintained as well as possible.
👍: 0 ⏩: 1
Lonewolfninja89 In reply to DJ-Zemar [2013-05-09 18:37:27 +0000 UTC]
DA fixed it, it turned out to be a bug that was effecting some users Message Center
👍: 0 ⏩: 0
The-Winged-Alchemist In reply to ??? [2013-04-13 15:24:38 +0000 UTC]
Started using it with Opera. First installed Violentmonkey (same as Greasemonkey for Firefox) and it's working perfectly fine!
It's really helpful! Thank you!
👍: 0 ⏩: 1
DJ-Zemar In reply to The-Winged-Alchemist [2013-04-13 17:36:43 +0000 UTC]
Ah, good to know. I'll have to mention Vmonkey for Opera then.
👍: 0 ⏩: 0
admx In reply to ??? [2013-04-13 11:45:15 +0000 UTC]
This is really really helpful, thank you for this!
👍: 0 ⏩: 1
DJ-Zemar In reply to admx [2013-04-13 12:19:41 +0000 UTC]
Glad to help!
Hopefully I can get the dA staff to make it a Daily Deviation again.
They removed it because of a bug, we resolved the bug entirely, and.. They never added it back, lol
👍: 0 ⏩: 1
admx In reply to DJ-Zemar [2013-04-13 12:52:34 +0000 UTC]
haha, that sucks!
I think I found it because of the DD.. Hope they do
👍: 0 ⏩: 1
DJ-Zemar In reply to admx [2013-04-13 13:29:41 +0000 UTC]
Yeah and thanks lol, I might submit another ticket now that the problem was resolved. That or perhaps I'll attempt to have it re-submitted as a new DD.
👍: 0 ⏩: 0
Seeraeuber In reply to ??? [2013-03-24 09:56:45 +0000 UTC]
Dear DJ-Zemar,
first of all, you provide a really useful extension which adds lacking functionality to deviantART. Thanks for that! Unfortunately I am facing the error mentioned at this support page: [link]
I think you should mention that this could happen when using your extension, because I had to investigate for almost two weeks until I found the cause D:
Kind regards!
👍: 0 ⏩: 1
DJ-Zemar In reply to Seeraeuber [2013-03-24 16:31:20 +0000 UTC]
I appreciate it. Also, which version of the script were you using?
I was certain my recent changes should have fixed it. Also, are you using the dAmnXCOM plugin?
👍: 0 ⏩: 1
Seeraeuber In reply to DJ-Zemar [2013-03-24 21:08:56 +0000 UTC]
Okay, I think you got me... According to Greasemonkey, I still have version 1.5. I'll try to upgrade to 1.6 and let you know if I have the same problems.
No, I haven't heard of the dAmnXCOM plugin - is it necessary for dAmnGotMail?
Thanks for the quick answer - cheers!
👍: 0 ⏩: 1
DJ-Zemar In reply to Seeraeuber [2013-03-24 21:21:00 +0000 UTC]
Alright, sounds good. Let me know if 1.6 fixes it, if so, I'll be really psyched lol
No, you don't need dAmnXCOM for it. I figured it might be causing a problem with it, but I guess not.
👍: 0 ⏩: 1
Seeraeuber In reply to DJ-Zemar [2013-03-29 20:44:54 +0000 UTC]
Until now, I haven't had the logout issue anymore, so I guess you did an excellent job in fixing it - thank you very much for that! And also for the quick response! Keep on rocking
👍: 0 ⏩: 1
DJ-Zemar In reply to Seeraeuber [2013-03-29 23:00:35 +0000 UTC]
Absolutely! Glad to help!
If you experience that problem again at all, please feel free to let me know...
👍: 0 ⏩: 0
<= Prev | | Next =>