模板
2025年8月25日小于 1 分钟
模板
// ==UserScript==
// @name orderStatus
// @namespace https://git.youhu.club/
// @description "获取订单号查询订单状态"
// @include http://admin.mall.10010.com/OdmQuery/ServiceOrderQuery/init
// @include http://admin.mall.10010.com/OdmQuery/Sell/Order/OrderDetails
// @include http://admin.mall.10010.com/OdmQuery/*
// @exclude http://diveintogreasemonkey.org/*
// @require https://unpkg.com/jquery@3.3.1/dist/jquery.min.js
// @grant none
// ==/UserScript==
(function(window)
{
alert('哈哈');
//获取url链接
var href = window.location.href;
console.log(href);
if(href == "http://admin.mall.10010.com/OdmQuery/ServiceOrderQuery/init")
{
//console.log('查询页');
// $.get('http://192.168.0.116:8001/api/store/lbk/order', function(data)
// {
// console.log(data);
// }.'json');
$.post('http://test.youhu.club/', {}, function(data, textStatus, xhr)
{
console.log(data);
},'json');
}
})(window)