-
06-05-2007, 06:23 PM #1
PM Reply-All Button (Greasemonkey Script)
When reading a Private Message with multiple recipients, privatemessagereplyall.user.js adds "Reply All" functionality via a new button at the bottom of the PM:
Comments, suggestions, and bug-reports welcome.
[ This is a script that requires the (free) FireFox browser and the GreaseMonkey plugin for Firefox. When both are installed, just click the script-link above to start using this. ]
|TG-12th|WhiskeySix
-
06-05-2007, 06:32 PM #2
- Join Date
- Jan 2006
- Location
- United states, TN
- Age
- 39
- Posts
- 3,072
Re: PM Reply-All Button (Greasemonkey Script)
Really? Tell me this doesn't add a "Reply to all" button. If it does then I might have to kiss you.
edit: OMG it works. I really can't thank you enough for this one. It's something TG has been needing for a long time.Retired 6th DB
-
06-05-2007, 06:38 PM #3
Re: PM Reply-All Button (Greasemonkey Script)
I need a plugin that lets me Add to Whiskey's Reputation every time I want to without having to spread it around.




-- Suits are what you wear when doing things you shouldn’t want to do anyway.
FROM THE TACTICAL GAMER PRIMER.
3) Support game play in a near-simulation environment. Where the focus of play would not be solely on doing what it takes to win, but doing so utilizing real-world combat strategy and tactics rather than leveraging exploits provided to players by the design of the game engine.
-
06-05-2007, 06:44 PM #4
- Join Date
- Jan 2006
- Location
- United states, TN
- Age
- 39
- Posts
- 3,072
Re: PM Reply-All Button (Greasemonkey Script)
I think I found a bug. Say I receive an email from eGoatboy that goes to me and Mister_X. If I hit your "Reply to all" button then it sends a PM to me and Mister_X but not to the original sender. It looks like the original senders name appears momentarily but gets over written by the other names.
I am using FireFox 2.0.0.4. I don't know what version of script Monkey (if there are separate versions).Retired 6th DB
-
06-05-2007, 07:00 PM #5
Re: PM Reply-All Button (Greasemonkey Script)
good catch.. that's an easy fix... brb...
oh.. hmm.. I suppose it shouldn't CC yourself on the reply, huh? ok - that'll take a little different fix.
|TG-12th|WhiskeySix
-
06-05-2007, 07:19 PM #6
Re: PM Reply-All Button (Greasemonkey Script)
I don't know the exact fix or even code but the pseudo code would be something like this in this section would it not?
Code://--- generate recipient List -------- var thisName = "" var nameList = "" nameSpans = namesCell.getElementsByTagName('span'); for(i=1; i<nameSpans.length; i++) { (Pseudo code) //Skip my own name here, I don't need a reply to myself (Pseudo code) //Find the name of original sender and add his name here thisName = nameSpans[i].innerHTML nameList = nameList + ''+thisName+'' + '\; '; }|TG-12th| jmaker

-
06-05-2007, 08:11 PM #7
Re: PM Reply-All Button (Greasemonkey Script)
Killer. Thanks for writing these scripts, Whiskey.
Beatnik

-
06-05-2007, 08:12 PM #8
-
06-05-2007, 09:21 PM #9
Re: PM Reply-All Button (Greasemonkey Script)
first post updated - reinstall and let me know if it works...

|TG-12th|WhiskeySix
-
06-05-2007, 09:35 PM #10
Re: PM Reply-All Button (Greasemonkey Script)
Ok it now adds the original sender but still has 'my name' in the list.
|TG-12th| jmaker

-
06-05-2007, 11:49 PM #11
Re: PM Reply-All Button (Greasemonkey Script)
Thanks for the feedback guys! The original thread is updated with what I think is the "final" version. Let me know if you find any other goof ups!

|TG-12th|WhiskeySix
-
06-06-2007, 12:10 AM #12
- Join Date
- Jan 2006
- Location
- United states, TN
- Age
- 39
- Posts
- 3,072
Re: PM Reply-All Button (Greasemonkey Script)
This version seems to work perfectly for me. Thanks again man! Now I have to go delete about 75 PM's...
Retired 6th DB
-
06-06-2007, 12:42 AM #13
Re: PM Reply-All Button (Greasemonkey Script)
Looks good my man!
|TG-12th| jmaker

-
06-06-2007, 08:57 AM #14
Re: PM Reply-All Button (Greasemonkey Script)
Ok, many scripts have come and gone without me checking them out, but this one I must run.

So, as a greasemonkey newbie, I got it installed and then clicked on the script, but it comes up with a screen of script and gives me an install button. When I click install on that page, I get nothing. I can't see how to get anything. Ideas?Peace through fear... since 1947!
-
06-06-2007, 10:00 AM #15
Re: PM Reply-All Button (Greasemonkey Script)
Searched and found that disabling and then re-enabling greasemonkey fixes the problem.
Peace through fear... since 1947!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)




Reply With Quote



Bookmarks