Shop Mobile More Submit  Join Login


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


477 (who?)


Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
× *Broken* by photofroggy *Broken* 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.
:bulletred: This userscript currently does not work thanks to changes in the chat client. Check this journal for details:…
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
43 out of 50 deviants thought this was fair.

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

whisnubintangjiwa89 Featured By Owner Nov 1, 2014  Hobbyist Filmographer
One-For-Sorrow Featured By Owner Apr 21, 2014  Hobbyist General Artist is currently causing me to be unable to enter chatrooms in FireFox. If I leave it enabled, I get this message;
photofroggy Featured By Owner Apr 21, 2014  Hobbyist Artist
Yeah some changes were made to dA's chat client so no longer works with it.
One-For-Sorrow Featured By Owner Apr 21, 2014  Hobbyist General Artist
Well, that certainly is unfortunate. Will an updated version be in the works?
photofroggy Featured By Owner Apr 22, 2014  Hobbyist Artist
Possibly not. I'm quite busy with University at the moment.

If you want a client that connects using websockets and has a lot of extra stuff built in without having to install userscripts, try wsc.dAmn.wsc.dAmn by photofroggy  
ThunderClawShocktrix Featured By Owner Apr 25, 2014   Digital Artist
Actaully its easy to fix, right below line of code where you set the variable
var dAmnWebSocket = function( ) {

add a new  line with the following code and it will work
DWait.ready(['jms/pages/chat07/chatpage.js', 'jms/pages/chat07/dAmn.js', 'jms/pages/chat07/dAmnChat.js'], function() {

I found that code on this… journal
photofroggy Featured By Owner Apr 26, 2014  Hobbyist Artist
I highly doubt that would be the only thing I would have to change. There would be further scoping issues regarding manipulating objects. I already know about the requirement for using DWait.
ThunderClawShocktrix Featured By Owner Apr 26, 2014   Digital Artist
I know I thought it had fixed it turned out the next time i connected i saw that it was actually going to the mozilla plugin (though oddly that seems to start more reliably with this broken but not to the point of 'barfing an error box' script turned on, i don't get it)
ThunderClawShocktrix Featured By Owner Apr 25, 2014   Digital Artist
nevermind work right -.=.- was actaulyl using the mozilla plugin
ThunderClawShocktrix Featured By Owner Apr 25, 2014   Digital Artist
sorry for the false alarm aobut an easy fix, it did at least get rid of the error message but clearly something else besides just adding that code is needed to make it work right.... *goes to expirment some more*
Add a Comment: