im sorry if there's already topic of this but
have been wondering if there's any plan to make a shortcut to download an image [original size] by using keyboard button such as shift + D or anything else
Posted under General
This seems impossible to do through JavaScript alone - https://stackoverflow.com/questions/5192917/force-download-through-js-or-query
Hotkey to open a full-size image in a new tab is one thing, but forcing the browser to immediately download it would require server-side page dedicated to this purpose.
It is possible with JavaScript alone (and the help of the HTML5 download attribute):
download = document.createElement("a"); download.setAttribute("download",""); download.setAttribute("href","https://danbooru.donmai.us/data/a68430f82f2877b1eb43a9abed73e6fa.png"); download.setAttribute("style","display:none"); document.body.appendChild(download).click();
Some notes:
See also:
Of course the above code would have to be either added as site feature or adapted into an userscript.