百度识图
prefix = "http://stu.baidu.com/i?rt=0&rn=10&ct=1&tn=baiduimage&objurl=";
image_url = FireGestures.getImageURL(FireGestures.sourceNode);
if (image_url == null) {
image_url = FireGestures.getImageURL(event.target);
if (image_url == null) {
image_url = gBrowser.currentURI.spec;
}
}
full_url = prefix + encodeURIComponent(image_url);
gBrowser.loadOneTab(full_url, null, null, null, false, false);
tineye寻图
prefix = "http://www.tineye.com/search/?url=";
image_url = FireGestures.getImageURL(FireGestures.sourceNode);
if (image_url == null) {
image_url = FireGestures.getImageURL(event.target);
if (image_url == null) {
image_url = gBrowser.currentURI.spec;
}
}
full_url = prefix + encodeURIComponent(image_url);
gBrowser.loadOneTab(full_url, null, null, null, false, false);
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。