Skip to content

Instantly share code, notes, and snippets.

@fupslot
Created June 13, 2016 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fupslot/d9fd66ca48e4003974d06aad6bb59139 to your computer and use it in GitHub Desktop.
Save fupslot/d9fd66ca48e4003974d06aad6bb59139 to your computer and use it in GitHub Desktop.
// returns an array of src values for an currently selected element
copy([].slice.call($0.querySelectorAll('img')).map(function(el){ return el.getAttribute('src'); }))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment