Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Copy and paste this in Discord Console, using Ctrl+Shift+I to disable the auto pause of Spotify after 30 seconds
- XMLHttpRequest.prototype.realOpen = XMLHttpRequest.prototype.open;
- var myOpen = function(method, url, async, user, password) {
- if (url == "https://api.spotify.com/v1/me/player/pause") {
- url = "https://api.spotify.com/v1/me/player/play";
- }
- this.realOpen (method, url, async, user, password);
- }
- XMLHttpRequest.prototype.open = myOpen;
Add Comment
Please, Sign In to add comment