Last active
November 2, 2015 18:00
-
-
Save alash3al/a416db7a7fa519ffd74a to your computer and use it in GitHub Desktop.
just run it in the console, and the browser will show you the download dialog
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// copy & paste in the browser console "F12" and press ENTER | |
// then the browser will show you the download dialog | |
// this script makes use of HTML5 'download' attribute | |
// by Mohammed Al Ashaal <www.alash3al.xyz> | |
(function(){ | |
dl = document.createElement("a") | |
dl.href = window.location | |
dl.download = "" | |
dl.click() | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment