function evaluateAgent() {
var userAgent = navigator.userAgent || navigator.vendor || window.opera;
// iOS detection from: http://stackoverflow.com/a/9039885/177710
if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
window.location.replace("https://www.999games.nl/game/clever/iphone.html");
return;
}
// // Windows Phone must come first because its UA also contains "Android"
// if (/android/i.test(userAgent)) {
// window.location.replace("https://www.999games.nl/game/clever/default.html");
// return;
// }
window.location.replace("https://www.999games.nl/game/clever/default.html");
return;
}