Skip to content

Instantly share code, notes, and snippets.

@matthewmayer
Forked from anonymous/gist:4442268
Last active December 10, 2015 13:38
Show Gist options
  • Save matthewmayer/4442272 to your computer and use it in GitHub Desktop.
Save matthewmayer/4442272 to your computer and use it in GitHub Desktop.
Export list of UDIDs and device names from https://developer.apple.com/ios/manage/devices/index.action
var tds = document.getElementsByTagName("td"); for (var i=0;i<tds.length;i++) {var td = tds[i]; if (td.attributes["title"]) {var name = td.parentNode.getElementsByClassName("name")[0].getElementsByTagName("span")[0].firstChild.nodeValue; console.log(td.attributes["title"].nodeValue+","+name);}}
@matthewmayer
Copy link
Author

paste into chrome developer tools console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment