HOME | DD

electricjonny — dAmn Autojoin by-nc-sa

#chat #chats #damn #room #rooms #autojoin #damnchat #damndamn #roomrooms
Published: 2012-12-03 05:49:15 +0000 UTC; Views: 7491; Favourites: 70; Downloads: 40
Redirect to original
Description Update
By 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 ??? [2014-09-19 19:10:29 +0000 UTC]

Huh yeah that's odd.   If you've installed it from the link I sent earlier and it's still not working, I really don't know why, sorry :/

👍: 0 ⏩: 1

500Heavens In reply to electricjonny [2014-09-19 19:28:56 +0000 UTC]

No the reinstall worked thankfully, I'm always surround by weird bugs though.

👍: 0 ⏩: 0

bobosmith01 [2014-06-10 18:10:52 +0000 UTC]

Since Google decided to kindly update and not used unauthorized extensions-you'll have to use this to the webstore for any use on Chrome.

👍: 0 ⏩: 1

electricjonny In reply to bobosmith01 [2014-06-10 19:03:57 +0000 UTC]

Yeah I knew that was coming.  But sorry, I won't be adding this (or any) script to their store.  I'm simply uninterested in gaining approval from the almighty google

The best workaround for that would be to install the Tampermonkey extension chrome.google.com/webstore/det… and then use that as an in-between to get unauthorized *.user.js scripts to work.  Just open its options and create a new script, remove all of the default text it has there, then paste in the contents of the script I link.  You can just save my linked script and then open it in notepad or any other text editor and copy it all, then paste it into the new textarea in Tampermonkey.

It's not quite as easy as it should be, but it's faster than waiting on some approval from google.

👍: 0 ⏩: 1

ArtShy1 In reply to electricjonny [2014-06-16 00:57:45 +0000 UTC]

'' I'm simply uninterested in gaining approval from the almighty google  ''     <- Kudos for that comment. [ Yes, I simply had to comment on this haha ]
Will try the Tampermonkey-thingy tomorrow, thanks a lot for sharing, I will try and spread the word ouob

👍: 0 ⏩: 1

electricjonny In reply to ArtShy1 [2014-06-16 01:07:49 +0000 UTC]

Haha, hope it works well for ya

👍: 0 ⏩: 1

ArtShy1 In reply to electricjonny [2014-06-16 19:53:40 +0000 UTC]

I was, admittedly, a bit confused in the start, then I went to a superdamn link a friend of mine linked, then I unerstood.

It works perfectly now, thanks a lot. \o/

👍: 0 ⏩: 1

electricjonny In reply to ArtShy1 [2014-06-16 20:23:13 +0000 UTC]

Glad it's working

👍: 0 ⏩: 0

One-For-Sorrow In reply to ??? [2014-04-11 00:41:38 +0000 UTC]

Autojoin has stopped working for FireFox.

👍: 0 ⏩: 1

electricjonny In reply to One-For-Sorrow [2014-04-11 03:49:53 +0000 UTC]

Yes, it appears that many scripts have stopped working.  Not sure when I can get it fixed,  but I'll let you know

👍: 0 ⏩: 1

One-For-Sorrow In reply to electricjonny [2014-04-11 13:01:10 +0000 UTC]

Alright, thank you! c:

👍: 0 ⏩: 0

mackybean In reply to ??? [2014-01-09 13:56:59 +0000 UTC]

whenever i type /Autojoin or /AutojoinEdit this pops up "O_o"

👍: 0 ⏩: 1

electricjonny In reply to mackybean [2014-01-09 14:11:17 +0000 UTC]

"O_o" pops up?

👍: 0 ⏩: 2

CreativeCoreLive In reply to electricjonny [2016-03-30 19:59:04 +0000 UTC]

Hey, I'm getting the same issue

👍: 0 ⏩: 0

mackybean In reply to electricjonny [2014-01-14 17:53:50 +0000 UTC]

yes

👍: 0 ⏩: 1

electricjonny In reply to mackybean [2014-01-14 17:57:48 +0000 UTC]

Huh, well it's not doing that for me, so I'm not sure what the problem is.

👍: 0 ⏩: 1

BlakGarde In reply to electricjonny [2014-04-16 20:34:12 +0000 UTC]

If I might make a comment... capitals?

