Go to empty queue

Goes to the empty queue page after you have fininshed all assigned tasks

目前為 2017-06-01 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name Go to empty queue
  3. // @namespace https://github.com/Kadauchi
  4. // @version 1.0.0
  5. // @description Goes to the empty queue page after you have fininshed all assigned tasks
  6. // @author Kadauchi
  7. // @icon http://i.imgur.com/oGRQwPN.png
  8. // @include https://worker.mturk.com/
  9. // @require http://code.jquery.com/jquery-3.2.1.min.js
  10. // ==/UserScript==
  11.  
  12. const submitted = $(`.mturk-alert-content:contains(The HIT has been successfully submitted.)`);
  13. if (submitted) window.location.href = `https://worker.mturk.com/tasks`;