Created
June 4, 2022 21:22
-
-
Save barzamin/0f7dcdb6cf1ca6446a525439758da282 to your computer and use it in GitHub Desktop.
twitch channel point claimer
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
// ==UserScript== | |
// @name channel point claimer | |
// @namespace 3moon | |
// @match https://www.twitch.tv/* | |
// @grant none | |
// @version 1.0 | |
// @author 3moon | |
// @description autoclaim channel points | |
// ==/UserScript== | |
(function() { | |
function run() { | |
setTimeout(function() { | |
var btn = document.querySelector('button[aria-label="Claim Bonus"]'); | |
if (btn !== null) { | |
btn.click(); | |
} | |
run(); | |
}, 1000+2000*Math.random()); | |
} | |
run(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment