Created
          June 16, 2016 05:21 
        
      - 
      
- 
        Save saleehk/c19eea2ca9b54931e5ef5c2bef07191f to your computer and use it in GitHub Desktop. 
    Download images using chrome
  
        
  
    
      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
    
  
  
    
  | $(".download").each(function () { | |
| url = ($(this).attr("href")); | |
| var a = document.createElement('a'); | |
| a.href = url; | |
| a.download = "favicon.png"; | |
| document.body.appendChild(a); | |
| a.click(); | |
| document.body.removeChild(a); | |
| }) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment