Last active
February 27, 2018 15:46
-
-
Save nbriz/46db7bf9a439bc874ed1 to your computer and use it in GitHub Desktop.
onlyLargePhotos.js
This file contains 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
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 I am getting the same error as Allison and Sean. Is there a fix for this?
And sometimes I get a blank page, anyone could help?
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
Is there any updated version of the script? I only get a blank page when I run it. I'd like to download the photos I'm tagged in before untagging myself with the all inclusive script found at http://nickbriz.com/facebook/unfriend.html