08/06/12 00:18:30 0IhAdKT/0
こんなの作ってみた。ランキングのNGtitle
[Patterns]
Name = "Nico: Hide Ranking NGtitle (080612)"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)www.nicovideo.jp/ranking/"
Limit = 2048
Match = "<tr>("
" $NEST(<td,*<p\sstyle="font-size:(96|64|48)px[^>]+>\0</p>*,</td>)"
" $NEST(<td,</td>)"
" $NEST(<td,*"
"($NEST(<a,\sclass=$AV(video)[^>]+>*($LST(NGtitle))\1*,</a>)"
"|<a\sclass=$AV(video)\shref=$AV(URLリンク(www.nicovideo.jp)($LST(NGtitle))\1))"
"*,</td>)"
" </tr>)\2"
Replace = "<tr><td colspan="3" style="text-align:center; font-size:x-small;">"
"<a href="javascript:void(0)" onClick="o=$('ng\0').style;if(o)o.display=o.display?'':'none';return false;">NG</a> \[\1\]"
"</td></tr>\n"
"<tr style="display:none;" id="ng\0">\2"