Skip to content

Instantly share code, notes, and snippets.

View brandonhellman's full-sized avatar

Brandon Hellman brandonhellman

View GitHub Profile
@brandonhellman
brandonhellman / hitTrackerExporter.js
Created July 5, 2020 22:42
Export HIT Tracker in multiple files instead of one large file
const fileSave = (data, name) => {
const json = JSON.stringify(data);
const save = document.createElement('a');
save.href = window.URL.createObjectURL(new window.Blob([json], { type: 'application/json' }));
save.download = `${name}.json`;
document.body.appendChild(save);
save.click();
document.body.removeChild(save);
// ==UserScript==
// @name Scroll To and Highlight First Empty Radio
// @namespace https://github.com/Kadauchi
// @version 1.0.0
// @description Scrolls to and highlights the first empty radio on a keypress
// @author Kadauchi
// @include *
// ==/UserScript==
const key = '`'; // Go to http://keycode.info/ and press a key to change (you want event.key)
@brandonhellman
brandonhellman / Larger Radio Buttons and Checkboxes.user.js
Created September 10, 2019 23:13
Larger Radio Buttons and Checkboxes
// ==UserScript==
// @name Larger Radio Buttons and Checkboxes
// @version 1.0.0
// @include *
// ==/UserScript==
/* Function that injects CSS rules */
function injectStyles(rule) {
const style = document.createElement('style');
style.type = 'text/css';
// ==UserScript==
// @name Forker Include List For Turkernator
// @namespace https://github.com/Kadauchi
// @version 1.0.1
// @description Does things...
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include https://worker.mturk.com/?hit_forker
// ==/UserScript==
// ==UserScript==
// @name Definitions Check - Find the Company Name from a text string
// @version 1.0.0
// @include hit_set_id:37A2SHHJCAWEP4M3KM5DL9DVF4KKJX
// ==/UserScript==
const input = document.querySelector(`crowd-input`);
input.value = `x`;
input.focus();
@brandonhellman
brandonhellman / Word Counter.user.js
Last active September 16, 2019 07:21
Counts words and characters in all textareas to show them on hover.
// ==UserScript==
// @name Word Counter
// @namespace https://github.com/Kadauchi
// @version 1.0.2
// @description Counts words and characters in all textareas to show them on hover.
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include *
// ==/UserScript==
@brandonhellman
brandonhellman / A9 - Are the items exact?.js
Last active August 4, 2019 00:28
A Turkernator userscript.
// ==UserScript==
// @name A9 - Are the items exact? - Keybinds
// @version 1.0.1
// @include hit_set_id:3NE6EBGK58WRF4Y79I0YPEOFMAE3EQ
// ==/UserScript==
const settings = {
autoSubmit: false,
};
// ==UserScript==
// @name JR Mturk Panda Crazy Helper
// @version 0.3.9-ourhitstop.com-c
// @namespace https://greasyfork.org/users/6406
// @description A script add on for Panda Crazy sending commands to main script.
// @author (JohnnyRS on mturkcrowd.com and mturkgrind.com) [email protected]
// @include http*://worker.mturk.com/*
// @include http*://*mturkcrowd.com/threads/*
// @include http*://*turkerhub.com/threads/*
// @include http*://*mturkforum.com/showthread*
@brandonhellman
brandonhellman / A9 Crosshairs.user.js
Last active October 5, 2018 23:51
Provides crosshairs for A9 HITs.
// ==UserScript==
// @name A9 Crosshairs
// @version 1.0.0
// @author Kadauchi
// @include requester_id:3R8NDUBSF6YFJ09L5IGKXETPSAB4KD
// //@include https://www.mturkcontent.com/dynamic/hit*
// //@include https://s3.amazonaws.com/mturk_bulk/hits/*
// ==/UserScript==
const color = 'red';
@brandonhellman
brandonhellman / Forker to Finder Block List
Created October 3, 2018 16:00
Copy the code below into the console (Ctrl+Shift+J) on any https://worker.mturk.com/ page and hit enter. A file with you block list converted for HIT Finder will be downloaded.
const blForker = JSON.parse(localStorage.getItem('_finder_bl'));
const blFinder = Object.keys(blForker).reduce((acc, key) => ({
...acc,
[key]: {
name: blForker[key].name,
match: blForker[key].term,
strict: true,
term: blForker[key].term,
}