Skip to content

Instantly share code, notes, and snippets.

View DennisdeBest's full-sized avatar

Dennis de Best DennisdeBest

View GitHub Profile
@DennisdeBest
DennisdeBest / script.js
Last active October 15, 2023 12:51
Human Benchmark Number Test GreaseMonkey Script
// ==UserScript==
// @name HumanBenchmark number
// @version 1
// @grant none
// @match https://humanbenchmark.com/tests/number-memory
// ==/UserScript==
const getParentDiv = () => {
const $parentDivs = document.getElementsByClassName('number-memory-test');
if ($parentDivs.length === 0) {
@DennisdeBest
DennisdeBest / script.js
Created October 15, 2023 12:52
Human Benchmark WPM
// ==UserScript==
// @name Human benchmark typing
// @version 1
// @grant none
// @match https://humanbenchmark.com/tests/typing
// ==/UserScript==
const typeText = async (text, targetDiv) => {
for (const ch of text) {