photofroggy on DeviantArthttp://creativecommons.org/licenses/by-nc-sa/3.0/https://www.deviantart.com/photofroggy/art/dAmn-ws-Broken-339365951photofroggy

Deviation Actions

Daily Deviation

Daily Deviation

November 25, 2012
dAmn.ws by =photofroggy

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

(Suggested by `JoseFelipeM and =Eitvys200)
Featured by bradleysays
photofroggy's avatar

dAmn.ws *Broken*

By
Published:
30.8K Views

Description

dAmn.ws 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 dAmn.ws

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

Credits
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: photofroggy.deviantart.com/jou…
Image size
1035x742px 88.59 KB
Comments296
Join the community to add your comment. Already a deviant? Log In
H-E-L-L-O-W-O-R-L-D's avatar
:star::star::star::star-half::star-empty: Overall
:star::star::star::star::star-empty: Vision
:star::star::star-half::star-empty::star-empty: Originality
:star::star::star::star-half::star-empty: Technique
:star::star::star::star::star-half: Impact

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.