Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
January 25
Image Size
73.2 KB
Resolution
1024×609
Submitted with
Sta.sh
Link
Thumb
Embed

Stats

Views
1,122 (2 today)
Favourites
14 (who?)
Comments
4
Downloads
3
×
dA Chat-Whisper by electricjonny dA Chat-Whisper by electricjonny
This, in a nutshell, is a way to chat privately with people in the dA chat rooms without having to have both people type /chat username (if you use SuperdAmn, that is).  It's a way to talk to people that can't be spied on in any easy way.

But there are some things to consider:
  1. This is using a shared key between users, which is plainly visible in the script source.  You can set up a custom key to be more encrypted, although don't think that this is impossible to decode.  It's not very complicated encryption.
  2. The way the commands work is a tad complicated.  You can /whisperHelp to see a description of how things are done, but I'll explain more down below.
  3. The whisper you send to someone is encoded in a public message you send out to the room.  A part of that message will be public, but no one other than the person you are whispering to will see your encoded message.  So to whisper to someone, you must send out a public message (that can be anything you want).
  4. Both people trying to whisper to each other need to be using this script.  So if you don't know if someone has the script, trying to whisper to them will simply tab them and see your public message, which could cause confusion.
  5. Capitalization matters here.  The name you whisper must be the same capitalization as it really appears or else they won't see it.  This also goes for setting a custom key for a person.  The key must also be the same capitalization, which I'll describe below.
  6. Whenever you whisper to someone, it will look like you've posted two messages right after each other.  But only one is visible to the room.  The first one that gets posted is simply a message that the script spits out telling you what you've said to the person you whisper to.  The one below it is how it appears to the room.  So it's a bit cludgy, but this was the best way I could make it work.  Just know that the room won't see the first thing you say (the [You whispered]... part), just the second part.




So for a real world example, lets say that me and OpalMist both have this script.  For me to whisper to him, I would type.
  • /whisper OpalMist I'm whispering to you, and no one can see it, all they'll see is what I write after this. // Anything on the right side of those two slashes will be the thing that is shown publicly.
Or:
  • /whisper OpalMist By the way, my phone number is 123-4567, so you can call me about the party // OpalMist: Going to the party later?


So you can /whisper username private message // public message.  And it won't work if you don't have a space after the two slashes.



If you want to set up a custom key with someone, you can do it by simply typing:
  • /whisperSetKey username the key you want to use

So if I was fine with the rather easy to decode way this works by default, I could just ignore all the custom key stuff.  But if I wanted to whisper with someone and be a bit more secure, me and that person could decide that we would use a custom key of say, "monkeyballs--**--123987".  In order to have that be our own custom key, I would type:
  • /whisperSetKey theotherperson monkeyballs--**--123987

And theotherperson would type:
  • /whisperSetKey electricjonny monkeyballs--**--123987

That would set up an encryption/decryption key using that monkeyballs--**--123987 key.  And since we would have passed that key to each other privately, it would be difficult to decrypt.

Now, you can view the custom keys you've set up by typing: /whisperViewKeys, and that will pop open a box to list them all.  If you want to change the key of a user to something else, you can simply type in: /whisperSetKey thesameperson anotherkey and it will update.  Just be sure to keep the capitalization the same or you'll end up with two keys for the same user which will break things.  If you want to remove all of your keys, you can type: /whisperClearKeys confirm and that will remove all of the keys.  Just be sure to type confirm after the command or it won't work.



And again, you can type: /whisperHelp in order to get a run-down of the commands.  You can also click on the help label at the top to add a link to this script in the input box.



The commands are:
  • /whisper - What you type to whisper to people.
  • /whisperClearKeys - What you type in order to delete all your keys.
  • /whisperHelp - What you type to get a quick box to pop open with all of the help options.
  • /whisoerSetKey - This lets you set custom keys between users.
  • /whisperViewKeys - This opens a box to show you the saved keys you have with people.


And remember, you can simply type: /whi+tab to autocomplete the commands.  Keep tabbing to go through the list of them.



I'd like to thank OpalMist for a lot of ideas about how this should work, and a few other users for the testing they did :)

To install:



You can install the script by opening this URL in a new tab: http://electricjonny.com/code/dA_chat-whisper.user.js and Greasemonkey (for Firefox) will prompt you to install it.  For Chrome users, you need to save that link to your desktop, then open up the extensions page, and drag the script onto it in order to install it.




--
Note: This script is now against the rules in any official channel, so you can't use it in #devart or any other official room.

And if anyone comes across any bugs, or has any questions, then please leave a comment below.  Thanks :)
Add a Comment:
 
:iconcatluvr2:
Well, first of all, let me start off by saying that it was a pleasure to test this. Now that that's out of the way, let me continue by saying that this was a very good idea, and I'm pleased with how it's working so far. One thing that I'd like to see is a message sent to the other person who you're setting up a custom key with that says what the key is. After all, if you don't both have the same key, what good is that?
Overall, it's a really nice script, and I look forward to using it a lot in the future. I know you said that you didn't want to keep a database for who has it installed, but could you possibly have a third party store one? Just kind of throwing that out there.
Again, I really like this script. Keep up the good work, man.
What do you think?
The Artist thought this was FAIR
4 out of 4 deviants thought this was fair.

The Artist has requested Critique on this Artwork

Please sign up or login to post a critique.

:icondeviant-garde:
deviant-garde Featured By Owner Jan 25, 2014
Seems more than a bit too complicated from the user's angle. My script was just going to allow you to do "/whisper someone Some message" and include some notice boxes for certain interactions. As another feature it'd have notice boxes for when you want to pchat somebody. It's a lot to explain in one comment but I'll probably finish it soon anyway. :paranoid:
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 25, 2014  Hobbyist Photographer
Hehe, well I won't pretend I won't be a tad miffed if you whoop up a version that does the same as mine, but better.  But then again, I'm not the greatest js coder =P Although it's almost a benefit that this is a bit convoluted.  It keeps it from turning rooms into a back and forth between cliques of people.  This is supposed to be more of a "quick just gotta tell this person something".

Anyway, yeah your method seems like a pretty neat way to do things.  I really don't have any idea how it would be done since I don't do bot stuff, but it seems like a cool idea.  The more the better, I say.
Reply
:iconspewing:
spewing Featured By Owner Jan 25, 2014
This is a wonderful idea and useful
Reply
:iconelectricjonny:
electricjonny Featured By Owner Jan 25, 2014  Hobbyist Photographer
Thanks!

Let me know how it goes while using it or if you have any questions :)  It takes a bit to get used to it, but it works pretty decently after that.
Reply
Add a Comment: