rndme / download

file downloading using client-side javascript
MIT License
2.29k stars 417 forks source link

Access-Control-Allow-Origin issue #35

Closed pengfu closed 8 years ago

pengfu commented 8 years ago

When I used it in my project ,I got an issue as the picture says. image

rndme commented 8 years ago

At some point about a year ago, maybe two, browsers stopped letting you use the download attrib on links to 3rd party domains. We can't use ajax either, so i'm afraid there is no client-side downloader solution for that. Enable cors, proxy the picture on your server, or instruct the user to right-click>save image...