-
-
Save phoenixg/6987400 to your computer and use it in GitHub Desktop.
获取QQ群成员QQ号和昵称列表
This file contains hidden or 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
var ids = document.querySelectorAll(".member_id"); | |
var names = document.querySelectorAll(".member_name"); | |
var output = "", length = ids.length; | |
for(var i=0; i<length; i++){ | |
output += ids[i].innerHTML.slice(1,-1) + ":" + names[i].innerHTML + "\n"; | |
} | |
console.log(output); | |
// visit: | |
// http://qun.qzone.qq.com | |
// eg. http://qun.qzone.qq.com/group#!/88250111/member |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现在不行了吧,看不到了