Skip to content

Instantly share code, notes, and snippets.

@rogerthomas84
Created July 11, 2024 11:55
Show Gist options
  • Save rogerthomas84/0c1a32997f9b9d9af34c7788c10bb1ab to your computer and use it in GitHub Desktop.
Save rogerthomas84/0c1a32997f9b9d9af34c7788c10bb1ab to your computer and use it in GitHub Desktop.
Save all skipped creations in Google Photos
// 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