C.M. Posted January 12, 2020 Share Posted January 12, 2020 Script for automatically opening a chest with points on Twitch channels. function clickBonusChest() { var button = document .getElementsByClassName("community-points-summary")[0] .getElementsByClassName("tw-full-height tw-relative tw-z-above")[0] .getElementsByTagName('button')[0]; if (button) { button.click() } } setInterval(clickBonusChest, 500); You could use it from developers console in browser (CTRL+SHIFT+J) or in any addon which allows you to run custom JS on visited websites. Link to comment Share on other sites More sharing options...
Recommended Posts