Skip to content

Instantly share code, notes, and snippets.

View cuylerstuwe's full-sized avatar
Drinking covfefe.

Cuyler Stuwe cuylerstuwe

Drinking covfefe.
View GitHub Profile
// ==UserScript==
// @name Web Panda Ham
// @namespace salembeats
// @version 1.4
// @description Single-GID ham cycler. Speed and low SLOC.
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/requesters/pandaHamHandler*
// @include https://worker.mturk.com/requesters/registerPandaHam
// @grant GM_xmlhttpRequest
// @connect worker.mturk.com
// ==UserScript==
// @name fCC Formatting
// @namespace http://tampermonkey.net/
// @version 2.1
// @description Prettier, customized formatting on fCC. (By default, prefer Operator Mono Light or Fira Code Light if installed over the fCC default).
// @author Cuyler Stuwe
// @include https://www.freecodecamp.org/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name Simple Panda Crazy Helper web+panda:// Handler (Unofficial Proof of Concept)
// @namespace salembeats
// @version 3.4
// @description Unofficial web+panda:// handler for Panda Crazy, implemented as a working proof of concept. Latest update: Changed from GreasyFork import to GitHub Gist import.
// @author Cuyler Stuwe (salembeats)
// @include *worker.mturk.com/registerPCHwebpanda
// @include *worker.mturk.com/handlePCHwebpanda*
// @grant window.close
// @require https://gist.github.com/salembeats/3b5c664709dd46f41ac2d4ad740bf02b/raw/e9e666adc3cb9a5e273c4681dbbbedf115e8fc83/panda-crazy-helper-emulation.library.user.js
// ==UserScript==
// @name Hit Scraper Fix (for JSON issue)
// @namespace salembeats
// @version 1
// @description .
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/hitScraper
// @include https://worker.mturk.com/hit_scraper
// @include https://www.mturk.com/hit-scraper
// @include https://www.mturk.com/mturk/findhits?match=true&hit_scraper/
// ==UserScript==
// @name Web Panda Default Handler
// @namespace salembeats
// @version 11.0
// @description Latest update: Fixed the value in the "survey accepted" notification so that it always uses 2 decimal places for the cents value.
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/requesters/handleWebPanda*
// @include https://worker.mturk.com/requesters/registerWebPanda
// @grant GM_xmlhttpRequest
// @connect worker.mturk.com
// ==UserScript==
// @name Worker Site Async (Nonblocking) CSS
// @namespace salembeats
// @version 1.1
// @description Trying to make Worker actionable faster.
// @author Cuyler Stuwe (salembeats)
// @include https://worker.mturk.com/*
// @exclude https://worker.mturk.com/overwatch
// @grant none
// ==/UserScript==
var PandaCrazy = (function createPandaCrazy() {
let _lastSentPingTime;
let _lastReceivedPongTime;
let _onlineSinceLastPing;
let _pcListener;
const MAX_WAIT_FOR_PANDA_CRAZY_RESPONSE_MS = 1000;
// ==UserScript==
// @name mTurk Frame->Parent Interface Library
// @namespace salembeats
// @version 5.2
// @description Library to make it easier to send messages to mTurk parent windows from the worker iFrames.
// @author Cuyler Stuwe (salembeats)
// @grant GM_xmlhttpRequest
// @icon http://ez-link.us/sb-png
// ==/UserScript==