Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
December 2, 2012
Image Size
21.4 KB
Resolution
276×528
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
3,321 (3 today)
Favourites
56 (who?)
Comments
98
Downloads
19

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×
dAmn Autojoin by electricjonny dAmn Autojoin by electricjonny
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 download and save the script file to your computer, and then open up the extensions page within Chrome, and drag and drop the script onto the extensions page.

The file is located here http://99.82.246.199/code/dAmn_Autojoin.user.js

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 :B
Add a Comment:
 

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

:iconbobosmith01:
bobosmith01 Featured By Owner Jun 10, 2014  Student Traditional Artist
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.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jun 10, 2014  Hobbyist Photographer
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 :roll:

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.
Reply
:iconyokomin:
Yokomin Featured By Owner Jun 15, 2014  Hobbyist General Artist
'' I'm simply uninterested in gaining approval from the almighty google Roll Eyes ''     <- 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
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jun 15, 2014  Hobbyist Photographer
Haha, hope it works well for ya =P
Reply
:iconyokomin:
Yokomin Featured By Owner Jun 16, 2014  Hobbyist General Artist
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/
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jun 16, 2014  Hobbyist Photographer
Glad it's working :nod:
Reply
:iconone-for-sorrow:
One-For-Sorrow Featured By Owner Apr 10, 2014  Hobbyist General Artist
Autojoin has stopped working for FireFox.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 10, 2014  Hobbyist Photographer
Yes, it appears that many scripts have stopped working.  Not sure when I can get it fixed,  but I'll let you know :)
Reply
:iconone-for-sorrow:
One-For-Sorrow Featured By Owner Apr 11, 2014  Hobbyist General Artist
Alright, thank you! c:
Reply
:iconmackybean:
mackybean Featured By Owner Jan 9, 2014  Student General Artist
whenever i type /Autojoin or /AutojoinEdit this pops up "O_o"
Reply
Add a Comment: