HOME | DD

#chat #chats #damn #room #rooms #autojoin #damnchat #damndamn #roomrooms
Published: 2012-12-03 05:49:15 +0000 UTC; Views: 7489; Favourites: 70; Downloads: 40
Redirect to original
Description
UpdateBy popular demand, this now offers an option to autojoin once the page loads, or autojoin manually with /autojoin. It waits 8 seconds after the page loads, and if people are having issues with it messing up or causing the logon to fail, let me know and I can work on it. But it seems to work well for me and my slow connection, with the dAmn.ws script. Update from the link below if you want this option.
There's an extension for Firefox to let you autojoin chat rooms on dAmn, and I made a Chrome extension to do the same (although it really sucks), but I thought that a script would be better. An extension is a bit overkill for such a simple thing to do on one webpage.
This should be pretty self explanatory. The only thing to know is that there's no buttons or UI to autojoin yourself or get to the configuration page. To get to the configuration page, you type /autojoinEdit into the chats, like any other /command (just remember that it's /autojoinEdit, with a capital E. Don't forget that you can hit /au+tab to automatically get to those two commands). Once you've set up the rooms you want to autojoin and hit save, you can then press /autojoin to join all of the rooms.
While in the configuration page , you can remove all of the rooms by hitting that button (and hitting save to finalize it), and also click on rooms to remove just that room or move them up or down in the list to get your rooms in the order you want. Typically, you would start out on the chat page you want first in your list rooms, and then add each room after that in the autojoin list. So for example, I join #h3lp | #h3lpers | #developingdevelopers | #electricjonny | #seniors | #devart | #notdevart , so I have chat.deviantart.com/chat/h3lp bookmarked and join that room, then join the rest with this script like shown in the image above.
The rooms can't start with a # either. Just the roomname, like devart or seniors. If you try to add a # the input border goes red and the Add button disables. The only special character allowed is - (and not at the start or end) and only A-Z, a-z, 0-9 are allowed. I'm pretty sure those are the limitations to room names, but if you know of a #-strangeroom name, let me know and I can adjust this.
To install:
This has been tested and works in the latest Chrome and Firefox (Firefox with Greasemonkey), but in order to install this in Chrome, you need to install it within the Tampermonkey extension. If you don't know how to do that, then give up now. I won't help you with installing scripts into Tampermonkey. Toying with a browser and scripts like this isn't for the faint of heart and you need to be at least a bit technologically inclined.
The file is located here dAmn Autojoin.user
Let me know if there are any bugs or questions or anything. I'm pretty sure it's bug free, but I could be wrong
--
And for those looking at the JavaScript here, yes, this is probably some badly organized js. Probably could have made some functions to simplify things and cleaned up the var names and HTML/CSS here. But it works, so whatever
Related content
Comments: 152
electricjonny In reply to ??? [2013-06-07 14:18:46 +0000 UTC]
Yeah sorry, I know
I tried a quick fix just half an hour ago, but it didn't work. I'll try to update this script, but it may not be too soon. I have to figure out how to work around the changes in the chat page made. I'll reply back when I figure it out.
👍: 0 ⏩: 2
Hachitaki In reply to electricjonny [2013-06-13 17:12:53 +0000 UTC]
ah glad to know im not the only one with that problem, was about to believe it was my laptop acting up.
Nevermind me as I lurk here in hope it soon will be fixed. ^^,
👍: 0 ⏩: 1
electricjonny In reply to Hachitaki [2013-06-13 17:30:51 +0000 UTC]
Yeah, the way the page is coded makes this not work, at least the edit part. But I may have an idea of how to fix it, so I'll update people if I can
👍: 0 ⏩: 1
Hachitaki In reply to electricjonny [2013-06-13 17:38:34 +0000 UTC]
thats good to know, I wish you the best of luck ^^,
👍: 0 ⏩: 1
electricjonny In reply to Hachitaki [2013-06-16 12:32:23 +0000 UTC]
This script has been updated to work now Just update from the link in the description, it will overwrite the broken version.
👍: 0 ⏩: 1
Hachitaki In reply to electricjonny [2013-06-16 13:20:30 +0000 UTC]
Wonderful! Thanks a lot.
👍: 0 ⏩: 1
Tahog In reply to ??? [2013-06-07 10:09:29 +0000 UTC]
Will it work later or it's broken totally?
👍: 0 ⏩: 2
electricjonny In reply to Tahog [2013-06-16 12:32:11 +0000 UTC]
This script has been updated to work now Just update from the link in the description, it will overwrite the broken version.
👍: 0 ⏩: 1
electricjonny In reply to Tahog [2013-06-07 12:30:03 +0000 UTC]
It could be fixed, I'm sure (SuperdAmn broke, but it's been fixed now). But it's a matter of time, which I don't have much of currently. I'll look into it soon
👍: 0 ⏩: 0
Canadian-Vandalism In reply to ??? [2013-06-06 02:17:15 +0000 UTC]
i'm experiencing a bug right now, where i try to go into the editing page, and it forces a refresh on the page. it happens within seconds of opening the editing screen so i cant do anything, exiting, re-entering then trying doesnt seem to fix it either
👍: 0 ⏩: 2
electricjonny In reply to Canadian-Vandalism [2013-06-16 12:32:02 +0000 UTC]
This script has been updated to work now Just update from the link in the description, it will overwrite the broken version.
👍: 0 ⏩: 1
Canadian-Vandalism In reply to electricjonny [2013-06-16 20:08:08 +0000 UTC]
thankee much ^^
👍: 0 ⏩: 1
electricjonny In reply to Canadian-Vandalism [2013-06-06 02:20:49 +0000 UTC]
Yeah, the chat page changed recently and broke a number of scripts. Not sure if I can do anything about that, sorry.
👍: 0 ⏩: 0
Tahog In reply to ??? [2013-02-22 17:41:45 +0000 UTC]
I would like to see antikick implemented in this. That would be perfect.
👍: 0 ⏩: 1
electricjonny In reply to Tahog [2013-02-23 00:13:54 +0000 UTC]
Something to add you back to the room automatically upon a kick? Not exactly sure how that would make sense for this script.
👍: 0 ⏩: 1
Tahog In reply to electricjonny [2013-02-23 00:15:58 +0000 UTC]
You can use /autojoin of course, but it would make it even easier as some people like to joke around.
👍: 0 ⏩: 1
electricjonny In reply to Tahog [2013-02-23 00:26:49 +0000 UTC]
Huh, well sorry, but I don't really see something like that making sense here
👍: 0 ⏩: 0
Hachitaki In reply to ??? [2013-01-07 02:57:23 +0000 UTC]
yeeeesssss I've wanted such one for such a long time <33 Thanks a lot!! \o/
👍: 0 ⏩: 1
Hachitaki In reply to electricjonny [2013-01-07 09:59:38 +0000 UTC]
trust me; I do. Its so wonderful not to have to write 10+ chatnames everytime now
👍: 0 ⏩: 1
Tahog In reply to ??? [2012-12-27 18:14:35 +0000 UTC]
Featured in my journal "Things I suggested as DDs" here [link]
👍: 0 ⏩: 1
Kudaranai-Risu In reply to ??? [2012-12-21 17:58:21 +0000 UTC]
is there any way to make seperate lists for which chat to join?
👍: 0 ⏩: 1
electricjonny In reply to Kudaranai-Risu [2012-12-21 18:06:07 +0000 UTC]
Like different lists of chats to autojoin? Yeah I actually thought about doing that, but I didn't know if many people would want that. I may add that in a future update.
👍: 0 ⏩: 1
Kudaranai-Risu In reply to electricjonny [2012-12-21 18:29:47 +0000 UTC]
Cool. You reply pretty fast. It's nice to have someone updating these awesome DAmn addons for all to enjoy. Thanks for making this.
👍: 0 ⏩: 1
electricjonny In reply to Kudaranai-Risu [2012-12-21 18:33:30 +0000 UTC]
Hehe yeah, I tend to reply fairly fast
Scripting for chats is about the only thing I do now, since the site keeps changing and I can't keep updating my scripts. But I thought this script worked rather well, so I'll probably be looking into making updates and adding features.
👍: 0 ⏩: 1
Kudaranai-Risu In reply to electricjonny [2012-12-21 18:55:46 +0000 UTC]
I'm looking forward to it,
👍: 0 ⏩: 0
Dezenerate In reply to ??? [2012-12-07 16:01:48 +0000 UTC]
Out of curiosity, is there any reason why it won't save the room list I make when I exit my browser?
I say this because my browser is always in private browsing and
other greasemonkey scripts save whatever changes I make (IE SuperdAmn, Chromacity)
👍: 0 ⏩: 2
photofroggy In reply to Dezenerate [2013-09-28 07:33:03 +0000 UTC]
In google Chrome, site data gathered while using incognito mode is destroyed when the program exits. This includes cookies and localStorage data. I'm not sure what this extension uses to store data, but it may have something to do with this.
👍: 0 ⏩: 0
electricjonny In reply to Dezenerate [2012-12-08 05:40:11 +0000 UTC]
Hmm, not really sure. I never use private browsing mode. The rooms are saved similar in how a cookie saves information. Are you using the most up to date browser version?
👍: 0 ⏩: 0
OrrinFox In reply to ??? [2012-12-03 17:44:20 +0000 UTC]
Oh, hold on a moment when i tried installing this it was corrupt according to greasemonkey
👍: 0 ⏩: 1
electricjonny In reply to OrrinFox [2012-12-03 20:31:49 +0000 UTC]
Corrupt? Try installing this by opening this in a new tab: http://electricjonny.com/code/dAmn_Autojoin.user.js
The outgoing link may be fucking shit up…
👍: 0 ⏩: 1
OrrinFox In reply to electricjonny [2012-12-04 01:08:07 +0000 UTC]
You know what, that was it. shoulda thought about that alright then, and yeah ill let you know if it messes with superdAmn any, im guessing this wont need dAmnX or anything so, should be alright as a lone script.
👍: 0 ⏩: 1
electricjonny In reply to OrrinFox [2012-12-04 05:53:59 +0000 UTC]
Haha, glad everything works
👍: 0 ⏩: 0
OrrinFox In reply to ??? [2012-12-03 17:41:39 +0000 UTC]
So, does this have any conflictions with superdAmn like in dAmn goodies? Really If i can get the autojoin working with this scripts and it has no conflicts like dAmn goodies then I think I might just install this scripts alongside superdAmn
👍: 0 ⏩: 1
electricjonny In reply to OrrinFox [2012-12-03 20:32:49 +0000 UTC]
Pretty sure this works without any conflicts. But let me know if it does break shit.
👍: 0 ⏩: 0
namenotrequired In reply to ??? [2012-12-03 14:40:20 +0000 UTC]
Ah so you went with /autojoinEdit after all
I've been using your original extension but this is better!
👍: 0 ⏩: 1
electricjonny In reply to namenotrequired [2012-12-03 14:42:49 +0000 UTC]
Hehe yes, this update has finalized a lot of what I intended to do The placement of things (the Remove all button) and the room name limitations specifically.
👍: 0 ⏩: 0
RaijiMagiwind In reply to ??? [2012-12-03 13:59:34 +0000 UTC]
Personally, tis about time that this sucker got some sort of makeover...since I think for those who hit multiple rooms, this extension has become almost as useful as SuperdAmn...
👍: 0 ⏩: 1
electricjonny In reply to RaijiMagiwind [2012-12-03 14:04:55 +0000 UTC]
Thank you
Yes, this is one of those chat things that are almost a must-have, since now, only extensions have existed. Which is alright and fine, but I think this script works loads better and more efficiently than any extension. (Or so I hope )
Thank you for the comment
👍: 0 ⏩: 1
deviant-garde In reply to ??? [2012-12-03 06:29:01 +0000 UTC]
About time we had a good autojoin that didn't require an extension. I've just been using a bookmarklet and I'll probably continue to, but not everybody can make one of those...
👍: 0 ⏩: 1
<= Prev | | Next =>