Skip to content

Instantly share code, notes, and snippets.

@barzamin
Created June 4, 2022 21:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barzamin/0f7dcdb6cf1ca6446a525439758da282 to your computer and use it in GitHub Desktop.
Save barzamin/0f7dcdb6cf1ca6446a525439758da282 to your computer and use it in GitHub Desktop.
twitch channel point claimer
// ==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