NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name TwitchWoWnik_pointsAutoGetter // @namespace https://www.twitch.tv/wownik // @version 0.2 // @description Auto click on the points // @copyright 2019, WoWnik (https://openuserjs.org/users/WoWnik) // @author WoWnik // @license MIT // @match https://www.twitch.tv/* // @grant none // ==/UserScript== // ==OpenUserJS== // @author WoWnik // ==/OpenUserJS== (function() { 'use strict'; var chestClick = function(){ var chest = document.querySelector('path[d="M16.503 3.257L18 7v11H2V7l1.497-3.743A2 2 0 015.354 2h9.292a2 2 0 011.857 1.257zM5.354 4h9.292l1.2 3H4.154l1.2-3zM4 9v7h12V9h-3v4H7V9H4zm7 0v2H9V9h2z"]'); if (chest){ try{ var but = chest.parentElement.parentElement.parentElement.click(); }catch(e){ } } setTimeout(chestClick, 1000); } chestClick(); })();