问题描述
GM_xmlhttpRequest应支持和WebDAV相关的新建目录、检索目录方法——MKCOL、PROPFIND
重现步骤
// 新建目录
GM_xmlhttpRequest({
url:'.',
method:'MKCOL',
onload:(xhr)=>console.log(xhr),
onerror:(xhr)=>console.error(xhr)
})
// 检索目录
GM_xmlhttpRequest({
url:'.',
method:'PROPFIND',
onload:(xhr)=>console.log(xhr),
onerror:(xhr)=>console.error(xhr)
})
上述两段代码在脚本猫中没有任何返回值
service_worker进程中可以看到报错
相同代码在TamperMonkey中能正常执行
脚本猫版本
V0.18.2
操作系统以及浏览器信息
Edge v137
补充信息 (选填)
