1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2023-10-09 10:36:03 -03:00
parent b39e5f4da6
commit 5d2aa61c4f
4 changed files with 11 additions and 8 deletions

View file

@ -4028,4 +4028,11 @@ function playChapter(seconds){
newURL = addQueryStringParameter(currentURL, 't', seconds);
history.replaceState({}, "", newURL);
}
}
function randomColor() {
var r = Math.floor(Math.random() * 255);
var g = Math.floor(Math.random() * 255);
var b = Math.floor(Math.random() * 255);
return r + "," + g + "," + b;
}