您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Displays the current queue count above the HIT area.
// ==UserScript== // @name MTurk Queue Count // @author Chet Manley // @version 0.1 // @description Displays the current queue count above the HIT area. // @include https://www.mturk.com/mturk/* // @require http://code.jquery.com/jquery-latest.min.js // @grant none // @namespace https://gf.qytechs.cn/users/6438 // ==/UserScript== // Displays the current queue count above the HIT area. $(document).ready(function () { console.log('AMT Tools Queue Count loaded'); var myHITsURL = 'https://www.mturk.com/mturk/myhits'; var queueCount = ''; var HITsRemainingStr = ' HITs remaining'; $.ajax({ async: false, type: 'GET', url: myHITsURL, success: function (data) { queueCount = $('.title_orange_text', $(data)).text().trim(); } }); if (queueCount.length) { queueCount = queueCount.split(' of ')[1]; queueCount = queueCount.split(' ')[0]; if (parseInt(queueCount) == 1) { HITsRemainingStr = ' HIT remaining'; } } else { HITsRemainingStr = 'Your queue is empty'; } var queueCountStr = queueCount + HITsRemainingStr; $('#theTime').parent().parent().parent().append('< tr><td align="left" valign="top" class="title_orange_text" nowrap="" style="padding-top: 3px; padding-left: 5px;"><b>Queue:</b> <span>' + queueCountStr + '</span></td></tr>'); });
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址