typing club hack script const minDelay = 60;const minDelay = 60; const maxDelay = 60; typing club hack script How to get it? typing club hack script const keyOverrides = { [String.fromCharCode(160)]: ' ' // convert hardspace to normal space }; function getTargetCharacters() { typing club hack script How to use it? typing club hack script const els = Array.from(document.querySelectorAll('.token span.token_unit')); const chrs = els .map(el => { // get letter to type from each letter DOM element if (el.firstChild?.classList?.contains('_enter')) { typing club hack script How to get it for free? typing club hack script // special case: ENTER return '\n'; } let text = el.textContent[0]; return text; typing club hack script How to get it? typing club hack script }) .map(c => keyOverrides.hasOwnProperty(c) ? keyOverrides[c] : c); // convert special characters return chrs; } typing club hack script How to get it for free? typing club hack script function recordKey(chr) { // send it straight to the internal API window.core.record_keydown_time(chr); } typing club hack script How to use it? typing club hack script function sleep(ms) { return new Promise(r => setTimeout(r, ms)); } async function autoPlay(finish) { typing club hack script How to dowload it? typing club hack script const chrs = getTargetCharacters(); for (let i = 0; i < chrs.length - (!finish); ++i) { const c = chrs[i]; recordKey(c); //console.log(c, c.charCodeAt()); typing club hack script How to dowload it? typing club hack script await sleep(Math.random() * (maxDelay - minDelay) + minDelay); } } // ############################################################################################################ typing club hack script How to get it for free? typing club hack script // old utilities // ############################################################################################################ // /** typing club hack script PasteShr typing club hack script // * @see https://stackoverflow.com/questions/8942678/keyboardevent-in-chrome-keycode-is-0/12522752#12522752 // */ // function simulateKey(chr, el) { // _simulateKey(chr, 'keydown', el); // _simulateKey(chr, 'keypress', el); typing club hack script How to get it for free? typing club hack script // } // function _simulateKey(chr, type, el) { // var eventObj = document.createEventObject ? // document.createEventObject() : document.createEvent("Events"); typing club hack script How to use it? typing club hack script // if (eventObj.initEvent) { // eventObj.initEvent(type || "keydown", true, true); // } // let keyCode = chr.charCodeAt(0); typing club hack script PasteShr typing club hack script // eventObj.key = chr[0]; // eventObj.keyCode = keyCode; // eventObj.which = keyCode; // eventObj.isTrusted = true; typing club hack script How to get it for free? typing club hack script // el = el || document.body; // // console.log(keyCode, eventObj); typing club hack script How to use it? typing club hack script // el.dispatchEvent ? el.dispatchEvent(eventObj) : el.fireEvent("onkeydown", eventObj); // } // document.addEventListener("keydown", function (e) { // console.log('down', e); typing club hack script How to dowload it? typing club hack script // }); // document.addEventListener("keypress", function (e) { // console.log('press', e); // }); //$($('.menu-btn')[0].parentNode).prepend(''); typing club hack script How to get it? typing club hack script // simulateKey('a', $('input')[0]); // ############################################################################################################ typing club hack script How to get it for free? typing club hack script // go! // ############################################################################################################ autoPlay(true); typing club hack script