0
Fetch a song to play with js?
I saw this really cool bookmarklet that had the Harlem shake and made everything shake, I want to make a similar one, but with a rick roll, would this be possible?
1 Resposta
+ 2
Oh yeah the Good Ol' Days 😂
Sure it is possible.
1st step: Create a simple bookmarklet. You can learn how here.
https://www.youtube.com/watch?v=K_A3Y3eqnzE
2nd step: add some CSS to the function that will make parts of the page animate.
https://www.w3schools.com/howto/howto_js_animate.asp
3rd step: add the audio element.
https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_audio_get
That is all there is to it :)