Last active
July 17, 2018 05:13
-
-
Save gamako/1dcec22cd963617075763c916545d6e3 to your computer and use it in GitHub Desktop.
create Apple device list in Apple Developer Site
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
// print Apple Device List (https://developer.apple.com/account/ios/device/iphone) on Chrome Developer Console | |
Array.from({length: $("tr").filter((i,o)=>/^[0-9]+$/.test(o.id)).length}, (v, k) => k).forEach(j=>{var i=j+1;setTimeout(()=>{;$("tr#"+i).click()},100*i);setTimeout(()=>{console.log(""+i+",", ["dd.name","dd.model","dd.deviceNumber"].map((s)=>'"'+$('tr#'+i+'+tr').find(s).text()+'"').join())},50+100*i);}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment