Created
July 6, 2016 16:52
-
-
Save benpage26/f9ca98a317660ab99aa3f8ea223b2051 to your computer and use it in GitHub Desktop.
remove all dropbox public links
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
# Using chrome dev tools at https://www.dropbox.com/links/your_links run: | |
$x('//a[@class="remove-link"]').each( function(x) { | |
x.click() | |
$x('//button[text()="Delete link"]')[0].click() | |
}) | |
$$('#links-list .mc-popover-trigger').forEach(n=>{
console.log('delete',n);
n.click();
$('.delete-link').click()
$('.button-primary').click()
});
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firefox console gives the following. Any tips?
TypeError: $x(...).each is not a function