Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ sleep
Function
sleep
scripts/spotify_downloadButton.js:72–74 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
70
document.body.appendChild(style);
71
72
function
sleep(ms) {
73
return
new
Promise((resolve) => setTimeout(resolve, ms));
74
}
75
76
function
animate() {
77
const
tracks = document.querySelectorAll(
Callers
1
animate
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected