Not sure if this does anything
This commit is contained in:
parent
d04a1c32d2
commit
d83dea331e
@ -2,7 +2,7 @@
|
|||||||
// @name Spotify Background Changer
|
// @name Spotify Background Changer
|
||||||
// @namespace http://tampermonkey.net/
|
// @namespace http://tampermonkey.net/
|
||||||
// @source https://github.com/Glaceon575/SpotifyBackgroundSwitcher
|
// @source https://github.com/Glaceon575/SpotifyBackgroundSwitcher
|
||||||
// @version 0.1.4
|
// @version 0.1.5
|
||||||
// @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
|
||||||
@ -21,8 +21,6 @@ const timer = 16; //in milliseconds
|
|||||||
const probeTimer = 500 //in milliseconds, timer for checking for selector
|
const probeTimer = 500 //in milliseconds, timer for checking for selector
|
||||||
const difference = 60; //delta between the top and bottom
|
const difference = 60; //delta between the top and bottom
|
||||||
|
|
||||||
probeBackground();
|
|
||||||
|
|
||||||
const start = {
|
const start = {
|
||||||
intensity: 235,
|
intensity: 235,
|
||||||
darkness: 75,
|
darkness: 75,
|
||||||
@ -60,4 +58,6 @@ function probeBackground() {
|
|||||||
background = newBackground;
|
background = newBackground;
|
||||||
}
|
}
|
||||||
}, probeTimer);
|
}, probeTimer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
probeBackground();
|
Loading…
Reference in New Issue
Block a user