resize browser refresh page code example Example: jquery force page to reload on viewport resize $(window).resize(function(){location.reload();});