Skip to content

Instantly share code, notes, and snippets.

@yourivdlans
Created September 26, 2013 07:53
Show Gist options
  • Save yourivdlans/6711092 to your computer and use it in GitHub Desktop.
Save yourivdlans/6711092 to your computer and use it in GitHub Desktop.
I wanted to create a share link to some video's in my dropbox folder. But clicking on 70+ video's is very tedious. Run this in the console to select the video's from the month september, first scroll the video's into view so they a lazily loaded. Change / expand the div id to broaden the selection.
jQuery('#p-m_201309 span').each(function(){
span = jQuery(this)
if ( span.find('.video-overlay').length > 0 ) {
span.trigger('click')
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment