Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Useful-Scripts-Extension/useful-script
/ addButton
Function
addButton
scripts/spotify_downloadButton.js:115–121 ·
view source on GitHub ↗
(el)
Source
from the content-addressed store, hash-verified
113
}
114
115
function
addButton(el) {
116
const
button = document.createElement(
"button"
);
117
button.className =
"btn"
;
118
el.appendChild(button);
119
el.hasButton = true;
120
return
button;
121
}
122
123
setInterval(animate, 1000);
124
},
Callers
1
animate
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected