Skip to content

Instantly share code, notes, and snippets.

@nbriz
Last active February 27, 2018 15:46
Show Gist options
  • Save nbriz/46db7bf9a439bc874ed1 to your computer and use it in GitHub Desktop.
Save nbriz/46db7bf9a439bc874ed1 to your computer and use it in GitHub Desktop.
onlyLargePhotos.js
var imgHTML = [];
var imgs = document.querySelectorAll(".fbPhotoStarGridElement");
imgs.forEach((el, i)=>{
imgHTML.push('<img src="'+el.getAttribute('data-starred-src')+'">');
});
document.body.innerHTML = imgHTML;
@nbriz
Copy link
Author

nbriz commented Feb 27, 2018

updated w/new code by @ffd8 (Ted Davis) Feb 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment