Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.always img').each(function(){
- var $this = $(this);
- console.log($this.attr('src'));
- $this.wrap('<a href="' + $this.attr('src') + '" download />')
- $(this)
- });
- $('.always img').each(function(){
- $(this).trigger('click');
- });
Add Comment
Please, Sign In to add comment