Shop Mobile More Submit  Join Login
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 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 :B
Add a Comment:
 

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

:iconcuchulainnboru:
CuchulainnBoru Featured By Owner Aug 19, 2015  Hobbyist Writer
i am kinda confused how to install this on firefox
Reply
:iconelectricjonny:
electricjonny Featured By Owner Aug 19, 2015  Hobbyist Photographer
Make sure you have Greasemonkey installed addons.mozilla.org/en-us/firef… and then click here to install 99.82.244.140/code/dAmn_Autojo…
Reply
:iconcuchulainnboru:
CuchulainnBoru Featured By Owner Aug 19, 2015  Hobbyist Writer
Thank you so much :D
Reply
:iconelectricjonny:
electricjonny Featured By Owner Aug 19, 2015  Hobbyist Photographer
You're welcome :)
Reply
:iconxo-deano-ox:
xo-deano-ox Featured By Owner Jul 23, 2015  Hobbyist Photographer
i was using Chrome.  it basically makes me drag and drop it to the "install a extension" everytime .  it says there's a invalid or not safe extension so we're disabling it .  i'm about to try it on firefox again. because i want to be more active in chats and on forums. 
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jul 23, 2015  Hobbyist Photographer
Ah, well if you're trying this in Chrome, it won't work natively.  You'd have to use Tampermonkey, although I'm not exactly sure how that works since I don't use Chrome.
Reply
:iconxo-deano-ox:
xo-deano-ox Featured By Owner Jul 23, 2015  Hobbyist Photographer
yeah it's crazy.  i've got grease monkey .. dragged the thing to the window and it says it installs.  but go to do /autojoinEdit says "unknown command error autojoin"
i've got superdAmn installed no worries. 
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jul 23, 2015  Hobbyist Photographer
I noticed that the link to install this was outdated, so that might having something to do with this.  I updated the link, so you can download the zip file, drag out the script, and drag it onto a Firefox window.
Reply
:iconxo-deano-ox:
xo-deano-ox Featured By Owner Jul 23, 2015  Hobbyist Photographer
yeah no dice.  i'll try it in the morning again.
Reply
:iconxo-deano-ox:
xo-deano-ox Featured By Owner Jul 17, 2015  Hobbyist Photographer
hey i've got to install this everytime i want to go in chats. tried on firefox and it still does the same.  i can install it. but if i close the browser and go back in . it says it's been disabled.  added it into tapermonkey commands just don't work
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jul 21, 2015  Hobbyist Photographer
:o

So it's disabled every time you close the browser and then open it again and go back to the chats?  As in, you open the Greasemonkey menu and it's not checked as enabled?  There's no way that's possible, unless something is very messed up within your Firefox settings.

Not sure what the problem could be, sorry :/
Reply
:iconooshma:
Ooshma Featured By Owner Jun 19, 2015  Student General Artist
I tried clicking on the code link thing and it said

The connection has timed out

