Alibaba国际站搜索商品自动显示供应商名称|运营有数Ali404.com

在alibaba.com 搜索时直接显示商品供应商名称!

// ==UserScript==
// @name         Alibaba国际站搜索商品自动显示供应商名称|运营有数Ali404.com
// @namespace    https://ali404.com/
// @version      1.0.2
// @description  在alibaba.com 搜索时直接显示商品供应商名称!
// @author       运营有数
// @original-script https://greasyfork.org/scripts/432176
// @require    http://code.jquery.com/jquery-1.11.0.min.js
// @match        https://www.alibaba.com/products/*
// @match        https://www.alibaba.com/trade/*
// @match        https://www.alibaba.com/*/trade/*
// @icon         data:image/jpg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxMSEhMSEhMWFhUVFxYWFhUXFhkVFhgYFhcWGhUaFhUYHyggGBolGxcYIjIhJiorLi4uFx8zODMsNygtLisBCgoKDg0OGxAQGS4lHyUrLzIwLTgrNTMvKzctLSsrNTA4NS0tLS4uMjcvNS03LzUtLS0tLSstKystLSsrKystN//AABEIAOEA4QMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABQEEBgcIAwL/xABCEAACAQIEBAQDBgUBBQkBAAABAgADEQQSITEFBkFRBxMiYTJxgRRCUnKRoSMzYrHwwQiSorLhFTRDY3OCs8LRJP/EABkBAQACAwAAAAAAAAAAAAAAAAABBQMEBv/EAB0RAQACAwADAQAAAAAAAAAAAAABAgMEERIhMQX/2gAMAwEAAhEDEQA/AN4xEQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERAREQEREBERARKXnl9pX8Q3y7/e7fP2ge0REBERAREQEREBERAREQEREBERAREQEREBERAREQEREBMd5z5xw3DKXmV2uzX8ukutSoRvYdAOpOglzzRx9MFRNWoGI1Ayrm1sSL9hpOTubON1cZiXrVXLn4QTpZQTYKOg1P6wMv5v8X8diyyUD9mom4AT+YRt6qu4P5bfWWHLXiFjKbsHrGp5hUvnOrlRlF209dgLMewB6EYS9QkAE/CLD2Fyf7k/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NO5fNl8t0RqeXckszXH+4AO8DqDkmsXpNnyCqrWqBVCG9t3AJBY75hoZk8xXkJbYdD5ApXUC61VrKQNQAwOm+23vMqgIiIHEOI+Jvmf7zyiICIiBUREQKREQEREBERAREQErEQKREQErKRArKRECsGUiBUSQ4T/3jD/+rT/51lIgdIcI/l/57TN+Efyk+UpEC9iIgf/Z
// @grant        unsafeWindow
// @license      MIT
// @supportURL https://ali404.com
// ==/UserScript==




setTimeout(function(){
    'use strict';


    var html=document.documentElement.outerHTML;
    console.log("欢迎使用运营有数脚本|Www.Ali404.Com")
    var json=html.substring(html.indexOf("window.__page__data__config =")+30,html.indexOf("window.__page__data = window.__page__data__config.props")).trim();
    var obj=$.parseJSON(json);
    var list=obj.props.offerResultData.offerList;
    for(var i=0;i<list.length;i++){
       var supplierName = list[i].supplier.supplierName;
       var id=  list[i].id;
        $("a[data-bizid=\""+id+"\"]").text(supplierName)


    }

    var span = $("i.ui2-icon ui2-icon-arrow-right ui2-icon-xs");
    console.log(span)



    // Your code here...
},1200);