ArchDaily bookmarklet

ArchDaily Downloader (this is a bookmarklet - instructions below)

about

This bookmarklet allows you to download images from ArchDaily in one click. Huge thanks to Vivek Jain for developing the code!

How to use:

  1. Drag the ArchDaily Downloader bookmarklet to your bookmarks bar (or add bookmark).

  2. Open an image in ArchDaily in slideshow mode (so you only see one image at a time)
  3. Click on the bookmarklet you added from step (1).

Code:

Javascript:
! function() {
    downloadFile = function(e) {
        if (downloadFile.isChrome || downloadFile.isSafari) {
            var o = document.createElement("a");
            if (o.href = e, void 0 !== o.download && (o.setAttribute("download", "")), document.createEvent) {
                var n = document.createEvent("MouseEvents");
                return n.initEvent("click", !0, !0), o.dispatchEvent(n), !0
            }
        }
        window.open(e)
    }, downloadFile.isChrome = navigator.userAgent.toLowerCase().indexOf("chrome") > -1, downloadFile.isSafari = navigator.userAgent.toLowerCase().indexOf("safari") > -1, downloadFile($("#current_image").attr("src"))
}();