// ==UserScript== // @name 新商盟(chengyingming) // @namespace http://tampermonkey.net/ // @license MIT // @version 0.1 // @description 新商盟自动添加烟的数据 // @author You // @match https://docs.github.com/en/developers/webhooks-and-events/webhooks/creating-webhooks // @icon https://www.google.com/s2/favicons?sz=64&domain=github.com // @grant none // @include *://gz.xinshangmeng.com/eciop/orderForCC/cgtListForCC* // @require https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/jquery/3.6.0/jquery.min.js // @downloadURL none // ==/UserScript== (function() { 'use strict'; var htmlBox=$(".orderinfo"); htmlUi(); document.getElementById("autoHq").addEventListener("click", autoHq); document.getElementById("autoTc").addEventListener("click", autoTc); document.getElementById("autoQc").addEventListener("click", autoQc); var liArray=$("#newul").find('li'); var len=liArray.length var htmlHq=""; //自动填充 function autoTc(){ for(var i=0;i'); htmlBox.append(''); htmlBox.append(''); } //console.log($("#newul").find('li').find(".xsm-order-list-shuru-input").val()) // Your code here... })();