Created
July 11, 2024 11:55
-
-
Save rogerthomas84/0c1a32997f9b9d9af34c7788c10bb1ab to your computer and use it in GitHub Desktop.
Save all skipped creations in Google Photos
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
// You should be using the web app for this. Open developer tools, navigate to console, and paste this. | |
// Then press enter. It'll take a while! If you've got many unsaved creations, I'd suggest doing a page at a time | |
// by not scrolling down the page too far. | |
let spanSave = document.querySelectorAll('span'); | |
spanSave.forEach(function(span){ | |
if(span.textContent === 'Save'){ | |
let parentButton = span.parentElement; | |
parentButton.click(); | |
span.style.color = 'red'; | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment