Fixed incompatibility with ViolentMonkey.
This commit is contained in:
1 parent
fdcc47fa79
commit
3a635d4ae7
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user