Foresight.js Foresight.js gives webpages the ability to tell if the user’s device is capable of viewing high-resolution images