MetaFilter number all comments

On MetaFilter.com, adds a comment number like "comment 1 of 30" to each comment.

작성자
Tehhund
일일 설치 수
0
총 설치 수
30
평점
0 0 0
버전
17
생성일
2019-08-12
갱신일
2023-01-18
크기
2.57KB
라이선스
해당 없음
적용 사이트

Updated to work with a change to MetaFilter's HTML. Used to use

divToHighlight.lastChild.innerHTML += '<span class=\'tehhundUserScriptCommentCount\'>Comment ' + (i+1) + ' of ' + allCommentDivs.length + '. </span>';

now uses

divToHighlight.querySelector('.smallcopy').innerHTML += '<span class=\'tehhundUserScriptCommentCount\'>Comment ' + (i+1) + ' of ' + allCommentDivs.length + '. </span>';