Page 2 of 2
Re: 百度贴吧列表页号加入
Posted: Jan 10 2010, 23:52
by phoenix
ttttaaaa wrote:这在有些精品上会丢失前面的 [
试试:
Code: Select all
[Patterns]
Name = "BaiDu TieBa: Add Last Page Link 2010.01.10"
Active = TRUE
URL = "$TYPE(htm)tieba.baidu.com/f\?"
Limit = 800
Match = "(<td>([#30:*])\0</td> <td class="s"><a href=$AV(/f\?kz=\1)*)\2</td>"
Replace = "\2 <span style="color:red;">••</span> <a href="#" onmouseover="JavaScript:setTieBaList(this,'\0', '\1')">End</a></td>"
Re: 百度贴吧列表页号加入
Posted: Apr 20 2010, 09:54
by ddbb
改版了 变了一小点
Code: Select all
[Patterns]
Name = "BaiDu TieBa: Add Last Page Link 2010.04.20"
Active = TRUE
URL = "$TYPE(htm)tieba.baidu.com/f\?"
Limit = 800
Match = "(<td>([#30:*])\0</td> <td class="thread_title"> <a href=$AV(/f\?kz=\1)*)\2</td>"
Replace = "\2 <span style="color:red;">••</span> <a href="#" onmouseover="JavaScript:setTieBaList(this,'\0', '\1')">End</a></td>"
Re: 百度贴吧列表页号加入
Posted: Apr 21 2010, 11:47
by polluxboy
为什么我点了那个END.。。没有反应啊??
Re: 百度贴吧列表页号加入
Posted: Apr 21 2010, 11:51
by ddbb
啊 还有这个
和上面那个规则一起 两个一起用 才有效果
Code: Select all
Name = "BaiDu TieBa: Add Last Page Link JS"
Active = TRUE
URL = "$TYPE(htm)tieba.baidu.com/f?"
Limit = 10
Match = "(^(^</body>))"
Replace = "\r\n"
"<script type="text/javascript">\r\n"
" function gotoTieBaList(no, page) {\r\n"
" var n = parseInt((no/30));\r\n"
" n = (n*3)*10;\r\n"
" window.location.href= "/f?z="+page+"&ct=335544320&lm=0&sc=0&rn=30&tn=baiduPostBrowser&pn="+n;\r\n"
" }\r\n"
"</script>\r\n"
"$STOP()"
Re: 百度贴吧列表页号加入
Posted: Apr 21 2010, 12:10
by polluxboy
还是没有任何反应诶。。。囧
Re: 百度贴吧列表页号加入
Posted: May 26 2010, 13:56
by ddbb