I want to disable my .js file when a browser window is less than 1000px but I also want to disable it for specific devices / media queries.
So for example, I want to make sure it doesn't load on iPad.
I have got the 1000px part sorted but I am not sure how to also implement the media query?
<script>
$(function() {
var windowWidth = $(window).width();
if(windowWidth > 1000){
skrollr.init({
forceHeight: false
});
}});
</script>