Page 1 of 1

淘宝显示宝贝详情和评论问题

Posted: Jun 08 2010, 19:59
by red
taobao,可能之前改版,现在宝贝详情和评论不显示
IncludeExclude-U添加

Code: Select all

# show taobao comment details
[^/]++.taobao.com/        $SET(0=a_comm_i.)
评论可以显示。但宝贝详情分析不出来了。。给个页面 http://item.taobao.com/item.htm?id=2578 ... t=50038367
这段没显示出来。bypass dsc[0-9]+.taobao.com 是可以显示宝贝详情,现在想只改IncludeExclude-U

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 14:53
by phoenix
这是我的 taobao 条目,你试试看:

Code: Select all

# allow item visited count
count.taobao.com/				$SET(0=a_jssigns.)

# allow item description
item.taobao.com/auction/			$SET(0=a_adscr.)
dsc*.taobao.com/				$SET(0=a_jssigns.)$SET(hRealCT=IncEx: text/javascript)

# allow redirecting links, allow contact information hint
trade.taobao.com/				$SET(0=a_rdlink.i_timer:0.)

# allow item image flash
assets.taobaocdn.com/app/tc/detail.js		$SET(0=a_flash.b_domain.)
www.taobao.com/view_image.php			$SET(0=a_flash.)

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 16:04
by red

Code: Select all

dsc*.taobao.com/            $SET(0=a_jssigns.)$SET(hRealCT=IncEx: text/javascript)
这里有2点不明白。skip JS/VBS sniffer是否就是不对后继js过滤了。后半句$SET(hRealCT=IncEx: text/javascript)有什么作用

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 16:22
by ddbb
那句就是为了对应你给出的那个 script src= 的.....

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 16:31
by red
ddbb wrote:那句就是为了对应你给出的那个 script src= 的.....
这我知道。。是对后半句不了解,

Code: Select all

dsc*.taobao.com/            $SET(0=a_jssigns.)
这样也可以,后面的怎么分析出来的。并且skip JS/VBS sniffer的作用也不太了解,ddbb来讲讲 :D

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 16:52
by ddbb
我说的就是后半句.....

你那个src并不是一个正常的.js路径...所以就用那句话 表示那个URL的类型.....这个参数是用在head filter里的....
## force specified content-type $SET(hRealCT=IncEx: cont/type)
至于a_jssigns 这个说实话我也分得不是很清.....也没有必要分清....这些都是sidki自己分的....他把某些类似的广告语句分到了一类 用一个flag来控制....在看到具体规则前....这个规则对应的广告语句是什么....可能只有sidki自己知道

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 09 2010, 22:29
by phoenix
原来 dsc*.taobao.com 返回的 Content-Type 是 text/plain , Proxo 默认是不过滤这种文件类型的,而我有一个 规则 需要过滤宝贝详情,所以用 $SET(hRealCT=IncEx: text/javascript) 将其修正为正确的文件类型。如果你不需要过滤那部分内容,可以不加。

Re: 淘宝显示宝贝详情和评论问题

Posted: Jun 10 2010, 18:10
by red
参考了ph的规则,更新。评论要刷新次页面才能显示。trade.taobao.com不知道作用,注释掉了

Code: Select all

# allow item visited count
count.taobao.com/            $SET(0=a_jssigns.)

# allow item description
dsc*.taobao.com/             $SET(0=a_jssigns.)$SET(hRealCT=IncEx: text/javascript)

# allow redirecting links, allow contact information hint
#trade.taobao.com/            $SET(0=a_rdlink.i_timer:0.)

# allow item image flash
assets.taobaocdn.com/swf/AC_OETags.js      $SET(0=a_flash.)
www.taobao.com/view_image.php              $SET(0=a_flash.)

# allow page return top
item.taobao.com/             $SET(0=i_timer:0.)

Re: 淘宝显示宝贝详情和评论问题

Posted: Oct 25 2010, 23:02
by red
再次更新,sidki 2010-10-23下可用

Code: Select all

# allow item visited count
count.taobao.com/            $SET(0=a_jssigns.)$SET(1=adurl_h:0.)

# allow item description
dsc*.taobaocdn.com/             $SET(0=a_jssigns.)$SET(hRealCT=IncEx: text/javascript)

# allow redirecting links, allow contact information hint
#trade.taobao.com/            $SET(0=a_rdlink.i_timer:0.)

# allow item image flash
assets.taobaocdn.com/swf/AC_OETags.js      $SET(0=a_flash.)
www.taobao.com/view_image.php              $SET(0=a_flash.)

# allow page return top
item.taobao.com/             $SET(0=i_timer:0.)

Re: 淘宝显示宝贝详情和评论问题

Posted: Nov 11 2010, 18:44
by red
再更新下,显示上方淘宝商城评价

Code: Select all

# allow item visited count
count.taobao.com/            $SET(0=a_jssigns.)$SET(1=adurl_h:0.)

# allow mall item review
rate.taobao.com/             $SET(0=a_jssigns.)

# allow item description
dsc*.taobaocdn.com/             $SET(0=a_jssigns.)$SET(hRealCT=IncEx: text/javascript)

# allow redirecting links, allow contact information hint
#trade.taobao.com/            $SET(0=a_rdlink.i_timer:0.)

# allow item image flash
assets.taobaocdn.com/swf/AC_OETags.js      $SET(0=a_flash.)
www.taobao.com/view_image.php              $SET(0=a_flash.)

# allow page return top
item.taobao.com/             $SET(0=i_timer:0.)