Suppose I have url of image like this : https://i.stack.imgur.com/Xdm6l.png
I want to use javascript and store this image to a give location in my local drive without any confirmations or download buttons. I want it to be saved silently.
I'm running javascript in console, not putting the script in the html page
I found a custom developed FileSaver.js, but have I have been unsuccessful in using it