Last active
March 27, 2020 14:10
-
-
Save stishenok/9f06e873a45a6f9db736ee8a62fb5084 to your computer and use it in GitHub Desktop.
Yandex Disk - Get all links for just uploaded files
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
var buttons = document.querySelectorAll('.listing-item_type_file'); | |
buttons.forEach(function(fileButton) { | |
fileButton.click(); | |
var shareButton = document.querySelector('.ufo-resources-action-bar__primary-button_action_publish'); | |
shareButton.click(); | |
fileButton.click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment