自己写的chrome 插件
//Main -----------------------------------------------------------
var tmpsrc = '', tmpsrcarr = [], tmparr = [];
var tmp = [];
var host;
host = window.location.host;
if (host == 'www.aliexpress.com' || host == 'aliexpress.com')
{
tmp = [];
tmp = AliExpressMainPicture();
if (tmp.length !== 0)
{
tmpsrc = tmpsrc + '|' + tmp.join('|');
}
tmp = [];
tmp = AliExpresscontent();
if (tmp.length !== 0)
{
tmpsrc = tmpsrc + '|' + tmp.join('|');
}
tmp = [];
}
if (host == 'detail.1688.com')
{
tmp = [];
tmp = detail1688MainPicture();
if (tmp.length !== 0)
{
tmpsrc = tmpsrc + '|' + tmp.join('|');
}
tmp = [];
tmp = detail1688content();
if (tmp.length !== 0)
{
tmpsrc = tmpsrc + '|' + tmp.join('|');
}
tmp = [];
}
if (host == 'item.taobao.com')
{
tmp = [];
tmp = taobaoMainPicture();
if (tmp.length !== 0)
{
源码地址:
https://github.com/546669204/Alibaba-shopping-picture-taking-for-chrome/tree/master