From 3a635d4ae77b29cb01f60b84d6ac9460db108c91 Mon Sep 17 00:00:00 2001 From: Big Duckie Date: Fri, 6 Jun 2025 16:54:17 -0600 Subject: [PATCH] Fixed incompatibility with ViolentMonkey. --- bandcamp_downloader.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bandcamp_downloader.user.js b/bandcamp_downloader.user.js index 54c0efe..5e3e5ef 100644 --- a/bandcamp_downloader.user.js +++ b/bandcamp_downloader.user.js @@ -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);