The server at 99.82.246.199 is taking too long to respond.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jun 19, 2015  Hobbyist Photographer
Yes, sorry.  My site is currently rather buggy, and all the code there is buggy/unavailable (404's and all that).  I'm not sure if or when I'll ever get it back up, but I'll try to remember you when I do.
Reply
:iconooshma:
Ooshma Featured By Owner Jun 21, 2015  Student General Artist
sooo I can't get damn autojoin?
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jun 21, 2015  Hobbyist Photographer
Unzip this and then you'll have to open it in Firefox/Chrome (drag it onto the browser) and it should work :) dAmn Autojoin.user
Reply
:iconooshma:
Ooshma Featured By Owner Jun 21, 2015  Student General Artist
Yay! Thanks
Reply
:icontmpst24myst:
tmpst24myst Featured By Owner Edited Apr 4, 2015  Student Writer
Chrome hates my laptop. Or it could be the other way around - all I know is I love it and can't instal it and keep my laptop functioning properly. I also was going to say that it's probably chrome that sucks, not your script for it :aww: I choose to blame chrome, either way.
xx Dae
P.S. Thank you for making this available for us. People like myself who are not tech savvy. ^^;
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 4, 2015  Hobbyist Photographer
Heh, well I had made this, assuming, that Chrome would support native scripts, like this. But NO, they went and tried to be all safe with stuff...

Basically, you need to install the TamperMonkkey extension, then (I believe), copy all of my script source (99.82.246.199/pub_code/dAmn_Au…) to the options within that extension.
Reply
:iconsnake-plisken:
Snake-Plisken Featured By Owner Jan 16, 2015  Professional Artist
Well, so far I've only used it once(considering I just downloaded it haha) and already I love it. Thanks a butt ton, electricjonny!
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 16, 2015  Hobbyist Photographer
Glad you like it :D
Reply
:iconkyubifan:
kyubifan Featured By Owner Nov 1, 2014  Hobbyist General Artist
Umm, why does it 'destroy' my autojoin list? I need to add it over and over again. The list I made doesn't show up after I close FF.
Also, note; I have set my FF 'never remember history'.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Nov 1, 2014  Hobbyist Photographer
Uh, not sure :slow:  I am not certain of the progression of the state, "never remember history", but that might be it.  I store the saved channels you join in a localStorage DOM, which could be ignored if you disable that, within your browser.  I tried to make this a rather "universal" plugin (working in Firefox AND Chrome), and so I used universal DOM methods.  In short, perhaps enable deviantart.com to use localStorage, and let this extension/script do what it was meant to do?  :B
Reply
:iconkyubifan:
kyubifan Featured By Owner Nov 1, 2014  Hobbyist General Artist
:lol: Okay. I'll try doing that. I had the older Autojoin but then set the FF default and that deleted it, can't even find it anywhere anymore.
Reply
:icon500heavens:
500Heavens Featured By Owner Sep 18, 2014  Hobbyist General Artist
The script is still working for me but the /autojoin /autojoinEdit commands aren't working and I can't remember how I added my rooms to the list previously. (It's never worked for me...a conflict for superdamn maybe?) But now that I can't remember what I did before it's more of a problem
Reply
:iconelectricjonny:
electricjonny Featured By Owner Sep 18, 2014  Hobbyist Photographer
Hmm, it seems to work fine for me, although I remember the edit command not working at one point a while back.  I may have edited the script to work (although I don't have code to make it auto update for people), so you may just need to reinstall the script from here 99.82.246.199/code/dAmn_Autojo… Try that and let me know if it works :) (and remember, the /autojoinEdit command is case sensitive, so just /au+tab twice to quickly get the command typed out).
Reply
:icon500heavens:
500Heavens Featured By Owner Sep 18, 2014  Hobbyist General Artist
I know that. The issue was the command didn't seem to exist at all.
Reply
:iconelectricjonny:
electricjonny Featured By Owner Sep 18, 2014  Hobbyist Photographer
Oh so you couldn't even tab it?  Or did it just not do anything?  I'm using the latest Firefox and Greasemonkey and it seems to be working for me, but you might have some other scripts interfering with it, which would be hard to troubleshoot.
Reply
:icon500heavens:
500Heavens Featured By Owner Sep 19, 2014  Hobbyist General Artist
i only have superdamn. If I type either command it says it could not find command 'autojoin' and it says 'autojoin' even if I type 'autojoinEdit' (And no I'm not using a space) and it doesn't exist in the tab commands
Reply
:iconelectricjonny:
electricjonny Featured By Owner Sep 19, 2014  Hobbyist Photographer
Huh :o

I have my autojoin script below the SuperdAmn script.  I think the order of scripts you have can sometime mess with things, so maybe try changing the order.
Reply
:icon500heavens:
500Heavens Featured By Owner Sep 19, 2014  Hobbyist General Artist
Same order...I think it must just hate me
Reply
:iconelectricjonny:
electricjonny Featured By Owner Sep 19, 2014  Hobbyist Photographer
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 :/
Reply
(1 Reply)
: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
:iconartshy1:
ArtShy1 Featured By Owner Jun 15, 2014  Student 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
:iconartshy1:
ArtShy1 Featured By Owner Jun 16, 2014  Student 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
:iconelectricjonny:
electricjonny Featured By Owner Jan 9, 2014  Hobbyist Photographer
"O_o" pops up? :o
Reply
:iconmackybean:
mackybean Featured By Owner Jan 14, 2014  Student General Artist
yes
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 14, 2014  Hobbyist Photographer
Huh, well it's not doing that for me, so I'm not sure what the problem is.
Reply
:iconblakgarde:
BlakGarde Featured By Owner Apr 16, 2014  Hobbyist Artist
If I might make a comment... capitals?

(something tells me I'm going to feel stupid after posting this XD)
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 16, 2014  Hobbyist Photographer
Huh, well that could be, but I never tested for that.
Reply
:iconblakgarde:
BlakGarde Featured By Owner Apr 16, 2014  Hobbyist Artist
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 >.>
Reply
:iconelectricjonny:
electricjonny Featured By Owner Apr 16, 2014  Hobbyist Photographer
So it the version out now does not work?  Listed in the description?
Reply
(1 Reply)
:iconaren-elsa:
Aren-Elsa Featured By Owner Oct 10, 2013  Hobbyist Writer
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
Reply
:iconelectricjonny:
electricjonny Featured By Owner Oct 10, 2013  Hobbyist Photographer
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.
Reply
Add a Comment:
 
×




Details

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

Stats

Views
4,560
Favourites
67 (who?)
Comments
130
Downloads
28

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
×