淘宝搜索增强 firefox扩展

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

淘宝搜索增强 firefox扩展

#1

帖子 alexbaozi » 2009-05-29 15:41

淘宝搜索增强扩展
增强淘宝的搜索功能,搜索结果中添加:
1. 卖家信用图标。
2. 30天售出件数。
https://addons.mozilla.org/zh-CN/firefox/addon/12078
greasemonkey脚本http://userscripts.org/scripts/source/52053.user.js
图片
上次由 alexbaozi 在 2009-06-23 11:33,总共编辑 2 次。
头像
gcell
帖子: 429
注册时间: 2007-04-30 2:25
来自: 湖南湘潭
联系:

Re: 淘宝搜索增强 firefox扩展

#2

帖子 gcell » 2009-05-29 17:05

很实用,其实这种格式应该被官方吸收才好,搜索结果显示信用图标和卖出件数实在是方便不少
孰能浊静之以徐清,孰能安动之以馀生!
gcell -- http://gcell.blog.163.com/
头像
kolmaro
帖子: 276
注册时间: 2008-08-31 19:26

Re: 淘宝搜索增强 firefox扩展

#3

帖子 kolmaro » 2009-05-29 19:58

3.0.10装了用不了。 :em06
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

Re: 淘宝搜索增强 firefox扩展

#4

帖子 alexbaozi » 2009-05-29 21:39

发现0.7.1版本在linux下,状态栏图标不能显示。
现在升级到0.7.2版,从淘宝主页搜索正常,状态栏图标正常。 :em20 :em06

如果你从其他地方跳到淘宝,地址是http://search8.taobao.com/*的话,还不支持。
目前只支持从淘宝主页进行搜索,显示地址是http://search1.taobao.com/*。
头像
soething
帖子: 746
注册时间: 2008-07-23 19:06

Re: 淘宝搜索增强 firefox扩展

#5

帖子 soething » 2009-05-29 22:32

有greasemonkey的原文件么?
jimmin
帖子: 2138
注册时间: 2006-09-24 4:37

Re: 淘宝搜索增强 firefox扩展

#6

帖子 jimmin » 2009-05-29 22:42

soething 写了:有greasemonkey的原文件么?
同问
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

Re: 淘宝搜索增强 firefox扩展

#7

帖子 alexbaozi » 2009-05-29 23:23

有,不过是老版本的。新版的已不支持greasemonkey

代码: 全选

// ==UserScript==
// @name taobaoplusplus
// @namespace taobaoplusplus
// @include http://search1.taobao.com/*
// @include http://list.taobao.com/*
// ==/UserScript==
var list, items = new Array();
list = document.evaluate("//li[@class='list-item']",document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);
for (var i = 0; i < list.snapshotLength; i++) {
var item = list.snapshotItem(i);
items.push(item);
var href = item.childNodes[1].childNodes[0].href;
GM_xmlhttpRequest({method: 'GET',url: href,onload: getCridet});
}

function getCridet(responseDetails)
{
var r = responseDetails.responseText.replace(/\r\n/g,'');
var t = r.match(/<div class="credit">(.*?)<\/li>/);
var sell30day = r.match(/30天售出.+?(\d+).+?件/)[1];
var img = t[0].match(/<img(.*?)>/);
var id = t[0].match(/user-rate-(.*?)\.htm/);
id = id[1].toString().substr(0,32);
for (x in items)
{
var item = items[x];
if( item.childNodes[9].childNodes[1].href.match(id) && item.childNodes[9].innerHTML.match('<add>')==null )
{
item.childNodes[5].innerHTML += (' <li title="30天售出件数">'+sell30day+'</li>');
item.childNodes[9].innerHTML += ('<add>'+img[0]);
}
}
}
头像
Luca
帖子: 6
注册时间: 2009-05-10 22:44

Re: 淘宝搜索增强 firefox扩展

#8

帖子 Luca » 2009-05-30 6:50

这个比较不错,很方便,就是功能太少。。。 :em01
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

Re: 淘宝搜索增强 firefox扩展

#9

帖子 alexbaozi » 2009-05-30 23:05

还需要什么功能?
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

Re: 淘宝搜索增强 firefox扩展

#10

帖子 alexbaozi » 2009-06-11 7:35

kolmaro 写了:3.0.10装了用不了。 :em06
现在还用不了吗??
alexbaozi
帖子: 9
注册时间: 2009-05-29 15:38

Re: 淘宝搜索增强 firefox扩展

#11

帖子 alexbaozi » 2009-06-12 5:22

上次由 alexbaozi 在 2009-06-23 11:34,总共编辑 1 次。
jimmin
帖子: 2138
注册时间: 2006-09-24 4:37

Re: 淘宝搜索增强 firefox扩展

#12

帖子 jimmin » 2009-06-15 21:03

alexbaozi 写了:最新的greasemonkey脚本
http://taobaoph.free.futureweb.be/taobaopp.user.js
这个不顶不行!
mvpdata
帖子: 1
注册时间: 2009-07-22 17:22

Re: 淘宝搜索增强 firefox扩展

#13

帖子 mvpdata » 2009-07-22 17:25

楼主,你这个淘宝加加简直太好用,我是深圳意科的网站策划部李涛,希望可以联系到你,帮助我们开发一个基于firefox的插件!我的联系方式,13480954451,QQ:280123390。Email:mvpdata@gmail.com
回复