您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Displays the total reward value of the HITs on your current HITs Assigned To You page.
// ==UserScript== // @name Queue Total Value // @namespace https://kadabot.com/ // @version 1.1.0 // @description Displays the total reward value of the HITs on your current HITs Assigned To You page. // @author Kadauchi // @icon http://i.imgur.com/oGRQwPN.png // @include /^https://www\.mturk\.com/mturk/(myhits|sortmyhits|return)/ // @grant GM_log // @require https://code.jquery.com/jquery-3.1.1.min.js // ==/UserScript== if ($('a[href*="myhits"][class="nonboldsubnavclass"]').length) { var total = 0; var $reward = $(".reward"); for (var i = 0; i < $reward.length; i++) { total += Number($reward.eq(i).text().trim().replace(/[^0-9.]/g, '')); } $('.title_orange_text_bold').text('HITs - Queue Value: $' + total.toFixed(2)); }