HITs in Queue Link on MTurk Dashboard

Adds a link to your HITs queue onto your dashboard (both the new and old worker sites) on MTurk.

当前为 2017-10-06 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name HITs in Queue Link on MTurk Dashboard
  3. // @namespace https://greasyfork.org/en/users/150063-trickydude24
  4. // @description Adds a link to your HITs queue onto your dashboard (both the new and old worker sites) on MTurk.
  5. // @author Trickydude24
  6. // @version 1.2
  7. // @match https://worker.mturk.com/dashboard*
  8. // @match https://www.mturk.com/mturk/dashboard*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. if (/^https?:\/\/(www\.)?worker\.mturk\.com\/dashboard.*/.test(location.href)) {
  13. $(".nav.navbar-nav.hidden-xs-down").append('<li class="nav-item"><a class="nav-link" href="https://worker.mturk.com/tasks">HITs Queue</a></li>');
  14. }
  15. else if (/^https?:\/\/(www\.)?mturk\.com\/mturk\/dashboard.*/.test(location.href)) {
  16. var theDiv = document.getElementById('subtabs');
  17. theDiv.innerHTML += '<span class="almostblack_text">&nbsp;|&nbsp;</span><a href="/mturk/myhits" class="subnavclass">HITs Queue</a>';
  18. }