Download-File-JS icon indicating copy to clipboard operation
Download-File-JS copied to clipboard

The code on this page disabled back and forward caching.

Open rooksFX opened this issue 8 years ago • 2 comments

I tried the demo page and change the sUrl on the fly with a random image I found in Google. Instead of downloading the file, the page was redirected to the file and display the image in the page. I'm getting something from my console though.. "The code on this page disabled back and forward caching." Any idea how to deal with this issue?

rooksFX avatar Apr 19 '17 07:04 rooksFX

Can you share your code to test?

ghost avatar Apr 19 '17 22:04 ghost

I actually just ran the downloadFile() function in console of dev tools in IE and passed a random image from Google while in the demo page. The thing is, the code below works fine in Chrome and Firefox.

downloadFile('http://imagescdn.tweaktown.com/news/5/6/56946_06_asus-teases-new-gtx-1080-ti-rog-poseidon.jpg');

rooksFX avatar Apr 20 '17 00:04 rooksFX