Welcome to Tactical Gamer

+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
Discussion: General Forums / Hardware & Software Discussion - PM Reply-All Button (Greasemonkey Script) - When reading a Private Message with multiple recipients, privatemessagereplyall.user.js adds "Reply All" functionality via a
  1. #1

    WhiskeySix's Avatar

    Join Date
    Oct 2005
    Posts
    13,482
    Blog Entries
    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

  2.  
  3. #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

  4.  
  5. #3


    Tempus's Avatar

    Join Date
    May 2003
    Location
    Miami, FL
    Age
    41
    Posts
    8,684

    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.

  6.  

     
  7. #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

  8.  
  9. #5

    WhiskeySix's Avatar

    Join Date
    Oct 2005
    Posts
    13,482
    Blog Entries
    1

    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

  10.  
  11. #6

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Lightbulb 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

  12.  

     
  13. #7

    Beatnik's Avatar

    Join Date
    Jun 2005
    Location
    Austin, TX
    Age
    36
    Posts
    4,432

    Re: PM Reply-All Button (Greasemonkey Script)

    Killer. Thanks for writing these scripts, Whiskey.
    Beatnik

  14.  
  15. #8

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: PM Reply-All Button (Greasemonkey Script)

    Quote Originally Posted by Tempus View Post
    I need a plugin that lets me Add to Whiskey's Reputation every time I want to without having to spread it around.
    Whiskey, get to work on this script next.
    |TG-12th| jmaker

  16.  
  17. #9

    WhiskeySix's Avatar

    Join Date
    Oct 2005
    Posts
    13,482
    Blog Entries
    1

    Re: PM Reply-All Button (Greasemonkey Script)

    first post updated - reinstall and let me know if it works...

    |TG-12th|WhiskeySix

  18.  

     
  19. #10

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    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

  20.  
  21. #11

    WhiskeySix's Avatar

    Join Date
    Oct 2005
    Posts
    13,482
    Blog Entries
    1

    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

  22.  
  23. #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

  24.  

     
  25. #13

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: PM Reply-All Button (Greasemonkey Script)

    Looks good my man!
    |TG-12th| jmaker

  26.  
  27. #14

    icky's Avatar

    Join Date
    Jul 2005
    Location
    Ottawa Valley
    Posts
    6,152

    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!

  28.  
  29. #15

    icky's Avatar

    Join Date
    Jul 2005
    Location
    Ottawa Valley
    Posts
    6,152

    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!

  30.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top