在夸克网盘网页使用 [网盘直链下载助手](https://greasyfork.org/zh-CN/scripts/436446-%E7%BD%91%E7%9B%98%E7%9B%B4%E9%93%BE%E4%B8%8B%E8%BD%BD%E5%8A%A9%E6%89%8B) 和 [(改)网盘直链下载助手](https://greasyfork.org/zh-CN/scripts/449291-%E6%94%B9-%E7%BD%91%E7%9B%98%E7%9B%B4%E9%93%BE%E4%B8%8B%E8%BD%BD%E5%8A%A9%E6%89%8B) 这两个脚本时,在脚本猫上运行会提示获取链接失败(网盘直链下载助手则会卡在加载界面),无法获取链接,在 Violentmonkey 和 TamperMonkey 上运行是正常的。 这是“网盘直链下载助手”脚本运行时的日志 > 2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', \"Invalid CORS request\" is not valid JSON"} 2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', \"Invalid CORS request\" is not valid JSON"} 2023-09-14 15:16:18 GM XHR JSON parse error {"env":"background","error":"Unexpected token 'I', \"Invalid CORS request\" is not valid JSON"} 2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/jquery@3.6.0/dist/jquery.min.js","id":3} 2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/js-md5@0.7.3/build/md5.min.js","id":2} 2023-09-14 15:15:44 reload new resource success {"env":"background","component":"resource","url":"https://unpkg.com/sweetalert2@10.16.6/dist/sweetalert2.all.min.js","id":1} 2023-09-14 15:15:43 script upsert success {"env":"background","component":"script","scriptId":0,"name":"网盘直链下载助手","uuid":"c4565147-1a0a-4a40-9b16-2cee4603e04e","version":"6.1.2","upsertBy":{"targetTag":"install","tabId":1899563282,"url":"chrome-extension://ndcooeababalnlpkfedmmbbbgkljhpjf/src/install.html?uuid=a7f4f826-5f69-44b7-85a9-6a33656ac48c"}}
Activity
CodFrm commentedon Sep 14, 2023
是那个功能呢?我点复制链接是可以的,另外你的扩展版本是?
zxc110 commentedon Sep 14, 2023
我是用的rpc下载,插件版本是0.15.1,都应该是最新的包括脚本,因为我都更新了一遍又试的,然后我又单独下载了个便携版117内核的chrome,安装脚本猫、篡改猴、暴力猴和脚本又试了一遍,结果是一样的。会不会是只有夸克网盘会出现,我没试其他的网盘
CodFrm commentedon Sep 14, 2023
我只试了百度,我试试夸克
🐛 默认不传origin header #233
CodFrm commentedon Sep 14, 2023
问题查到了,ScriptCat默认没有屏蔽掉这个header导致的,已处理,可以试试这个版本 https://github.com/scriptscat/scriptcat/actions/runs/6183317794