GreaseMonkey编辑页面

时间:2009-07-26 13:54:08

标签: javascript html greasemonkey

如何使用此HTML代码更改页面:

   <tr>
    <td nowrap title="7884">Ontem foi dia de</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td align="right">6,0</td></tr>
   <tr>

使用greasemonkey:

    <tr>
    <td title="7884" nowrap="nowrap">ontem foi dia de</td>
    <td>&nbsp;</td>
    <td title="aprovadissimo" align="center" bgcolor="#ff8888">A</td>
    <td title="Treze" align="center" bgcolor="#88ff88">13</td>
    <td>&nbsp;</td>
    <td bgcolor="#88ff88">Aprovado</td>
    <td align="right">6,0</td></tr>
   <tr>

2 个答案:

答案 0 :(得分:1)

查看http://diveintogreasemonkey.org/并查看编写GreaseMoney Scripts

答案 1 :(得分:-1)

您如何确定哪些表格单元格中应包含哪些值?你将会有什么规则?