您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
vc发货 打印出库单显示 商家备注qq806350554
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/453627/1108755/shangjiabeizhu.js
var open = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function(method, uri, async, user, pass) { var mingzi=$('.header-m__operation-2lCUh').text() console.log(mingzi) if (arguments[1] == '/sub_procenter/prodcenter/customoOrderQuery/getCustomOrdersDetail'&&(mingzi=='大鹏|退出'||mingzi=='自营店铺打单|退出')) { console.log(arguments) const xhr = this; const getter = Object.getOwnPropertyDescriptor(XMLHttpRequest.prototype, 'response').get; Object.defineProperty(xhr, 'responseText', { get: () => { var result =eval('('+getter.call(xhr)+')') //这里可以修改result // result.data.result.succList[0].remark=result.data.result.succList[0].vendorRemark for(var i of result.data.result.succList){ console.log('////') console.log(i) i.remark=i.vendorRemark } //console.log('11111111111'+result.data.result.succList[0].remark) console.log(result.data.result.succList[0]) return JSON.stringify(result); } }); } open.call(this, method, uri, async, user, pass); };