MCPcopy Create free account
hub / github.com/XIU2/UserScript / sendReplacement

Function sendReplacement

Lanzou-Enhanced.user.js:592–598  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

590 function EventXMLHttpRequest() {
591 var _send = mainframe.XMLHttpRequest.prototype.send
592 function sendReplacement(data) {
593 setTimeout(fileMore, 200); // 自动显示更多文件
594 setTimeout(fileSha, 200); // 自动打开分享链接(点击文件时)
595 setTimeout(rightClickMenu, 500); // 右键文件显示菜单
596 setTimeout(getLastFolderID, 200); // 获取上个文件夹 ID(用于浏览器后退事件)
597 return _send.apply(this, arguments);
598 }
599 mainframe.XMLHttpRequest.prototype.send = sendReplacement;
600 }
601

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected