if (!window.__xhrLog) { window.__xhrLog = []; const os = XMLHttpRequest.prototype.send; const oo = XMLHttpRequest.prototype.open; XMLHttpRequest.prototype.open = function(m,u){ this.__u = String(u); return oo.apply(this, arguments); }; XMLHttpRequest.prototype.send = function(b){ try{ window.__xhrLog.push({u:this.__u, b: typeof b==='string'? b.slice(0,800): String(b).slice(0,120)}); }catch(e){} return os.apply(this, arguments); }; } window.__xhrLog.length=0; const f = await eda.pcb_ManufactureData.getDsnFile('D'); await new Promise(r=>setTimeout(r,2000)); return {f:String(f), xhr: window.__xhrLog.slice(0,6)};