QQ群成员管理

需求:自动勾选【入群时间】与【最后发言】时间相同的19位成员。
步骤
1、排序:点击【最后发言↑】
2、加人:默认情况下列表中只有20人,因此向下拖滚动条,增加列表中显示人数
3、代码:按【F12】调出【开发者工具】,在【控制台】中粘贴下列代码并回车

{
    let trs = $(".list>tr");
    let count = 0;
    for (let i = 0; i < trs.length && count < 19; i++) {
      if (trs[i].cells[7].outerText === trs[i].cells[9].outerText) {
        trs[i].cells[0].children[0].checked = true;
        count++;
      }
    }
}

你可能感兴趣的:(QQ群成员管理)