Grease monkey multi line replacement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eric brasha
    New Member
    • May 2011
    • 1

    #1

    Grease monkey multi line replacement

    I'm trying to spoof page info using grease monkey to play a joke on my friend, but I don't seem to be able to get it to work.

    the existing code looks something like this:

    Code:
    <tr>
    <td align="left">05/08</td>
    <td>06:12 PM</td>
    <td align="left">
                                                            
                                <a href="JavaScript:openPAB('Steve Blank')">Steve Blank</a>                            
                        </td>
    <td>
                                            
                        3 Hours/47Min
                        </td>
    <td>Biathlon</td>
    
    <td align="right"></td></tr>
    and turn it into:

    Code:
    <tr>
    <td align="left">05/08</td>
    <td>10:00 PM</td>
    <td align="left">
                                                            
                                <a href="JavaScript:openPAB('Steve Blank')">Steve Blank</a>                            
                        </td>
    <td>
                                            
                        Did not finish
                        </td>
    <td>Disqualified</td>
    
    <td align="right"></td></tr>
    So basically I want my friend to see his results as failing just to mess with him. He hasn't looked it up on his computer and I'd like to do this before he sees it. Since its ultimately HTML I assume I can drop the white space text, but Im not sure about the special characters. Any ideas?
Working...