Skip to content

Instantly share code, notes, and snippets.

@Thann
Created June 29, 2020 23:29
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 Thann/d07319745cc83f607d4dcd99378ea4a0 to your computer and use it in GitHub Desktop.
Save Thann/d07319745cc83f607d4dcd99378ea4a0 to your computer and use it in GitHub Desktop.
Auto-mosh bookmarklet
// One-liner to auto-mosh on photomosh.com
// Save this as the 'url' in a new bookmark and get moshing!
javascript:(function(){if (window.location.host != 'photomosh.com') window.location = 'https://photomosh.com'; else if (window.mosh) { clearInterval(window.mosh); window.mosh = 0; } else { var m = function(){document.getElementById('btn-mosh').click()}; window.mosh = setInterval(m, 5000); m();}})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment