As the owner of this website, I want to display an important message to anyone accessing it from a mobile device.
Unfortunately, the code I tried to use is not functioning correctly:
<script language="JavaScript/text">
window.mobilecheck = function() {
//var check = false;
(function(a){if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a)||/1207|...
You are not allow to view this page in your mobile device please kindly login with your computer and use your web browser or download our App.");
}
</script>