less than 1 minute read

설정 -> 활동 로그 -> 내게시물

var rows = document.querySelectorAll(“._5ep5 ._42ef”); var msgs = []; for(var i=0,m=rows.length;i<m;i++){ rows[i] if(rows[i].querySelector(‘._39g5’)){ msgs.push(rows[i].querySelector(‘._39g5’).innerHTML+’ : ‘+rows[i].innerText); }else{ msgs.push(‘월 - ‘+rows[i].innerText); }

} console.log(msgs.toString());


🔗original-link

Updated: