I have this line of code which detects all touch devices:
<script>if( 'ontouchstart' in window ) window.location = 'mobile.html';</script>
I just want modify it so that it ONLY targets touch enabled mobile devices but also excludes tablet devices. How do I do this without being too specific?