Last active
December 14, 2023 22:03
-
-
Save tc-imba/b02ac22ca087043e685d8105d94478f8 to your computer and use it in GitHub Desktop.
Bilibili私信找到第一个未回复的人
This file contains 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 container = $(".list-container.ps"); | |
var timer = setInterval( | |
function () { | |
container.scrollTop(container[0].scrollHeight); | |
var notify = container.find(".notify.notify-number"); | |
if (notify) { | |
container.scrollTop(notify[0].top); | |
clearInterval(timer); | |
} | |
}, 100 | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment