Queue Total Value

Displays the total worth of your queue on the current page.

当前为 2016-05-10 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Queue Total Value
  3. // @namespace http://kadauchi.com/
  4. // @version 1.0.1
  5. // @description Displays the total worth of your queue on the current page.
  6. // @author Kadauchi
  7. // @icon http://kadauchi.com/avatar.jpg
  8. // @include https://www.mturk.com/mturk/myhits*
  9. // @include https://www.mturk.com/mturk/sortmyhits?*
  10. // @include https://www.mturk.com/mturk/return?*
  11. // @grant GM_log
  12. // @require https://code.jquery.com/jquery-2.1.4.min.js
  13. // ==/UserScript==
  14.  
  15. if ($("a[href='/mturk/myhits'][class='nonboldsubnavclass']").length){
  16. var total = 0;
  17. var $reward = $(".reward");
  18.  
  19. for (var i = 0; i < $reward.length; i++){
  20. total += Number($reward.eq(i).text().trim().replace(/[^0-9.]/g, ""));
  21. }
  22.  
  23. $(".title_orange_text_bold").after('<td class="title_orange_text_bold">Queue Value: $'+total.toFixed(2)+'</td>');
  24. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址