Fixed incompatibility with ViolentMonkey.

This commit is contained in:
2025-06-06 16:54:17 -06:00
parent fdcc47fa79
commit 3a635d4ae7
+1 -1
View File
@@ -226,7 +226,7 @@ unsafeWindow.GM_download = GM_download;
function urlToPromise(url) {
return new Promise((resolve, reject) => {
GM.xmlHttpRequest({
GM_xmlhttpRequest({
method: "GET", url: url, responseType: "blob", onload: (response) => {
console.debug("fetched song", url, response.response);
resolve(response.response);