title: Detecting WebP support
body: <p>How can I detect support for WebP via Javascript? I'd like to use feature detection rather than browser detection if possible, but I can't find a way to do so. Modernizr (<a href="http://www.modernizr.com" rel="noreferrer">www.modernizr.com</a>) doesn't check for it.</p>