Deviant Login Shop  Join deviantART for FREE Take the Tour


Submitted on
November 23, 2012
Image Size
88.6 KB
Submitted with


24,204 (5 today)
490 (who?)
236 (1 today)


Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
× by photofroggy by photofroggy is a userscript for the dAmn chatrooms. This userscript gives the official chat client the ability to use WebSockets instead of Flash, Java, and other alternatives.

Why this is a good idea?
Using WebSockets means that no additional browser extensions, aside from this userscript, have to be loaded into the chatrooms in order to connect. This makes connecting faster, and often, more reliable. Using WebSockets for the chatrooms is also faster than using Flash or Java! Install this userscript and you should get a noticeable speed boost when using dAmn.

Installing in FireFox
:bulletgreen: Install Greasemonkey
:bulletgreen: Click to install

Installing in Chrome
:bulletgreen: Download
:bulletgreen: Open the extension manager in Chrome (chrome://extensions)
:bulletgreen: Drag and drop onto the page

Thanks to the following people for helping make this userscript a reality:
- ~plaguethenet created and runs the proxy server that is used by the userscript to connect to dAmn.
- $KnightAR fixed the userscript to make it work in FireFox, and provided code to make it fit in with the rest of dAmn properly.
- ~deviant-garde fixed some encoding issues.

Known Bugs
:bulletred: In FireFox, pressing the "escape" button causes the WebSocket connection to be closed. This is a bug in FireFox, I do not know when it will be fixed.
Add a Comment:

Daily Deviation

Given 2012-11-25 by =photofroggy

deviantART Related / deviantART Skins & Scripts / Browser Scripts and Extensions

(Suggested by `JoseFelipeM and =Eitvys200) ( Featured by bradleysays )
This is my first critique, so bear with me here:

The ideas behind this plugin are well understood: use as little resources as possible, and not require more stuff, & also make a more reliable connection. For people that use other dAmn addons will have Greasemonkey, but why do we need flash running all the time? or need plugins that are browser specific? Not quite, anymore, thanks to this.

This plugin also closes a gap between browsers, such Firefox-specific
dAmn XPCOM that is somewhat unreliable, and flaky flash out of the equation, eliminating the dreaded [Flash timeout] on both Chrome, Firefox & Safari, and instead replaces it with a simple userscript that can be used in Chrome using TamperMonkey and Firefox using Greasemonkey. It even connects faster. Multiple browsers, one stone. one solution.

This also seals a gap with alternative operating systems that Firefox & Chrome can run on, such as Android, Linux & Unix, where flash may not be available/installed, allowing those users to access the dAmn network.

This plugin has succeeded at a lot of bridging the gap between user and dAmn, and does it well in a lot of places. With the proper care & maintenance, this will be usable & relevant for a long time to come.
What do you think?
The Artist thought this was FAIR
42 out of 49 deviants thought this was fair.

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

Kavilene Feb 3, 2014  Hobbyist Digital Artist
Um...I'm using Windows 7, Firefox and Greasemonkey...

It's not working today?
photofroggy Feb 4, 2014  Hobbyist Artist
This userscript connects to a proxy server which then connects to dAmn. Yesterday the proxy server was down for a bit. Should be working fine now. Sorry for any inconvenience caused.
Kavilene Feb 4, 2014  Hobbyist Digital Artist
Thank you!!!
seems to have gone down again
xxAi-Himexx Jul 29, 2013  Student General Artist
Having this same problem.  Disabled it for the moment. But yes, it hasn't been working all day.
Leichenengel May 12, 2013  Hobbyist General Artist
Is there a reason why this does not work anmore? It still worked a few days ago even together with TheBundle but since two days it won't connect anymore. Is it down? Or isn'T it supported any longer because of WSC?
photofroggy May 13, 2013  Hobbyist Artist
It does work.

I have heard from several people that they are having difficulties with it, but there are a few possible reasons for this.

For others, including myself, it works just fine. uses the same connection method as wsc.dAmn.

I am reluctant to support, mainly because the official dAmn client is a terrible mess and shouldn't exist in its current state. Using stuff like "TheBundle" is a vain attempt at polishing a turd.

I am also currently sitting my final exams for University, so I don't really have the time to waste on supporting a decrepit chat client.

Feel free to use wsc.dAmn or Narwhal. These are much better alternatives to the official client. That said, connection issues may arise. The resources available to use here are incredibly limited. If dA bothered supporting dAmn at all, there would be no need for, nor wsc.dAmn.

Please, by all means, complain to dA about dAmn being in a state of disrepair. They will not invest any time or resources in dAmn until they feel that people actually want to use the chats. Trouble is, people won't use it until dA starts maintaining it properly. Horrible circular logic. An hopeless downward spiral which will culminate in dAmn being shut off.

Give me a reason to give a shit.
zio-san May 13, 2013  Professional General Artist
The dAmn server uptime costs are just ridiculus and could be covered by an individual so them are nothing for a company.. i wonder if it needs more than a 4-8gb linux 100mbit virtual machine, shutting them down would be a nonsense.. (i guess just the annual fee by all supergroups and premiums of the chats related groups & users is more than needed dAmn annual costs)

the better way imho instead is not to complain but use the chats making interesting projects and give reasons to the users to stay and make userbase grows.. the rest will come by itself...

Thanks for your "vain attempt" rofl xD i like the way how you put someone else months of developing mix technologies in the trash (thebundle is not just the userscript for the actual chats) and is curious how you seems to suffer so much for mantain a less than 300 rows userscript that requires almost nothing manteinance at all (need to remember that is just an interface for the proxy?).. just say the truth.. you want just to drive users to wsc.dAmn ;D

just let people decide what's the best client for their needs no need of tricks
for me all clients could cohexists but is also vital that a good part of the users still use the original client otherwise developers will never being pushed to improving tech

anyways u continue insisting all the time dAmn original client sucks so bad... i agree that isn't the best in terms of freshness but is usable.. we are talking of a chat client not a business high end enviroment that needs to be tuned to the most

You are a good coder and did projects that helped the community a lot.. but lemme say your vision is too much focused on the developer side.. common users don't see the things in the same way

everyday trolling, hating and the general fud carried out by some new or old regulars is what making people to being scared to rest and enjoy the chats as place to relax, share thoughts and ideas...

Regardless the tech, what makes the chats interesting are the people... you can use, wsc.dAmn, TheBundle, superdAmn, all the addons or clients you want but the main point is... why i should join a chat? to meet possible friends? people who share my same interests? could i carry out nice conversations or i will be harassed for no actual reasons by some fastidious elements daily?

People and Projects are the key, tech come second or third there..
photofroggy May 13, 2013  Hobbyist Artist
The resources available to us (myself and others responsible for and the proxy) are incredibly limited. While dA has a lot more available, they can't dedicate a lot of development time to dAmn. Development time counts as a resource. And I think you may be underestimating the sort of infrastructure required to run dA, and the sort of systems that dAmn should be using. I will not delve into that right now, though.

There are many reasons why people don't use dAmn, and many possible solutions to the problem. dA properly supporting the chats would include them promoting the channels and creating events to get people involved, not just reworking things. Of course other people could do this, but dA should be setting some sort of example, really.

The attitudes of many regulars of dAmn is quite harmful in some cases, but that's really only a minor problem, and one that could be solved relatively easily. Shifting from having Message Network Administrators as a distinct team to just having one team of Community Volunteers made a huge difference, and for the worse, in my opinion. The chat servers really need a set of dedicated moderators to keep things in check. It used to be the case that there were very consistent operators in the chats; they kept proceedings relatively "clean" and often provided entertainment for users. This has been lost. Nay, destroyed. The fact of the matter is, dAmn is neglected almost entirely.

I think you misunderstood my point about userscripts being a vain attempt to polish a turd. The point was the turd, which is the official client, in this case. The quality of your work is neither here nor there. You are far too quick to take offence on the matter. The reason I have held back on actually reviewing your work and giving you some feedback on it is because I worry you would ostensibly get offended for no real reason and just avoid discussing your work.

I am well aware it takes time and effort to create things. You really have to be open to feedback and discussions, even if people do say negative things about it. Instead of focusing on vitriol, you should try and take something from it that you could use to improve your creations and your programming on the whole. I didn't progress by sticking my head in the sand. And I wouldn't continue to progress if I chose to do so now.

I don't really know what you mean by "suffer so much" for a userscript. I pretty much have not touched it since first uploading it and it still works without a hitch. As you say, it simply implements the proxy.

What "tricks"? I'm not using any "tricks". I tell people outright that I think the official client is bad. And it is! It relies on Flash, or other external plugins, to connect to a chat server. This is an obsolete method, and has been for a short while now, but long enough for dA to have done something about it, maybe. But that is more dependant on the state of the chat server's source code, which I don't really know about.

Aside from that, have you tried actually reading through the official client's JavaScript? It is an absolute nightmare to try trawling through. The flow doesn't really make much sense, and it still uses largely functional/procedural programming rather than object oriented programming. While OOP isn't the end-all for programming, it's certainly way more appropriate for this setting. Though, it may be more ideal to have a mixture of OOP and Procedural programming.

Having different clients is indeed a good thing. If more people use wsc.dAmn or Narwhal, maybe dA would be pushed to improve on their own client. Though I suspect they may just leave things in their current state as a usable option exists, and that's fine, apparently.

My point here can be related by simply observing the fact that the features in superdAmn are not already a standard part of the official client. Many of the features are borrowed from userscripts which were around for years prior to superdAmn, things that have been considered essentials soon after the client was initially released. That is over eight years ago.

I do have plans for projects or events or whatever to encourage more people to use the chats, but that doesn't work without having a solid foundation to build upon. The official client simply doesn't cut it as even a basic client any more.
Leichenengel May 13, 2013  Hobbyist General Artist
Ah well I know what you mean - I just noticed that was working better for me and all the scripts I use than WSC was. In fact WSC still doesn't support all I would like it to support.

Do you think a journal about how people use the chats or want to use the chats would help? Idk - I mean I could file a helpdesk ticket but for what reason? Wouldn't it be better to make some sort of petition about dAmn being reworked?

Good luck with your finals

And if I find a reason to give that will make you give a shit I will let you know :giggle:
Add a Comment: