Greasy Fork

Shined up real nice.

Panda Crazy Helper Emulation

Meant to be @included in other scripts to communicate with Panda Crazy.

As of 2018-01-15 19:07:47 UTC. See the latest version.

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require

Salem Beats
0 0 0
Applies to
All sites

Author's Description


Main Object



addJob ( gid : String, once : Boolean, metadata : Object )

Adds a new job to Panda Crazy (If that job already exists, it will be duplicated as a new job.)

gid: The GID / HIT Set ID of the HIT to add.

once: Whether to collect the HIT only once, or indefinitely.

metadata (optional): {

   hitTitle / title: The title of the HIT,
   requesterName : The name of the requester,
   requesterID / requesterId / rid: The ID of the requester,
   hitValue / pay: The amount the HIT pays in USD, as a number in 0.01 format,
   duration: The duration of the HIT in seconds,
   hitsAvailable: The number of HITs available


startJob ( gid : String )

Starts a job in Panda Crazy if it is already present but not running. NOTE: This behavior is not currently implemented in the current public release of Panda Crazy.

gid: The GID / HIT Set ID of the HIT to start.

ping ( )

Sends a ping message to Panda Crazy, which Panda Crazy will respond to with a pong message if it is running in the same browser and profile.