JS脚本获取开发者后台所有Device

```

var ids = ["Device ID"]; var names = ["Device Name"]; $("td[aria-describedby=grid-table_name]").each(function(){ names.push($(this).html()); }); $("td[aria-describedby=grid-table_deviceNumber]").each(function(){ ids.push($(this).html()); }); var output = ""; for (var index = 0; index < ids.length; index++) { //output += names[index] + "\t" + ids[index] + "\n"; //original output += ids[index] + "\t" + names[index] + "\n"; //post September 2016 } console.log(output);

```

猜你喜欢

转载自www.cnblogs.com/wayne23/p/9019369.html
今日推荐