We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
m-go
6 years agoHelpful | Level 6
Bulk delete shared links
I just found that deleting all the shared links that accumulate over time isn't that easy. In fact, I have to click on each one's ellipsis and then click again on "Delete". Imagine the fun I had for ...
Steve S.86
5 years agoHelpful | Level 6
"It's funny that..."...no it is not funny at all, it's unbelievable.
Still, as per the previous post, why is this hack even necessary???
Are there so few developers in Dropbox that there is no-one to put a "Check All" checkbox??
Are they all so busy inventing new collaborative features that no-one is asking for??
I note that in the referenced thread, the jquery version worked, but not the pure javascript version posted later, as the ids and classes appear to have changed in the page.
greghaygood
4 years agoNew member | Level 2
Here's an updated snippet of code that works with the current UI:
var list = document.querySelectorAll('#links-list .mc-popover-trigger')
for( var index = 0; index < list.length; index++ )
{
var popup = list[index]
popup.click()
var deleteLink = document.querySelector('.delete-link')
if (deleteLink) {
deleteLink.click()
document.getElementsByClassName( "button-primary dbmodal-button" )[0].click();
}
}
About Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
Need More Support
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!