又遇到一个难题
Posted: Apr 04 2010, 04:20
Code: Select all
www.qidian.com/Javascript/ReadChapter.js
Code: Select all
<script type="text/javascript">
//<![CDATA[
var keywords={ list:[
{key:"传说",link:"show.aspx?url=http://in.wx.kunlun.com/?u=489%26u2=wndj",img:"http://cj.qidian.com/Picture/20100316_12.jpg"},
{key:"穿越",link:"show.aspx?url=http://in.wx.kunlun.com/?u=489%26u2=wndj",img:"http://cj.qidian.com/Picture/20100316_11.jpg"},
{key:"武侠",link:"show.aspx?url=http://in.wx.kunlun.com/?u=489%26u2=wndj",img:"http://cj.qidian.com/Picture/20100316_11.jpg"},
{key:"游戏",link:"show.aspx?url=http://in.wx.kunlun.com/?u=489%26u2=wndj",img:"http://cj.qidian.com/Picture/20100316_11.jpg"},
{key:"传奇",link:"http://cj.qidian.com/svnad/other/ctrip/20091231/",img:"http://cj.qidian.com/Picture/20091231_34.jpg"},
{key:"历史",link:"http://cj.qidian.com/svnad/other/ctrip/20091231/",img:"http://cj.qidian.com/Picture/20091231_203504336.jpg"},
{key:"快乐",link:"http://",img:"http://cj.qidian.com/Picture/20091231_203519680.jpg"},
]};
//]]>
</script>
Code: Select all
[Patterns]
Name = "temp"
Active = TRUE
URL = "*"
Limit = 12
Match = "var keywords"
Replace = "//"
Code: Select all
$NEST(<script[^{]++var keywords,</script>)