I am using the WYSIWYG editor CKEditor which apparently does not get along with Windows Phone 8 at all (it breaks the entire site when kept in the head). I'm not certain if it's an IE issue overall or Win8 specifically, but the site will be accessed via a custom corp app wrapper so suggesting an alternate browser isn't an option. I don't really care about them losing the functionality.
Is there a simple way I can write something like this into the head in PHP?
if(OS == Windows Phone 8){
//nothing
} else {
echo "<script src=\"ckeditor/ckeditor.js\"></script>";
}
I'm open to any solution, but PHP is what I'm using in general.