Redirect User Based on Color Depth

[Total: 0    Average: 0/5]

This will redirect the user based upon their screen colorDepth.

Body Code:

<script>
var someValue=16;
if (screen.colorDepth < someValue)
document.location="/";
else
document.location="/consult/";
</script>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *