Make script work without page refresh

This commit is contained in:
Isaac Shoebottom 2022-06-30 13:54:58 -03:00
parent 1931bf810c
commit c96a8bdecb

View File

@ -1,13 +1,12 @@
// ==UserScript== // ==UserScript==
// @name Spotify Background Changer // @name Spotify Background Changer
// @namespace http://tampermonkey.net/ // @namespace http://tampermonkey.net/
// @version 0.0.1 // @version 0.0.2
// @description Changes the background of Spotify playlists and albums in a rainbow pattern // @description Changes the background of Spotify playlists and albums in a rainbow pattern
// @author Isaac Shoebottom // @author Isaac Shoebottom
// @updateURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js // @updateURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js
// @downloadURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js // @downloadURL https://raw.githubusercontent.com/Glaceon575/SpotifyBackgroundSwitcher/master/script.js
// @match https://open.spotify.com/playlist/* // @match https://open.spotify.com/*
// @match https://open.spotify.com/album/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js
// @grant none // @grant none
// ==/UserScript== // ==/UserScript==