有时我们看youku视频时,只想看视频,不想看评论和边栏里的信息。为此,我在每个视频的链接显示后增加一个直接观看视频的链接P。
代码是
Code: Select all
Name = "youku add player"
Active = TRUE
URL = "$TYPE(htm)*youku.com*"
Bounds = "$NEST(<a,</a>)"
Limit = 256
Match = "(*/id_\0=*/a>)\1"
Replace = "\1<a style="font-weight:bold; color:#D71118;" href="http://player.youku.com/player.php/sid/\0=/v.swf">P</a>"