Greasy Fork

Shined up real nice.

Greasy Fork is available in English.

Panda Crazy Helper Emulation

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

Этот скрипт недоступен для установки пользователем. Он является библиотекой, которая подключается к другим скриптам мета-ключом // @require https://greasyfork.org/scripts/36173-panda-crazy-helper-emulation/code/Panda%20Crazy%20Helper%20Emulation.js?version=243586

Реклама
Автор
Salem Beats
Оценки
0 0 0
Версия
0.0.1.20180115211447
Создан
Обновлён
Лицензия
Недоступно
Работает на
Все сайты

Описание скрипта от автора

Usage

Main Object

PandaCrazy

Methods

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.

online( )

Pings for Panda Crazy and returns a promise that will either resolve or reject within a set timeout (currently 5 seconds) depending on whether Panda Crazy is detected as online within the same browser and profile or not.