Skip to content

Instantly share code, notes, and snippets.

@Rmlyy
Created October 18, 2022 19:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Rmlyy/6257667a04340caccdf6d4a7642de18f to your computer and use it in GitHub Desktop.
Save Rmlyy/6257667a04340caccdf6d4a7642de18f to your computer and use it in GitHub Desktop.
manelizor d-ala
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manelizor</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
const manele = [
{ name: 'Dani Mocanu - Afaceri ilegale', id: 'Ghf8pyjLacE' },
{ name: 'Dani Mocanu - Am bani de ma enerveaza', id: 'rTeObJmb7hQ'}
]
const maneaRandom = manele[Math.floor(Math.random() * manele.length)]
window.location = `https://www.youtube.com/watch?v=${maneaRandom.id}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment