-
Notifications
You must be signed in to change notification settings - Fork 314
Labels
compatibility其它管理器可以运行,脚本猫不能运行其它管理器可以运行,脚本猫不能运行
Description
Problem Description
https://docs.google.com/forms/d/e/1FAIpQLSeAGfm0UUoQbBQnGR1fT8YcXJZvxaSYJTHUY_SqFt295RVVCA/viewform?testing_DOMPraser
// ==UserScript==
// @name GM_XHR Example
// @grant GM.xmlHttpRequest
// @match *://*/*?testing_DOMPraser
// @connect httpbin.org
// ==/UserScript==
(async () => {
try {
const response = await GM.xmlHttpRequest({
method: "GET",
url: "https://httpbin.org/get",
headers: {
"Accept": "application/json"
},
onload: (res) => {
console.log("responseXML", res.responseXML);
console.log("Status:", res.status);
console.log("Response:", res.responseText);
}
});
} catch (e) {
console.error("Request failed", e);
}
})();
Reproduction Steps
ScriptCat Version
Operating System and Browser Information
Additional Information (Optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
compatibility其它管理器可以运行,脚本猫不能运行其它管理器可以运行,脚本猫不能运行