Last active
February 13, 2024 10:27
-
-
Save ajitStephen/b1f1d0bb5741705c1c1856da5ce9c491 to your computer and use it in GitHub Desktop.
Messenger Auto Scroll Old Messages
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
// Run this and watch dates you wanna reach | |
var scrollingInterval = setInterval(function () { | |
document.querySelectorAll('.uiScrollableAreaWrap.scrollable')[2].scrollTop = 0; | |
}, 500); | |
// hit this, once you reach | |
clearInterval(scrollingInterval); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment