|
@@ -41,7 +41,7 @@ setInterval(() => {
|
|
|
// 快手
|
|
// 快手
|
|
|
if (document.querySelectorAll('.virt-list__client .comment-cell')[0]) {
|
|
if (document.querySelectorAll('.virt-list__client .comment-cell')[0]) {
|
|
|
let nowMessage = document.querySelectorAll('.virt-list__client .comment-cell')[document.querySelectorAll('.virt-list__client .comment-cell').length - 1]
|
|
let nowMessage = document.querySelectorAll('.virt-list__client .comment-cell')[document.querySelectorAll('.virt-list__client .comment-cell').length - 1]
|
|
|
- let nowText = nowMessage.querySelector('.comment').innerText
|
|
|
|
|
|
|
+ let nowText = nowMessage.innerText
|
|
|
if (window.lastText !== nowText) {
|
|
if (window.lastText !== nowText) {
|
|
|
window.lastText = nowText
|
|
window.lastText = nowText
|
|
|
console.log(nowText)
|
|
console.log(nowText)
|