One of the new features implemented in HTML5 is the download attribute for anchor tags. The benefit of this attribute is that it gives users the means to downlo
download
Use the Modernizr approach: create the element, and check if the attribute is defined:
var a = document.createElement('a'); if (typeof a.download != "undefined") { alert('has support'); }