Created
September 26, 2013 07:53
-
-
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.
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
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