Skip to content

Instantly share code, notes, and snippets.

@backflip
Created March 15, 2012 15:10
Show Gist options
  • Save backflip/2044712 to your computer and use it in GitHub Desktop.
Save backflip/2044712 to your computer and use it in GitHub Desktop.
Dropbox: Copy Public Gallery Link
/**
* On iOS there does not seem to be a way to get the public link of a photo gallery
* (See e.g. http://forums.dropbox.com/topic.php?id=22313)
*
* Using the following code as a bookmarklet when visiting the corresponding page
* puts the correct URL into the address bar where you can copy it.
*
* More on JavaScript bookmarklets on iOS: http://joshjustice.com/bookmarklets.html
*/
javascript:(function(d){d.location.href=d.getElementById('photo-input').value})(document);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment