Skip to content
This repository was archived by the owner on Jul 2, 2021. It is now read-only.

Commit ac1515b

Browse files
Added better information on bookmarking TypeCheat and updated a few other things in README.md
1 parent a82ac35 commit ac1515b

File tree

2 files changed

+12
-21
lines changed

2 files changed

+12
-21
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,28 @@ If you go above a certain WPM (not sure exactly what), you will be forced to tak
1616
**If you use TypeCheat too much/at all on 10FastFingers, you will get banned from the site. I recommend using an alternate account for this, as if it's banned you can just delete and re-create it.**
1717

1818
### TypeRacer
19-
If you go moderately fast, you will get a message asking you to do a test to confirm your score.
19+
If you go moderately fast (>100 wpm), you will get a message asking you to do a test to confirm your score.
2020
If you go too fast, an alert box will appear saying that they believe you have cheated.
2121

2222
## Use
2323
### Bookmarks bar
24+
#### No downloads allowed
25+
1. Copy the contents of [`typecheat.min.js`](https://raw.githubusercontent.com/hackermancool/TypeCheat/master/typecheat.min.js)
26+
2. Go to any website that you have not bookmarked
27+
3. Press the bookmark button and ensure that it is saved to your bookmarks bar
28+
4. Press the "More" button
29+
5. Change the url to the contents of `typecheat.min.js`
30+
6. Click the "TypeCheat" bookmark whenever you want to activate TypeCheat.
31+
32+
#### Downloads allowed
2433
1. [Download TypeCheat](https://github.com/hackermancool/TypeCheat/archive/master.zip)
2534
2. Open the `typecheat-bookmark.html` file in whatever browser you'd like.
2635
3. Drag and drop the item labeled "TypeCheat" into your bookmarks bar.
2736
4. Click the bookmark on a supported site, and TypeCheat will activate.
2837

2938
### Copy-paste
3039
0. Ensure that you're on a supported site
31-
1. Copy the contents of [`typecheat.min.js`](https://raw.githubusercontent.com/MysteryBlokHed/TypeCheat/master/typecheat.min.js) or [`typecheat-button.min.js`]. The first will instantly run the code, and the other will create a button to be pressed first.
40+
1. Copy the contents of [`typecheat.min.js`](https://raw.githubusercontent.com/hackermancool/TypeCheat/master/typecheat.min.js) or [`typecheat-button.min.js`](https://raw.githubusercontent.com/hackermancool/TypeCheat/master/typecheat-button.min.js). The first will instantly run the code, and the other will create a button to be pressed first.
3241
2. Open the developer console (Ctrl+Shift+J on Chrome/Chromium Edge)
3342
3. Paste the code and press enter
3443
4. The text box will start to autofill the next words as they appear. Simply press `space` as fast as you would like, and the next words will appear as you do.

typecheat-bookmark.html

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,6 @@
2323
</head>
2424
<body style="font-family: Roboto, Arial, sans-serif;">
2525
<h1>Drag the bookmark below into your bookmarks bar</h1>
26-
<a style="color: black; text-decoration: none; padding: 20px; background-color: lightgray; text-align: center; border-radius: 25px;" href="
27-
javascript:/*
28-
* TypeCheat - A JS script to cheat on certain online typing tests
29-
* Copyright (C) 2020 hackermancool
30-
*
31-
* This program is free software: you can redistribute it and/or modify
32-
* it under the terms of the GNU General Public License as published by
33-
* the Free Software Foundation, either version 3 of the License, or
34-
* (at your option) any later version.
35-
*
36-
* This program is distributed in the hope that it will be useful,
37-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
38-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39-
* GNU General Public License for more details.
40-
*
41-
* You should have received a copy of the GNU General Public License
42-
* along with this program. If not, see <https://www.gnu.org/licenses/>.
43-
*/
44-
var tText,tWords,cWord,tField,url=window.location.href.split(&quot;/&quot;)[2],site=-1,altMode=0;switch(&quot;10fastfingers.com&quot;==url||&quot;www.10fastfingers.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: 10FastFingers\n~~~~~~~~~~~~~~~~~~~&quot;),site=0,&quot;text&quot;==window.location.href.split(&quot;/&quot;)[3]&&(altMode=1)):&quot;play.typeracer.com&quot;==url||&quot;typeracer.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: TypeRacer\n~~~~~~~~~~~~~~~~~~~&quot;),site=1):&quot;typingtestnow.com&quot;==url||&quot;www.typingtestnow.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: TypingTestNow\n~~~~~~~~~~~~~~~~~~~&quot;),site=2):&quot;www.bing.com&quot;!=url&&&quot;bing.com&quot;!=url||(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: Bing Test\n~~~~~~~~~~~~~~~~~~~&quot;),site=3),site){case 0:tText=document.getElementById(&quot;row1&quot;),tWords=[];for(var i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);tField=null,(cWord=0)==altMode?tField=document.getElementById(&quot;inputfield&quot;):1==altMode&&(tField=document.getElementById(&quot;text_typed&quot;)),tField.addEventListener(&quot;keyup&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 1:tText=document.querySelector(&quot;#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(1) > td&quot;),tWords=tText.innerText.split(&quot; &quot;),cWord=0,(tField=document.querySelector(&quot;#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(2) > td > input&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 2:tText=document.getElementsByClassName(&quot;sample-text&quot;)[0],tWords=[];for(i=0;i<tText.children.length;i++)for(var j=0;j<tText.children[i].children.length;j++)words.push(tText.children[i].children[j].innerText);cWord=0,(tField=document.getElementById(&quot;practice-input&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 3:tText=document.getElementById(&quot;edu_promptText&quot;),tWords=[];var workWord=&quot;&quot;;for(i=0;i<tText.children.length;i++)for(j=0;j<tText.children[i].children.length;j++)&quot;space&quot;==tText.children[i].children[j].className?(tWords.push(workWord),workWord=&quot;&quot;):workWord+=tText.children[i].children[j].innerText;cWord=0,(tField=document.getElementById(&quot;edu_inputText&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value+=tWords[cWord],cWord++)})}">TypeCheat</a>
26+
<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,url=window.location.href.split(&quot;/&quot;)[2],site=-1,altMode=0;switch(&quot;10fastfingers.com&quot;==url||&quot;www.10fastfingers.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: 10FastFingers\n~~~~~~~~~~~~~~~~~~~&quot;),site=0,&quot;text&quot;==window.location.href.split(&quot;/&quot;)[3]&&(altMode=1)):&quot;play.typeracer.com&quot;==url||&quot;typeracer.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite:TypeRacer\n~~~~~~~~~~~~~~~~~~~&quot;),site=1):&quot;typingtestnow.com&quot;==url||&quot;www.typingtestnow.com&quot;==url?(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite: TypingTestNow\n~~~~~~~~~~~~~~~~~~~&quot;),site=2):&quot;www.bing.com&quot;!=url&&&quot;bing.com&quot;!=url||(console.log(&quot;~~~~~~~~~~~~~~~~~~~\n TypeCheat Active! \nSite:Bing Test\n~~~~~~~~~~~~~~~~~~~&quot;),site=3),site){case 0:tText=document.getElementById(&quot;row1&quot;),tWords=[];for(var i=0;i<tText.children.length;i++)tWords.push(tText.children[i].innerText);tField=null,(cWord=0)==altMode?tField=document.getElementById(&quot;inputfield&quot;):1==altMode&&(tField=document.getElementById(&quot;text_typed&quot;)),tField.addEventListener(&quot;keyup&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 1:tText=document.querySelector(&quot;#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(1) > td > table > tbody > tr:nth-child(1) > td&quot;),tWords=tText.innerText.split(&quot; &quot;),cWord=0,(tField=document.querySelector(&quot;#gwt-uid-15 > table > tbody > tr:nth-child(2) > td > table > tbody > tr:nth-child(2) > td > input&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 2:tText=document.getElementsByClassName(&quot;sample-text&quot;)[0],tWords=[];for(i=0;i<tText.children.length;i++)for(var j=0;j<tText.children[i].children.length;j++)words.push(tText.children[i].children[j].innerText);cWord=0,(tField=document.getElementById(&quot;practice-input&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value=tWords[cWord],cWord++)});break;case 3:tText=document.getElementById(&quot;edu_promptText&quot;),tWords=[];var workWord=&quot;&quot;;for(i=0;i<tText.children.length;i++)for(j=0;j<tText.children[i].children.length;j++)&quot;space&quot;==tText.children[i].children[j].className?(tWords.push(workWord),workWord=&quot;&quot;):workWord+=tText.children[i].children[j].innerText;cWord=0,(tField=document.getElementById(&quot;edu_inputText&quot;)).addEventListener(&quot;keydown&quot;,function(e){32==e.keyCode&&(tField.value+=tWords[cWord],cWord++)})}">TypeCheat</a>
4527
</body>
4628
</html>

0 commit comments

Comments
 (0)