diff --git a/dzunlock.user.js b/dzunlock.user.js index 10c5f1e..7552946 100644 --- a/dzunlock.user.js +++ b/dzunlock.user.js @@ -183,9 +183,9 @@ async function renewAccessToken() { unsafeWindow.dzPlayer.setTrackList = (function (old) { return function (...args) { // needed for player to accept flac url responses - args[0].data.forEach(function (_, i, _) { + for (let i = args[0].data; i < args[0].data.length; i++) { args[0].data[i].FILESIZE_FLAC = "1" - }) + } log(args)