What I'm trying to achieve is have a random URL selected, then that URL's page displayed in an embed that you can then click and go to that page. I've been having trouble however and would appreciate any help. This is what I got so far:
<script type="text/javascript">
var urls = new Array();
urls[0] = "https://www.google.com";
urls[1] = "https://www.yahoo.com";
urls[2] = "https://www.bing.com";
var random = Math.floor(Math.random()*urls.length);
window.location = urls[random];
<embed src="urls" style="width:500px; height: 300px;">
</script>