Niestety >= IE10
var media = window.matchMedia('(min-width: 500px)'); media.addListener(function(data) { alert('matches: ' + data.matches); });