Skip to content

Instantly share code, notes, and snippets.

View brandonhellman's full-sized avatar

Brandon Hellman brandonhellman

View GitHub Profile
@brandonhellman
brandonhellman / Block & Include List Converter | HIT Scraper to HIT Finder
Last active February 23, 2017 01:38
Copy the code below into the console on any https://www.mturk.com/ page and hit enter. This will print out your HIT Scraper block and include list formatted for Mturk Suite - HIT Finder.
const MTS_BL = {}, MTS_IL = {};
const BL = localStorage.getItem(`scraper_ignore_list`).split(`^`);
const IL = localStorage.getItem(`scraper_include_list`).split(`^`);
for (let i = 0; i < BL.length; i ++) {
MTS_BL[BL[i]] = {
term: BL[i],
name: BL[i]
};
}
// ==UserScript==
// @name Favicon Alert
// @namespace https://github.com/Kadauchi/
// @version 1.0.2
// @description blank
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include http://www.mturkcrowd.com/*
// @include https://turkerhub.com/*
// @grant GM_log
@brandonhellman
brandonhellman / HITDB Force Date Scrape
Last active March 13, 2017 21:32
Makes HITDB scrape the date you choose. Useful for when you had rejections overturned but HITDB won't scrape that date to update. Paste in console, change date (be sure to follow the format), then hit enter.
const date = `MMDDYYYY`;
const fetchData = JSON.parse(localStorage.getItem(`hitdb_fetchData`) || `{}`);
fetchData[date] = {submitted: 1, pending: 1};
localStorage.setItem(`hitdb_fetchData`, JSON.stringify(fetchData));
// ==UserScript==
// @name HIT Export Mod for HIT Catcher
// @namespace https://gist.github.com/Kadauchi
// @version 1.0.1
// @description Adds panda and once links to HIT exports
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include https://turkerhub.com/threads/*
// @include http://www.mturkcrowd.com/threads/*
// ==/UserScript==
// ==UserScript==
// @name Enable Linkedin Copy
// @namespace https://github.com/Kadauchi
// @version 1.0.0
// @description Allows you to copy and paste on linkedin.com
// @author Kadauchi
// @icon http://i.imgur.com/oGRQwPN.png
// @include https://www.linkedin.com/*
// ==/UserScript==
// ==UserScript==
// @name mTurk Slow or Just Me?
// @namespace salembeats
// @version 1.23
// @description UPDATE: Better formatting for box+whisker plot area. NOTE: Requires Kadauchi's "MTurk Dashboard Enhancer" script to function properly.
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/dashboard*
// ==/UserScript==
// Minified, synchronous SHA-256 transform function copied from: http://geraintluff.github.io/sha256/
@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,
}
@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';
// ==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 - 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,
};