Skip to content

Instantly share code, notes, and snippets.

@nathanielbd
nathanielbd / skribbl.js
Last active June 13, 2020 05:19
Scripts for trolling on skribbl.io
// guess from a database of words by matching regex
// CTRL-SHIFT-i, copy-paste into console, press `ENTER`:
// ---BEGIN---
var guesser = null;
function cheat() {
var url = "https://skribbliohints.github.io/words.json";
var guesses = [];
var i = 0;
fetch(url)
.then(res => res.json())
@nathanielbd
nathanielbd / typeracer.js
Created June 8, 2020 23:25
Script for trolling on typeracer.com
var unselectables = document.querySelectorAll("[unselectable='on']");
var text;
for (var i = 0; i < unselectables.length; i++) {
text += unselectables[i].textContent;
}
text = text.replace("undefined", "");
var j = 0;
document.querySelector(".txtInput").addEventListener("mousemove", function() {
document.querySelector(".txtInput").value += text[j];
j++;