(something tells me I'm going to feel stupid after posting this XD)

👍: 0 ⏩: 1

electricjonny In reply to BlakGarde [2014-04-16 22:31:46 +0000 UTC]

Huh, well that could be, but I never tested for that.

👍: 0 ⏩: 1

BlakGarde In reply to electricjonny [2014-04-17 00:19:18 +0000 UTC]

XD I'd test it now, but that last dAmn update broke it. (I tried the fix you posted on the SuperdAmner group journal... Meh.)

Either way, love the script. Been using it for months, with only a short break for the Bundle... I murderized the bundle when it started sucking down RAM >.>

👍: 0 ⏩: 1

electricjonny In reply to BlakGarde [2014-04-17 00:48:20 +0000 UTC]

So it the version out now does not work?  Listed in the description?

👍: 0 ⏩: 1

BlakGarde In reply to electricjonny [2014-04-17 00:57:34 +0000 UTC]

Ah, no. I don't even have the /autojoin command. If you want more immediate feedback, I'm camped in my private room #Daemonslair XD

👍: 0 ⏩: 1

electricjonny In reply to BlakGarde [2014-04-17 01:02:02 +0000 UTC]

well you can try the methods listed in deviant-garde.deviantart.com/j…

👍: 0 ⏩: 1

BlakGarde In reply to electricjonny [2014-04-17 01:05:15 +0000 UTC]

I have no clue how to work that XD. The only comp language I know is (X)HTML and CSS... I wouldn't even know where to look to add that code.

👍: 0 ⏩: 1

electricjonny In reply to BlakGarde [2014-04-17 03:35:26 +0000 UTC]

Not sure how much help I can be, then :/

👍: 0 ⏩: 1

BlakGarde In reply to electricjonny [2014-04-17 12:47:41 +0000 UTC]

Alright, thanks XD

👍: 0 ⏩: 0

Xeir-Zith In reply to ??? [2013-10-10 20:31:33 +0000 UTC]

Has this been updated ? I tried accessing the autojoin list, and all it did was automatically rejoin every channel I am part of. I am unable to edit the list at all, it just keeps rejoining my channels I am in

👍: 0 ⏩: 1

electricjonny In reply to Xeir-Zith [2013-10-10 20:45:35 +0000 UTC]

Did you try the /autojoinEdit command?  From there you should be able to add channels and move them around.  There's also a checkbox for automatically joining all of your rooms.

👍: 0 ⏩: 1

Xeir-Zith In reply to electricjonny [2013-10-10 22:31:05 +0000 UTC]

Yes, that is what I typed in, I typed oit /autojoinEdit, pressed enter, and then when the list appeared I automatically rejoined all the rooms on it without a chance whatsoever of being able to even add or remove a room from the list at all.

👍: 0 ⏩: 1

electricjonny In reply to Xeir-Zith [2013-10-11 00:26:32 +0000 UTC]

Huh, sorry that should not have happened not sure what is up here.

👍: 0 ⏩: 1

Xeir-Zith In reply to electricjonny [2013-10-11 01:50:10 +0000 UTC]

Well, it still does every time I try to update my list, the list pops up, and then a 1/4 second later dAmn refreshes and rejoins the channels

👍: 0 ⏩: 1

electricjonny In reply to Xeir-Zith [2013-10-11 01:57:43 +0000 UTC]

That is strange.  Sorry, not sure what is causing this.

👍: 0 ⏩: 1

Xeir-Zith In reply to electricjonny [2013-10-11 01:58:47 +0000 UTC]

If I reinstall it do you think it could help ?

👍: 0 ⏩: 1

electricjonny In reply to Xeir-Zith [2013-10-11 02:14:08 +0000 UTC]

It may, not sure.

👍: 0 ⏩: 1

Xeir-Zith In reply to electricjonny [2013-10-11 03:02:56 +0000 UTC]

No good, just tried it. Something is wrong, but I think it may need an update, after all dAmn has been updated a lot recently

👍: 0 ⏩: 1

electricjonny In reply to Xeir-Zith [2013-10-11 03:10:18 +0000 UTC]

Huh, well it seems to work for me  

👍: 0 ⏩: 1

Xeir-Zith In reply to electricjonny [2013-10-11 03:36:52 +0000 UTC]

Odd

👍: 0 ⏩: 0

9x9Studios [2013-10-03 16:39:30 +0000 UTC]

trying to install on firefox 24.0 . comes up saying it's corrupt . :/

👍: 0 ⏩: 1

electricjonny In reply to 9x9Studios [2013-10-03 16:43:24 +0000 UTC]

Probably due to the outgoing link

Try copy/pasting this into a new tab: http://electricjonny.com/code/dAmn_Autojoin.user.js

👍: 0 ⏩: 1

9x9Studios In reply to electricjonny [2013-10-03 17:18:16 +0000 UTC]

it just loads the script .. all the text in a new window

👍: 0 ⏩: 1

electricjonny In reply to 9x9Studios [2013-10-03 17:46:19 +0000 UTC]

Oh, do you have the Greasemonkey extension installed?

👍: 0 ⏩: 0

alphamule [2013-09-01 16:12:16 +0000 UTC]

Hmm, is this an IRC wrapper or something like Shoutcast where you HAVE to use a web browser?

👍: 0 ⏩: 1

electricjonny In reply to alphamule [2013-09-01 16:18:11 +0000 UTC]

Yeah, this is simply a browser script that uses the same chat.deviantart.com/chat/channel page as normal.  Exactly the same, only this lets you use a /autojoin command to either autojoin or go into the settings.

👍: 0 ⏩: 0

Kirona In reply to ??? [2013-06-26 17:29:30 +0000 UTC]

Saving changes to the autojoin list re-enables the "Automatic" checkbox even if left empty.  I'm forced to add/remove rooms, save, then use /autojoinEdit again to specifically clear that checkbox.

It *does* keep the checkbox cleared if that's the only thing I change before saving.

👍: 0 ⏩: 1

electricjonny In reply to Kirona [2013-06-26 17:31:09 +0000 UTC]

Huh.  Thanks for the bug report

I'll work on this tomorrow and try to get this fixed

👍: 0 ⏩: 1

Kirona In reply to electricjonny [2013-06-26 18:51:08 +0000 UTC]

No worries

I'm not in a rush for a fix, since I did find a workaround; I just wanted to let you know

👍: 0 ⏩: 1

electricjonny In reply to Kirona [2013-06-26 23:48:59 +0000 UTC]

Ok, give this a try and let me know how that works electricjonny.com/code/dAmn_Au...

👍: 0 ⏩: 1

Kirona In reply to electricjonny [2013-06-27 02:03:08 +0000 UTC]

Works perfectly   Thanks for the fix

👍: 0 ⏩: 1

electricjonny In reply to Kirona [2013-06-27 02:17:22 +0000 UTC]

Good to hear

👍: 0 ⏩: 0

Dustomega In reply to ??? [2013-06-07 14:13:27 +0000 UTC]

HELP! Every time i use AutojoinEdit, it resets the chats. i can't add any new chatrooms because of this.

👍: 0 ⏩: 2

electricjonny In reply to Dustomega [2013-06-16 12:32:17 +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 ⏩: 0


| Next =>