Shoutbox

Greasemonkey: Hide Row in a Table if Column 3 != 0? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Greasemonkey: Hide Row in a Table if Column 3 != 0? (/showthread.php?tid=90789)

Greasemonkey: Hide Row in a Table if Column 3 != 0? by prashker on 05-26-2009 at 10:16 AM

I got a table that is filled with this, repeated over and over and over and over.

With Greasemonkey, can someone make it so if the 3rd column of that row is NOT 0 it hides it?

[Image: hidethis_12883.png]

html code:
<tr>
                          <td class="paymentbox" width="40%"><span style="margin-left: 3px;"><strong><a href=one.php>COLUMN1</a></strong></span></td>
                          <td class="paymentbox" width="43%"><span style="margin-left: 3px;"><strong>

                          COLUMN2</strong></span></td>
                          <td  style="border: 1px solid rgb(153, 153, 153); font-size: 13px; background-color: rgb(235, 235, 235);" width="17%"><span style="margin-left: 3px;"><strong>
>>>                          0</strong></span></td> <<<
                            </tr>

Thanks :p,
-Sam

PS: It has to do with .innerHTML, but that's as far as I got :p