function downloadStuff(theLink) { var link = document.createElement(\'a\'); link.href = theLink link.download = \'Download\'; document.body.appendChild(link)