+ <a style="color: black; text-decoration: none; padding: 20px; background-color: lightgray; text-align: center; border-radius: 25px;" href="javascript:/* TypeCheat - A JS script to cheat on certain online typing tests Copyright (C) 2020 hackermancool This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ var tText,tWords,cWord,tField,workWord,url=window.location.href.split("/")[2].replace("www.",""),site=-1,altMode=0;switch(url){case"10fastfingers.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: 10FastFingers\n~~~~~~~~~~~~~~~~~~~"),site=0,"text"==window.location.href.split("/")[3]&&(altMode=1);break;case"typeracer.com":case"play.typeracer.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: TypeRacer\n~~~~~~~~~~~~~~~~~~~"),site=1;break;case"typingtestnow.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: TypingTestNow\n~~~~~~~~~~~~~~~~~~~"),site=2;break;case"bing.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: Bing Test\n~~~~~~~~~~~~~~~~~~~"),site=3;break;case"livechatinc.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: LiveChat Inc\n~~~~~~~~~~~~~~~~~~~"),site=4;break;case"quicktypingtest.com":console.log(" ~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: QuickTypingTest\n ~~~~~~~~~~~~~~~~~~~"),site=5;break;case"typing-speed-test.aoeu.eu":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: AOEU Test\n~~~~~~~~~~~~~~~~~~~"),site=6;break;case"indiatyping.com":console.log("~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: India Typing\n~~~~~~~~~~~~~~~~~~~"),site=7}switch(site){case 0:tText=document.getElementById("row1"),tWords=[];for(var i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);tField=null,(cWord=0)==altMode?tField=document.getElementById("inputfield"):1==altMode&&(tField=document.getElementById("text_typed")),tField.addEventListener("keyup",function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 1:tText=document.querySelector("#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(1) > td"),tWords=tText.innerText.split(" "),cWord=0,(tField=document.querySelector("#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(2) > td > input")).addEventListener("keydown",function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 2:tText=document.getElementsByClassName("sample-text")[0],tWords=[];for(i=0;i<tText.children.length;i++)for(var j=0;j<tText.children[i].children.length;j++)tWords.push(tText.children[i].children[j].innerText);cWord=0,(tField=document.getElementById("practice-input")).addEventListener("keydown",function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 3:tText=document.getElementById("edu_promptText"),tWords=[],workWord="";for(i=0;i<tText.children.length;i++)for(j=0;j<tText.children[i].children.length;j++)"space"==tText.children[i].children[j].className?(tWords.push(workWord),workWord=""):workWord+=tText.children[i].children[j].innerText;cWord=0,(tField=document.getElementById("edu_inputText")).addEventListener("keydown",function(e){32==e.keyCode&&(tField.value+=tWords[cWord],cWord++)});break;case 4:tText=document.getElementsByClassName("test-prompt")[0],tWords=[];for(i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);cWord=0,(tField=document.getElementById("test-input")).addEventListener("keydown",function(e){32==e.keyCode&&(tField.innerText=tWords[cWord],cWord++,tText.lastChild.innerText!=tWords.slice(-1)&&tWords.push(tText.lastChild.innerText))});break;case 5:tText=document.querySelector("#text-display"),tWords=[],workWord="";for(i=0;i<tText.children.length;i++){workWord="";for(j=0;j<tText.children[i].children.length;j++)workWord+=tText.children[i].children[j].innerText;tWords.push(workWord)}cWord=0,(tField=document.getElementById("text-input")).addEventListener("keydown",function(e){32==e.keyCode&&(tField.value+=tWords[cWord],cWord++)});break;case 6:tText=document.getElementById("words"),tWords=[];for(i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);cWord=0,(tField=document.getElementById("input")).addEventListener("keyup",function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 7:tText=document.getElementById("blockrandom").contentDocument.getElementById("unicodeText"),tWords=[];for(i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);cWord=0,(tField=document.getElementById("blockrandom").contentDocument.getElementById("toType")).addEventListener("keyup",function(e){32==e.keyCode&&(tField.value+=tWords[cWord],cWord++)})}">TypeCheat</a>
0 commit comments