Skip to content

Instantly share code, notes, and snippets.

@RandomArray
Last active April 26, 2022 01:09
Show Gist options
  • Save RandomArray/e7f24a87806e6ca7dd611227dbfe28a8 to your computer and use it in GitHub Desktop.
Save RandomArray/e7f24a87806e6ca7dd611227dbfe28a8 to your computer and use it in GitHub Desktop.
Freezes up Chrome / Android - Works as intended on Chrome / PC
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<title>RANDOM BS</title>
<meta name="description" content="RANDOM BS">
<meta name="author" content="Mike Johanning">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta http-equiv="refresh" content="2">
<style>
html, body{ background-color: #<?php echo rand(10,30).rand(10,30).rand(10,30); ?>;
overflow: hidden;
}
*{
margin: 0;
padding: 0;
font-size: <?php echo rand(16,70); ?>px;
font-family: monospace;
text-align: justify;
}
</style>
</head>
<body>
<?php
for ($i=0; $i < 2500; $i++) {
echo '<span style="color:#'.rand(31,99).rand(31,99).rand(31,99).';">'.rand(1111,9999).'</span> ';
}
?>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment