Created
December 5, 2015 05:19
-
-
Save mgiuffrida/b234fb9e9e141d2c90e5 to your computer and use it in GitHub Desktop.
codingame.com irc auto-scroll
This file contains hidden or 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
setInterval(function() { if (document.activeElement.tagName == 'BODY') return; var a = document.querySelectorAll('.ircwindow')[0]; if (a) a.scrollTop = Number.MAX_VALUE; }, 200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment